- 01 Aug, 2022 11 commits
-
-
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>
-
Mark Tyneway authored
contracts-bedrock: fix slither
-
Mark Tyneway authored
Update to commit 64fe4acc97e6d76551cea7598c201f05ecd65639 https://github.com/foundry-rs/foundry/tree/64fe4acc97e6d76551cea7598c201f05ecd65639 https://github.com/foundry-rs/foundry/commit/64fe4acc97e6d76551cea7598c201f05ecd65639 This update is pulled in so that the new config file format can be adopted. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Matthew Slipper authored
* ci: Tag cloudbuild images with the commit SHA * contracts-bedrock: Fix provider usage in L2OutputOracle deployment script `getDefaultProvider()` returns a fallback mainnet provider, which doesn't work. Builds on #3147.
-
Matthew Slipper authored
-
Mark Tyneway authored
-
Matthew Slipper authored
Also adds a new `deployer` network for use with automation.
-
Mark Tyneway authored
`slither` crashes on new solidity features, one is used in the forge tests. Not exactly sure what it is, but this will prevent that problem by moving the tests to a temp dir when running slither and then moving them back.
-
- 30 Jul, 2022 6 commits
-
-
Mark Tyneway authored
deps: update excessively-safe-call
-
Mark Tyneway authored
-
Mark Tyneway authored
Deletes an old config option and also changes the poll interval on the `op-proposer` to `1s` so that it submits outputs faster. I found that the proposer will lag a lot, especially if the commitment interval is small. We need to carefully consider the implications of the commitment interval and understand if it can be updated dynamically or not.
-
Joshua Gutow authored
* op-batcher: Enable optional pprof server * op-proposer: Enable optional pprof server * op-node: Eanble optional pprof server Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Maurelian authored
* test(ctb): change gasLimit arg to uint256 * test(ctb): Set maximum diff fuzz gasLimit to 30MM * test(ctb): Set maximum diff fuzz value to 120MM eth * ctb: Address compiler warnings Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Joshua Gutow authored
* ops: Use starting L1 Block for timestamp everywhere This transitions the starting timestamp to a new flow. The L2 rollup is anchored on a L1 block. The L2 genesis block & rollup config use the timestamp of the L1 start block as the their time. Properly threading this through the HH tasks is a little tricky but possible. This is because we have two flows: creating a L1 network & placing the rollup on that and creating a rollup on an existing L1 network (like goerli). There is still a L1 starting time for the first flow. This also fixes a circular dependcy that previously existed. The starting timestamp was provided and served as the starting timestamp for the L1 genesis & the "L2 Starting Time" in the L2 Output Oracle. The actual L2 genesis & rollup start time were based on when the Optimism Portal contract was deployed (after the L2 Output Oracle contract must have been deployed). The rollup is resilient to being started before contracts are fully deployed, so using a specific L1 block as the start is the cleanest solution I have seen. * Fix lint * Update packages/contracts-bedrock/deploy-config/goerli.ts * Add undefined checks to l1StartingBlockTag * lint * fix checks Co-authored-by:
Matthew Slipper <me@matthewslipper.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 29 Jul, 2022 23 commits
-
-
Mark Tyneway authored
Fixes foundry config issue so that warnings go away during compilation. Also cleans up warnings when running tests. https://github.com/nomad-xyz/ExcessivelySafeCall/commit/81cd99ce3e69117d665d7601c330ea03b97acce0
-
Mark Tyneway authored
contracts-bedrock: in place handling of immutables
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
This updates the hardhat task `genesis-l2` to handle setting the immutables in the deployed bytecode. This is necessary because the predeploys "live" in the L2 state and are not deployed. Any immutables must be manually placed into the bytecode by looking at the compiler output and then finding the offsets and slicing in the values. A high level API is exposed for setting arbitrary immutables with the `replaceImmutables` function. This was inspired by smock's `computeStorageSlots`. Longer term, this code will be rewritten in go and be able to operate on either a LevelDB database (upgrade an existing system) or a `genesis.json` (good for starting a new network). This is a requirement because the state surgery is large enough such that it must bind directly to LevelDB and be in a language that is relatively fast.
-
Mark Tyneway authored
core-utils,contracts-bedrock,ci: OpNodeProvider + check
-
Mark Tyneway authored
-
mergify[bot] authored
-
Mark Tyneway authored
makefile: `clean-node-modules`
-
Mark Tyneway authored
integration-tests: modularize
-
Mark Tyneway authored
Bedrock goerli 96f44f79
-
Mark Tyneway authored
contracts-bedrock: modularize build
-
Mark Tyneway authored
Move away from using a nested api on the messenger and instead use an imported function
-
Mark Tyneway authored
Modularize the build of `contracts-bedrock` so that more packages can be dev deps. Make it so that the differential testing build is different than the typescript build. This is part of the larger sdk integration work, split out into its own smaller PR.
-
Mark Tyneway authored
Implements a simple `OpNodeProvider` that can be used to query the op-node. It is used as part of a ci check against the devnet. It should add some more health related things, now it just prints of rpc responses. This will help to debug things.
-
Mark Tyneway authored
contracts-bedrock: fix typechain export
-
Joshua Gutow authored
This was being incorrectly set in the rollup json relative to the HD path supplied to the batcher was. This resulted in L2 reorgs on the sequencer & the inability to send L2 transactions. Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Matthew Slipper authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
contracts-bedrock: update hardhat-forge plugin
-
Mark Tyneway authored
Adds a helper to the makefile for deleting all of the js deps. This is useful for when checking out a new branch and ensuring that the deps are up to date. I find myself doing this often manually, so adding a make command makes sense.
-