- 15 May, 2024 1 commit
-
-
Sam Stokes authored
-
- 14 May, 2024 11 commits
-
-
Inphi authored
* dispute-game: Sanity check disputed claim index * Fix tests * update snapshots * fix docs * move param * op-challenger: Supply parent value when performing moves Also moves calculation of the required bond into the contract bindings so the returned TxCandidate is ready to send. * op-challenger: Add backwards compatibility with v1.1.1 * op-e2e: Update e2e for new FaultDisputeGame ABI --------- Co-authored-by:
Adrian Sutton <adrian@oplabs.co>
-
petercover authored
Signed-off-by:
petercover <raowanxiang@outlook.com>
-
Adrian Sutton authored
-
Danyal Prout authored
* GasPriceOracle fjord fastlz update * Review feedback
-
zhiqiangxu authored
-
clabby authored
* feat(ctb): Remove `setResourceConfig` Removes the `setResourceConfig` setter from the `SystemConfig`, only allowing it to be set by the `ProxyAdmin` owner. * fmt
-
Adrian Sutton authored
op-challenger, op-dispute-mon: Fix chess clock calculations to match solidity implementation (#10509) * op-challenger: Show resolvable time in claims list. Don't require a sort param in list-games. * op-challenger, op-dispute-mon: Fix chess clock calculations to match the solidity implementation. Adds clock and L2 block challenge information to list-claims subcommand.
-
Adrian Sutton authored
-
cody-wang-cb authored
* wip * wip * fix * fix * fix * fix * address some of the bots comments * use version bit of 1 * fix lint * adding compression type * update batch reader * abstract span channel compressor * test and singular batch compressor * fix * lint * move channel compressor as interface * add base class * fix go mod * test fixes * address comments * fix * fix * revert channel builder test * revert ratio compressor test * add checks to accept brotli only post fjord * revemo unnecessary in test * fix forge-std * gofmt * address comments * remove methods in compressor * fix error msg * add compression algo flag to optional flags * add Clone() function --------- Co-authored-by:
Roberto Bayardo <roberto.bayardo@coinbase.com>
-
Matt Solomon authored
-
Maurelian authored
-
- 13 May, 2024 9 commits
-
-
clabby authored
* feat(ctb): Support `OptimismPortal2` in kontrol tests Adds a second `DeploymentSummary` to `kontrol` for fault proofs, and ports the existing `OptimismPortal` proofs with the `OptimismPortal2`. * summary tests * Update packages/contracts-bedrock/test/kontrol/README.md Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * tests * Update `check-snapshots` * Update packages/contracts-bedrock/test/kontrol/README.md Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> * Separate snapshot gen --------- Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
Maurelian authored
* ctb: Change Safe contract version to GnosisSafe v1.3.0 This aligns with what the Security Council is running * ctb: Update snapshots and semver-lock
-
Inphi authored
* cannon: Handle div by zero in MIPS.sol * fix revert stmt style
-
Mark Tyneway authored
* op-chain-ops: bindings decouple More small bindings decoupling. After this PR is merged, it should be possible to move `op-bindings/bindings` into `op-e2e/bindings` * dead-code: cleanup * build: fix
-
clabby authored
* feat(ctb): Enforce maximum L2 gas limit Enforces a maximum L2 gas limit within the `SystemConfig`. This change helps ensure that OP Stack chain governors keep the L2 block gas limit within a reasonable range in order to guarantee that the L2 blocks may be proven. * In the `_setResourceConfig` function, the new minimum gas limit is checked to be less than the current `gasLimit`. This value may never be larger than `MAX_GAS_LIMIT`, per the checks in `_setGasLimit`. This ensures that the `minimumGasLimit <= maximumGasLimit` * Update SystemConfig.t.sol Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> --------- Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
mbaxter authored
* cannon: Add units tests around hint writes * cannon: Update hint write fuzz tests to randomize target memory * cannon: Fix inverted conditional check * cannon: Clean up unit test - remove panic helper * cannon: Add error handling to fuzz test randomBytes helper
-
Maurelian authored
-
Mark Tyneway authored
Migrates the `op-bindings/predeploys` package to `op-service/predeploys`. There is various other "system related" code there. This unblocks fully deleting `op-bindings` as a top level package.
-
zhiqiangxu authored
-
- 12 May, 2024 1 commit
-
-
refcell authored
* feat(op-dispute-mon): L2BlockNumberChallenged dispute monitor support feat(op-dispute-mon): query for the l2 block number through the game metadata call fix(op-dispute-mon): query for the l2 block number through the game metadata call fix(op-dispute-mon): query for the l2 block number through the game metadata call * fix(op-dispute-mon): block challenge check * fix(op-dispute-mon): use agreement and metrice * op-dispute-mon: Separate l2 challenge metric (#10483) * op-dispute-mon: Consider l2 block number challenged when forecasting but don't make it a new game status. Add a separate metric to report the number of successful L2 block number challenges. * op-challenger: Remove unused blockNumChallenged field from list-games info struct * op-dispute-mon: Consider l2 block challenger in expected credits. (#10484) * feat(op-dispute-mon): Update L2 Challenges Metrics (#10492) * fix: change the l2 challenges to tha gauge vec * fix: consistent metric labels --------- Co-authored-by:
refcell <abigger87@gmail.com> --------- Co-authored-by:
Adrian Sutton <adrian@oplabs.co>
-
- 11 May, 2024 5 commits
-
-
Adrian Sutton authored
-
Axel Kingsley authored
* op-node: Generic Commitment This is a generic commitment to be used by the op-node & op-batcher. * abstract commitments to CommitmentData interface * correct byte-stripping ; add tests ; finish wiring * make GenericCommitment always verify * correct action tests * PR comments * fix unit test * remove fmt.Println --------- Co-authored-by:
Joshua Gutow <jgutow@oplabs.co>
-
Kien Trinh authored
-
Mark Tyneway authored
Updates the weth predeploy to be versioned. Even though the weth predeploy is not proxied, adding a version safely lets us make small modifications to it in the future such as updating the version of `solc` that is used to compile it and be able to be aware offchain of the version that the chain has without needing to keep a registry of codehashes.
-
Sebastian Stammler authored
* op-node/rollup: Add MaxSequencerDrift to ChainSpec * op-node/rollup,op-e2e: Use spec max seq drift instead of config * op-node/rollup: Showcase feature/fork separation pattern with seq drift change * op-node/driver: add origin selector Fjord test * op-node/rollup: refactor batch validation test prepare to allow for general modification of rollup config * op-node/rollup: add batch validation test * Update op-node/rollup/types.go Co-authored-by:
Joshua Gutow <jgutow@oplabs.co> * op-node/rollup/derive: add Fjord span batch validation test --------- Co-authored-by:
Joshua Gutow <jgutow@oplabs.co>
-
- 10 May, 2024 13 commits
-
-
Mark Tyneway authored
* contracts-bedrock: add deposit event coverage Adds deposit event differential coverage for the two different places where the deposit tx event exists. This ensures that a valid event ends up getting emitted. Also modularizes the code for serializing the event so that there are not footguns when computing the "opaque data". * contracts-bedrock: revert diff to portal Removes the diff to the portal, perhaps we want it but test still passes without it * contracts-bedrock: lint * test: improve * tests: update * tests: fixup * semver: fix * lint: fix
-
Maurelian authored
* ctb: Test ownership setup scripts * ctb: Add nested config of modules * Add guard and module checks * Update packages/contracts-bedrock/scripts/DeployOwnership.s.sol Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> --------- Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
Hteev Oli authored
-
ids authored
Don't apply the conf depth if l1Head is empty (as it is during the startup case before the l1State is initialized)
-
Mark Tyneway authored
Updates another import to reference local bindings rather than global bindings. This test isn't going to need to worry about having its bindings be updated.
-
Mark Tyneway authored
This moves the ERC20 bindings that the `op-service` tests depend on into the `test` package that already exists. This ensures that these bindings can always exist safely and be used as part of the tests.
-
Mark Tyneway authored
Updates a single import to use the `op-proposer` bindings instead of the global monorepo bindings. The big consumer of the bindings after this are `op-e2e` and some tests in `op-service`.
-
Adrian Sutton authored
Completed games weren't updating their latest acted block because they don't get scheduled which meant the metric always reported 0.
-
Adrian Sutton authored
If the collateral for a DelayedWETH contract is sufficient and then becomes insufficient, we need to zero out the metric with the sufficient label and set the values on the insufficient labelled version.
-
Inphi authored
-
Mark Tyneway authored
* op-chain-ops: decouple from bindings Another commit that removes bindings from `op-chain-ops`. The entire repo is very close to being completely decoupled from having a global set of bindings. This does have a little bit of code duplication, but it generally results in a more simple layout. Both the `crossdomain` and `upgrades` package end up with their own `bindings` package. The `crossdomain` package is mostly legacy but the `indexer` still depends on it. The `indexer` is in maintenance mode, after reth exex it makes a lot of sense to build indexers directly into reth. The `crossdomain` package uses the bindings to migrate and serialize L1 to L2 cross domain messages. These bindings never need to be updated. The `upgrades` package has a justfile added that can be used to regenerate the bindings. This makes it easier to generate bindings based on a specific release. Previously the `upgrades` bindings were coupled in a strange way and backwards compatibility hacks needed to exist. Now the team working on upgrades can update the bindings however they want so the proper upgrade can easily be generated. * upgrades: error case Since the AddressList doesn't have the `DisputeGameFactory` yet, it cannot be pulled into the upgrade scripts. Instead return an error so that we MUST update it. https://github.com/ethereum-optimism/superchain-registry/blob/110e744c97b4873384ad2da365c281639fc0668e/superchain/superchain.go#L194
-
Adrian Sutton authored
-
dependabot[bot] authored
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0 Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.23.0. - [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> * deps: update * deps: update --------- Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-