- 05 Aug, 2022 6 commits
-
-
Joshua Gutow authored
* goals for fixed int * op-node: Fixed integer sizes in the channel header This mainly modifies the channel_frame, but has some knock on effects as the width of some of the fields have been reduced. The channel frame code is also changed more than I expected due to differences in API of working with fixed int vs uvarints in go. Otherwise the code reads very similarly with using Reader/Writer APIs. * op-node: fix frame unmarshal func to return correct err * specs: update frame format specs * Update op-node/rollup/derive/channel_bank_test.go Co-authored-by:
protolambda <proto@protolambda.com> Co-authored-by:
Matthew Slipper <me@matthewslipper.com>
-
Joshua Gutow authored
-
Matthew Slipper authored
Version Packages
-
github-actions[bot] authored
-
Matthew Slipper authored
Develop -> Master
-
Matthew Slipper authored
-
- 04 Aug, 2022 12 commits
-
-
Matthew Slipper authored
Develop -> Master
-
Matthew Slipper authored
Version Packages
-
github-actions[bot] authored
-
Matthew Slipper authored
Develop -> Master
-
Matthew Slipper authored
* proxyd: Add frontend rate limiting To give us more flexibiltiy with rate limiting, proxyd now supports rate limiting of client (frontend) requests in addition to upstream (backend) requests. This PR also gives us the ability to exempt certain user agents/origins from rate limiting. * lint
-
Joshua Gutow authored
* op-node: Use unmetered L1 Attributes Transaction This enables the IsSystemTransaction flag in the L1 Attributes deposit & updates to the latest version of geth. * specs updates * Update specs/deposits.md * feat: bedrock deposit transaction type update * bedrock: update geth dependency * fix(core-utils): bedrock deposit tx encode/decode typescript fixes * feat(packages/contracts-bedrock): update UserDepositTransaction type and encoding to handle isSystemTransaction bool * contracts-bedrock: update differential deposit tx solidity <> js fuzzing * core-utils * contracts-bedrock * contracts-bedrock: fix test * contracts-bedrock: fix differential tests * contracts-bedrock: fix broken test * contracts-bedrock: gas snapshot Co-authored-by:
protolambda <proto@protolambda.com> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Matthew Slipper authored
`no_output_timeout` wasn't being honored because the deposit command produced output on each poll. Instead, use the `timeout` command to kill the process from within the job itself regardless of output.
-
Matthew Slipper authored
* proxyd: Unwrap single RPC batches * Update backend.go
-
Riko authored
Co-authored-by:
Matthew Slipper <me@matthewslipper.com>
-
Diederik Loerakker authored
* style(specs): fix toc/lint in specs, update CI style(specs): lint/toc/link fixes style(readme): fix bedrock contracts link chore(specs): specs lint scripts chore(specs): update CI jobs to use new lint scripts and unsilence links linter style(specs): fix toc, fix quotes in markdown lint script * yarn: update linting dependencies * specs: add minimal batch submitter spec, fix broken links Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Will Cory authored
Co-authored-by:
Will Cory <willcory@Wills-MacBook-Pro.local> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Diederik Loerakker authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 03 Aug, 2022 3 commits
-
-
Matthew Slipper authored
This will allow us to measure opnode throughput.
-
Matthew Slipper authored
* op-node: Derivation metrics Adds support for the following batch derivation metrics: - 0/1 gauge for if the derivation is idle - Count of total pipeline resets - Count of total unsafe payloads received - Count of total derivation errors - Gauge tracking the various L1/L2 safe/unsafe heads * review updates + more metrics
-
Joshua Gutow authored
* op-node: Add channel frame serialization This creates a struct & serialization & deserialization methods for it. This is to replace the current serialization code which is embedded in more complex methods. The reading is done with a reader API instead of a bytes API because the frame is variable length & is originally merged together with other frames without a clean division. The writing API uses a writer for simplicity (but is not required). This lays the groundwork for easily switching to fixed int sizes. * op-node: Use channel frame deserialization This uses the new channel frame object for deserialization. Some of the API interaction is a little weird in the channel_bank IngestData loop, but the code is not able to be easily tested and upgraded. * op-node: Use channel frame in serialization This uses the default implementation (through a struct) rather than the custom logic. It might make sense to use a slightly different API for serialization than deserialization given the inputs, but splitting out the logic into it's own function is still an improvement. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 02 Aug, 2022 11 commits
-
-
smartcontracts authored
* core-utils: add bedrock types * sdk: implement bedrock functionality * tests: update for bedrock * sdk: add hardhat deposit task * circleci: run deposit task in ci * tsconfig: cleanup * contracts-bedrock: make commitment interval larger * changeset: add Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Mark Tyneway authored
* contracts-bedrock: add forge contract verification support Add etherscan contract verification for the hh/foundry compiler toolchain. This will eventually be upstreamed, but is implemented here to ensure that it works thoroughly first. To run the task: ``` export ETHERSCAN_API_KEY=$(cat api-key.txt) $ npx hardhat forge-verify --network goerli ``` In the future, other contract verification backends will be added to forge and this task will be updated to support them. Example contract that was verified: https://goerli.etherscan.io/address/0x1234662682c85fa6fb375416d14db965eba222ba#code An individual contract can be targeted instead of all of them with the `--contract` flag. If hardhat deploy has configured external deployments, forge will not be able to verify them. It may be possible to implement that in the future. * contracts-bedrock: modularize tasks
-
Matthew Slipper authored
-
Mark Tyneway authored
contracts-bedrock: L2ToL1MessagePasser event extension
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
Emit an additional event during `initiateWithdrawal` that includes the withdrawal hash so that it is easy to observe changes to the `sentMessages` mapping.
-
Matthew Slipper authored
* op-node: Add p2p utils * Update op-node/flags/flags.go Co-authored-by:
Diederik Loerakker <proto@protolambda.com> Co-authored-by:
Diederik Loerakker <proto@protolambda.com>
-
Matthew Slipper authored
-
Joshua Gutow authored
This now uses a passed in timestamp for PreparePayloadAttributes. This is important because when generating a payload attributes from a batch it should be using the timestamp of the batch, not the L2 parent + block time. When we are creating payloads based on the L2 parent time, that is easy to set there instead of pulling it into this function. This enabled/exacerbated a divergence bug where the timestamp of the batch was not the timestamp that was being set inside PreparePayloadAttributes. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 01 Aug, 2022 8 commits
-
-
Matthew Slipper authored
This reverts commit f7fcf8a1.
-
Matthew Slipper authored
* op-node: Add p2p utils * Update op-node/cmd/p2p/cmd.go Co-authored-by:
Joshua Gutow <jgutow@optimism.io> * Update op-node/cmd/p2p/cmd.go Co-authored-by:
Joshua Gutow <jgutow@optimism.io> * lint * fix devnet Co-authored-by:
Joshua Gutow <jgutow@optimism.io>
-
Mark Tyneway authored
contracts-bedrock: fix deployment
-
Mark Tyneway authored
contracts-bedrock: add watch task
-
Mark Tyneway authored
ops-bedrock: simple config fixes
-
Mark Tyneway authored
-
Will Cory authored
* add wsteth to sdk * changeset Co-authored-by:
Will Cory <willcory@Wills-MacBook-Pro.local>
-
Mark Tyneway authored
The gas snapshot check was disabled in CI because it would cause a lot of merge conflicts. Now that there is no rush to change the contracts, we should re-enable the check. Also commit in the latest snapshot. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-