- 25 Apr, 2024 4 commits
-
-
Inphi authored
-
smartcontracts authored
* feat(ct): update max bond gas to 300m Updates the maximum bond gas to 300m up from 200m. Corresponds to the increase in the cost of publishing a large preimage as a result of emitting the data as part of a log. * update kontrol x --------- Co-authored-by:
clabby <ben@clab.by>
-
Adrian Sutton authored
Extracts the game creation logic into reusable code.
-
Juan C authored
-
- 24 Apr, 2024 17 commits
-
-
Adrian Sutton authored
* op-challenger: Implement prestate sources * op-challenger: Add canon-prestates-url flag to configure a source for prestates based on hash
-
clabby authored
* feat(ctb): Log preimage oracle calldata * Add log tests x more binding
-
Aaron Chen authored
-
Joshua Gutow authored
-
Ethnical authored
* chore: `chain-mon` restructuring + fix some paths (exclude contracts for now) * chore: Fix the path of the docker with the new restructuring. * chore: Change the `CODEOWNERS` for the `balance-mon`
-
Mark Tyneway authored
* contracts-bedrock: remove bindings requirement Previously, CI enforced that bindings were kept up to date with any changes to the smart contracts. This resulted in a lot of churn with CI, created large diffs when opening PRs and also took a long time to recompile and generate bindings. Now that no major services depend on `op-bindings`, we can remove the need to enforce they are kept up to date. The rest of the bindings themselves can be removed in a separate PR. Merging this gives a sigh of relief for all smart contract devs working on the optimism codebase. * op-bindings-e2e: delete
-
Mark Tyneway authored
Migrates the `op-plasma` service away from using `op-bindings`. Part of deprecating `op-bindings` as part of smart contract dev. Services are responsible for maintaining their own bindings now.
-
zhiqiangxu authored
* ensure "maxDepth < p.depth" never happens * add more log
-
Mark Tyneway authored
* op-bindings: delete `more` files The `op-bindings` more files existed to add extra information to the bindings that were helpful in particular for the L2 genesis generation process. This commit deletes all more files as well as the code for generating them. It also deletes the top level `registry.go` file that used an `init` function to populate public getters for accessing the data in more files. Now that the L2 genesis doesn't happen in Go, this is all dead code. Removing this will greatly reduce diff when smart contract code changes. * cleanup: more dead code * cleanup: decouple dead code
-
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 6 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
-