- 24 Apr, 2024 8 commits
-
-
Mark Tyneway authored
* contracts-bedrock: remove cannon deps on bindings Removes `cannon` deps on `op-bindings` package following a pattern similar to https://github.com/ethereum-optimism/optimism/pull/10225. Includes test coverage of the new functions and is the minimal diff to get things working. Ideally there was a canonical forge artifact type that is used but for now we don't worry about it. This unblocks further work on removing the bindings from the monorepo, greatly improving devex. * cannon: cleanup, new approach * ci: attempt fix * ci: attempt fix * ci: fixup
-
Park Changwan authored
* op-e2e: Expose fields for asterisc e2e * op-e2e: Add Helper Initializer methods * op-e2e: Apply initializer methods and exposed fields * op-e2e: Expose methods for asterisc e2e
-
Joshua Gutow authored
-
Joshua Gutow authored
-
Adrian Sutton authored
* ci: Add scheduled job to check reproducibility of op-program preimages. * ci: Add slack notification on failure.
-
Danyal Prout authored
* Enable Fjord in e2e tests / test for RIP-7212 * switch to tagged op-geth
-
Sebastian Stammler authored
-
clabby authored
## Overview Updates the deploy configuration on Sepolia devnet.
-
- 23 Apr, 2024 13 commits
-
-
Mark Tyneway authored
* op-chain-ops: delete dead code This commit includes the deletion of a bunch of dead code after https://github.com/ethereum-optimism/optimism/pull/10106 has been merged. There is no need to maintain a bunch of custom go code to generate the L2 genesis anymore, all of that is handled directly in solidity. * op-chain-ops: delete more dead code * op-chain-ops: more cleanup * cleanup: remove old references * op-chain-ops: cleanup abstractions Co-authored-by:
refcell <abigger87@gmail.com> --------- Co-authored-by:
refcell <abigger87@gmail.com>
-
Mark Tyneway authored
Now that https://github.com/ethereum-optimism/optimism/pull/10106 has been merged, this script is dead code and can be deleted. It was previously the cause of many race conditions and flakes in CI. Now all genesis generation is done directly in solidity, simplifying the process as a whole.
-
Sam Stokes authored
* Add rangeReqId so we can cancel all associated block req via single flag * Use crypto/rand instead of math/rand for randomReqId * Use atomic counter instead of random num for rangeReqId * Remove redundant peerRequest.complete field. Use inFlight instead * Add mutex to activeRangeRequests map * Do not penalize peer for block not found error * Fix inFlight request clean up logic * Add test checks for cancelled range request * Add mutex protection to inFlight map * Use constants for ResultCode * Simplify inFlight.get method logic * Use same struct for activeRangeRequests and inFlight
-
clabby authored
* feat(ctb): Allow for checkpointing in claim resolution Introduces checkpointing to the `resolveClaim` function in the `FaultDisputeGame`, allowing for the pagination of subgame resolution. fix * review * feat(challenger): Resolution checkpointing support (#10253) * feat(challenger): Resolution checkpointing support Adds support for resolution checkpointing * op-challenger: Use a simple maximum number of child claims to resolve per call. --------- Co-authored-by:
Adrian Sutton <adrian@oplabs.co> --------- Co-authored-by:
Adrian Sutton <adrian@oplabs.co>
-
Sam Stokes authored
-
Mark Tyneway authored
* indexer: remove bindings Removes the dependency on the `op-bindings/bindings` package. This is to improve devex in the monorepo and reduce CI time as maintaining the bindings autogenerated in each PR just doesn't scale. Now each service is responsible for their own bindings. In the future, we can work towards releases of the bindings when contracts are released. Follows: - https://github.com/ethereum-optimism/optimism/pull/10213 - https://github.com/ethereum-optimism/optimism/pull/10218 - https://github.com/ethereum-optimism/optimism/pull/10221 * indexer: add missing binding
-
protolambda authored
* L2 genesis solidity updates by Wyatt and Mark Commits: - Tmp change for Graphite - Add Missing Predeploys to L2 Genesis Script - contracts-bedrock: refactor L2 genesis generation - wip - temp - l2 genesis generation wip - updates Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com> Co-authored-by:
Wyatt Barnes <me@wyatt.email> * L2 genesis refactor fixes Squashed commits: todo add ProxyAdmin predeploy, clean up test assertions order predeploy setters split Predeploys and Preinstalls L2 genesis script: bytes32(0) style suggestion move predeploy utils to predeploy library preinstalls bytecode fix typos permit2 bytecode immutable patching activate ecotone cleanup tests, fixes, ecotone work in progress GenesisL2 addition to Setup() fixes devnet allocs fix go lint more fixes fix predeploys proxy impl checking test fix solady continue Go integration l2 genesis Go integration stuff fix lint fix go lint lint fixes fixes for some PR review comments Predeploys test clean up go test superseded by solidity testing fix lint cleanup and review fixes minor fixes test fixes op-e2e l2 allocs filepath fix more devnet test funds improve logging fix devnet allocs-l2 path naming and output file moving to .devnet devnet allocs CI fixes circle ci workspace allocs-l2 fixes op-e2e: fix alloc npe fix enforce genesis allocs copy op-e2e fix go test fixes, 4788 nonce edge case, dev accounts fix, misc fixes fix test, fix flake fix tests Proxy artifact workaround update gas snapshot undo workaround, apply config change to fix undo failed workarounds * contracts-bedrock: delete dead L2 genesis testing code * state-diff: update * ctb: L2 genesis delete dead comment * contracts-bedrock: small cleanups * ctb: cleanup L2 genesis comments --------- Co-authored-by:
Wyatt Barnes <me@wyatt.email> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Mark Tyneway authored
* sdk: decouple from contracts-bedrock Decouples the sdk from `contracts-bedrock` to enable it to easily be moved out of the monorepo. The foundry artifacts are build from 3fc229e3 and then copy/pasted into the sdk. There are no large breaking changes planned which is why this is safe to do. This sdk has already been replaced by viem and in the future a Go sdk can be broken out of the `op-e2e` package to serve as the reference implementation of a sdk. The typescript sdk will be subject to just work until new breaking changes are introduced but at that point we should have sufficient migration to the alternative solutions. * sdk: remove dead dep * deps: fix pnpm lock
-
Mark Tyneway authored
* ci: bumps ci-builder to `0.48.0` Built in https://app.circleci.com/pipelines/github/ethereum-optimism/optimism/51956/workflows/3e697720-1d68-4fa8-9c66-f261b8ca464e Includes https://github.com/ethereum-optimism/optimism/pull/10241 to fix https://github.com/ethereum-optimism/optimism/pull/10106 * op-bindings: update
-
Sam Stokes authored
* fix(batcher): check recent L1 txs at startup to avoid duplicate txs * Add tests for checkRecentTxsOnStart * Cleanup based on PR comments * Move checkRecentTxs into op-service/eth package * Address peer review comments * Protect against reorg causing infinite loop in CheckRecentTxs * Add missing WaitNodeSyncFlag to optionalFlags
-
Mark Tyneway authored
Fixes broken release CI: https://github.com/ethereum-optimism/optimism/actions/runs/8788831115/job/24117187007 We have too many dependencies in the monorepo to manage them all without accidentally breaking things. We will remove `pnpm` soon TM.
-
Joshua Gutow authored
-
Joshua Gutow authored
-
- 22 Apr, 2024 14 commits
-
-
Joshua Gutow authored
-
Adrian Sutton authored
* abi_loader: Embed specific ABIs, panic if they fail to parse * fix(op-challenger): bond claimer --------- Co-authored-by:
refcell <abigger87@gmail.com>
-
Joshua Gutow authored
-
Mark Tyneway authored
* contracts-bedrock: cancun evm version Turns on the cancun evm version for the evm now that decun is on mainnet. Also ignores some compiler warnings related to tstore, code too large and initcode too large. * fix: human readable config Updates the `ignored_error_codes` section in foundry.toml to be more human readable Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> --------- Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
smartcontracts authored
-
Adrian Sutton authored
-
Matt Solomon authored
* ci(ctb): check contract size limits and isolate deny warnings * ci: fix size check
-
Adrian Sutton authored
* dispute-mon: Load resolved state of claims from resolvedSubgames map * dispute-mon: Fix expected credit metrics Sum allocated bonds across all claims in a game to get the expected credit for a recipient. Sum metrics across all games instead of replacing. Check credits for all recipients involved in the game (not just those assigned bonds). --------- Co-authored-by:
refcell <abigger87@gmail.com>
-
Inphi authored
-
Mark Tyneway authored
Updates foundry to `63fff3510408b552f11efb8196f48cfe6c1da664` which includes https://github.com/foundry-rs/foundry/pull/7738. This fixes the issue https://github.com/foundry-rs/foundry/issues/7732 which was preventing https://github.com/ethereum-optimism/optimism/pull/10106 from just working. Props to the foundry devs for fixing our issues very quickly, unblocking our ability to ship. Need to follow up with a bump to `ci-builder` such that it includes this release of foundry and then rebase #10106 on top so that it can pass tests.
-
Adrian Sutton authored
-
Park Changwan authored
* op-challenger: Refactor cannon trace provider Move gzip method to ioutil * op-challenger: Expose cannon tracer methods * op-challenger: asterisc implementation Basic unit tests mirrored from cannon. * op-challenger: asterisc flags and configs * op-challenger: asterisc metric helper * op-challenger: asterisc registration and add types * op-dispute-mon: enable asterisc type * Fix typo * Fix l2RPC when registering asterisc * Deduplicate preimageOpts for testing * Fix comments * Style issue fix * Deduplicate network flag for testing * Remove redundant prefix at filename * Add config test for using both cannon and asterisc * Refactor asterisc/cannon provider using utils * Remove redundant prefix at filename * Fix comments * Style issue fix * Refactor asterisc/cannon provider using utils * Remove unused methods * op-challenger: add l2-rpc flag and deprecate cannon-l2 flag
-
Adrian Sutton authored
* Remove accidentally added find-version.sh * Close abi file
-
Tei Im authored
-
- 19 Apr, 2024 5 commits
-
-
Adrian Sutton authored
* challenger: Load ABIs from the snapshots dir Removes dependency on generated bindings * Move loader to snapshots and convert the remaining challenger contract bindings * Update tests * Remove remaining references to bindings package. * Fix comment
-
dependabot[bot] authored
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Mark Tyneway authored
* op-node: remove dependency on bindings Removes the `op-node` dependency on the `op-bindings/bindings` package. This moves `op-node` into a world where it relies completely on bindings that it generates itself. A `make` recipe could be useful for this in the future. This will enable us to say that the `op-node` is compatible with particular releases of the contracts. This change was made by searching for `"github.com/ethereum-optimism/optimism/op-bindings/bindings"` in the codebase and replacing it. There is still a dependency on `op-bindings/predeploys`, maybe we want to keep that around or put them in a different package. * bindings: fix build * bindings: fixup
-
Mark Tyneway authored
Prepares the `op-proposer` to no longer depend on the `op-bindings` package. This will enable releases of the `op-proposer` to work with specific releases of the contracts more easily by using `abigen` at a specific release of the contracts to create bindings. We will be gutting `op-bindings` as a package because it is not versioned, implying all versions must be backwards and forwards compatible. It also adds a lot of overhead to smart contract development with having to create the bindings and commit in a diff every time there is a solidity source file change.
-