1. 09 May, 2024 1 commit
  2. 08 May, 2024 9 commits
    • Mark Tyneway's avatar
      contracts-bedrock: fix deposit gas limit (#10449) · 80afbbdc
      Mark Tyneway authored
      * contracts-bedrock: fix deposit gas limit
      
      Ensures that the gas limit is high enough for the system
      deposit to go through. The previous gas limit was slightly
      too small. This ups it so that we are sure the system deposit
      goes through.
      
      * contracts-bedrock: fix test
      80afbbdc
    • Hteev Oli's avatar
      proxyd: remove unused error (#10444) · b9eb669a
      Hteev Oli authored
      b9eb669a
    • Diego's avatar
      add to L2Genesis Interop contracts (CrossL2Inbox, L2ToL2CrossDomainMessenger) (#10417) · bd35e43d
      Diego authored
      * bedrock-devnet: add useInterop flag
      
      * op-chain-ops: add useInterop flag
      
      * op-node: add useInterop flag to config
      
      * contracts-bedrock: add useInterop flag to Predeploy's getName
      
      * contracts-bedrock: add useInterop flag to L2Genesis
      
      * contracts-bedrock: add useInterop flag to Predeploy's test
      
      * contracts-bedrock: add useInterop flag to Setup
      
      * Revert "op-chain-ops: add useInterop flag"
      
      This reverts commit 83c63cc63bcccf15c8f2e7d7c4f74d0316abcdae.
      
      * Revert "op-node: add useInterop flag to config"
      
      This reverts commit c3617f9fd8ae4777cf4f13dd399167f0718cd9d1.
      
      * Revert "bedrock-devnet: add useInterop flag"
      
      This reverts commit 858257c8666af70586e6f40a510b2a0ff3056bcb.
      
      * contracts-bedrock: use L1Block in Predeploys for L1BlockInterop
      
      * contracts-bedrock: remove useInterop argument in Predeploys
      
      * op-chain-ops: fix TestConfigDataMarshalUnmarshal
      
      * contracts-bedrock: add CrossL2Inbox, L2ToL2CrossDomainMessenger to L2Genesis script
      
      * contracts-bedrock: add tests for interop branch of L2Genesis
      
      * Revert "op-chain-ops: fix TestConfigDataMarshalUnmarshal"
      
      This reverts commit fbc60c1fed796d03837dd674406b3aa63445deeb.
      bd35e43d
    • Adrian Sutton's avatar
      op-challenger: Integrate challenging L2 block numbers (#10446) · c41bb739
      Adrian Sutton authored
      * op-challenger: Make l2-eth-rpc required for all trace types.
      
      Add rollupEndpoint to NewConfig signature since it was already always required.
      
      * op-e2e: Remove rollup and l2-eth-rpc params from WithCannon and WithAlphabet
      
      * op-challenger: Integrate challenging L2 block numbers
      c41bb739
    • Adrian Sutton's avatar
      op-challenger: Make l2-eth-rpc and rollup-rpc required (#10445) · 97cc1f17
      Adrian Sutton authored
      * op-challenger: Make l2-eth-rpc required for all trace types.
      
      Add rollupEndpoint to NewConfig signature since it was already always required.
      
      * op-e2e: Remove rollup and l2-eth-rpc params from WithCannon and WithAlphabet
      97cc1f17
    • mbaxter's avatar
      Challenger: Pull large preimage proposals from tx logs (#10416) · 1cfd38b1
      mbaxter authored
      * challenger: Pull large preimages from tx logs
      
      * challenger: Add a few more fetcher unit tests
      
      * challenger: Implement review fixes related to slice handling, types
      
      * challenger: Clean up fetcher changes
      1cfd38b1
    • refcell's avatar
    • clabby's avatar
      chore(ctb): Update sepolia deploy config (#10418) · 89a3a5f3
      clabby authored
      89a3a5f3
    • Mark Tyneway's avatar
      cannon: remove final dep on bindings (#10408) · c0ab34f3
      Mark Tyneway authored
      * cannon: remove final dep on bindings
      
      Removes the last dependency that cannon has on `op-bindings/bindings`.
      This is done my creating reusable code for reading foundry artifacts
      from disk. This code should be reusable between any service that wants
      to read the foundry artifacts from disk. This includes roundtrip
      tests for JSON serialization of the foundry artifacts.
      
      * op-chain-ops: address semgrep
      
      https://github.com/golang/go/issues/22967
      c0ab34f3
  3. 07 May, 2024 10 commits
    • refcell's avatar
      fix(op-dispute-mon): Improve Resolution Status Granularity (#10419) · 57211c6d
      refcell authored
      * stash resolution status
      
      * fix(op-dispute-mon): resolution status metric
      
      * fix(op-dispute-mon): add logs for resolvable games
      57211c6d
    • Joshua Gutow's avatar
      op-node: Implement fjord RLP & Channel Bank Size limit Increases (#10357) · 4386680d
      Joshua Gutow authored
      * op-node: Increase MaxChannelBankSize with Fjord
      
      This also creates a ChainSpec object which is responsible for returning protocol
      parameters. We use a different object than the rollup.Config because the config
      is primarily a disk representation & does not concern itself with protocol constants.
      
      * op-node: Increase MaxRLPBytesPerChannel with Fjord
      4386680d
    • refcell's avatar
      fix(op-dispute-mon): Unresolved Claim Logging (#10394) · 1812f168
      refcell authored
      * fix(op-dispute-mon): unresolved claim logging
      
      * fix(op-dispute-mon): lints
      
      * fix(op-dispute-mon): unresolved claim logging
      
      * fix(op-dispute-mon): move resolution response buffer to a constant
      1812f168
    • Diego's avatar
      contracts-bedrock: add useInterop flag (#10433) · fc458665
      Diego authored
      * bedrock-devnet: add useInterop flag
      
      * op-chain-ops: add useInterop flag
      
      * op-node: add useInterop flag to config
      
      * contracts-bedrock: add useInterop flag to DeployConfig
      
      * contracts-bedrock: add useInterop flag to Predeploy's getName
      
      * contracts-bedrock: add useInterop flag to L2Genesis
      
      * contracts-bedrock: add useInterop flag to Predeploy's test
      
      * contracts-bedrock: add useInterop flag to CommonTest
      
      * contracts-bedrock: add useInterop flag to Setup
      
      * Revert "op-chain-ops: add useInterop flag"
      
      This reverts commit 83c63cc63bcccf15c8f2e7d7c4f74d0316abcdae.
      
      * Revert "op-node: add useInterop flag to config"
      
      This reverts commit c3617f9fd8ae4777cf4f13dd399167f0718cd9d1.
      
      * Revert "bedrock-devnet: add useInterop flag"
      
      This reverts commit 858257c8666af70586e6f40a510b2a0ff3056bcb.
      
      * contracts-bedrock: use L1Block in Predeploys for L1BlockInterop
      
      * contracts-bedrock: update gas-snapshot
      
      * op-chain-ops: add UseInterop flag to genesis DeployConfig
      
      * contracts-bedrock: remove useInterop argument in Predeploys
      
      * op-chain-ops: make UseInterop flag optional
      Co-Authored-By: default avatarprotolambda <proto@protolambda.com>
      
      ---------
      Co-authored-by: default avatarprotolambda <proto@protolambda.com>
      fc458665
    • zhiqiangxu's avatar
    • Raffaele's avatar
      Dispute game compatible wd mon (#10375) · 101ad1a0
      Raffaele authored
      * adding  fault-wd-mon
      
      * adding faultproof wd-mon
      
      * adding faultproof wd-mon
      
      * fixing docker file
      
      * fixing how we get disputegame given a withdrawal log
      
      * code review fix
      
      * fix type
      101ad1a0
    • refcell's avatar
      fix(op-dispute-mon): Claim ID and Clock Logging (#10415) · eba81875
      refcell authored
      * fix(op-dispute-mon): log the claim id to validate the claim during investigation
      
      * fix(op-dispute-mon): log the clock value as well
      eba81875
    • Mark Tyneway's avatar
      slither: bump ci versions (#10410) · 15e8387e
      Mark Tyneway authored
      Since slither seems to be failing consistently in CI, try bumping the
      versions of the tooling.
      
      Bumps to latest slither github action release: https://github.com/crytic/slither-action/releases/tag/v0.4.0
      
      Meant to fix the slither issue seen in https://github.com/ethereum-optimism/optimism/pull/10408
      
      ```
      [-] SARIF output enabled, writing to results.sarif.
      [-] Slither config provided: packages/contracts-bedrock/slither.config.json
      [-] SLITHERARGS provided. Running slither with extra arguments
      'forge clean' running (wd: /github/workspace/packages/contracts-bedrock)
      'forge config --json' running
      'forge build --build-info --skip */test/** */scripts/** --force' running (wd: /github/workspace/packages/contracts-bedrock)
      Traceback (most recent call last):
        File "/opt/slither/bin/slither", line 8, in <module>
          sys.exit(main())
        File "/opt/slither/lib/python3.9/site-packages/slither/__main__.py", line 753, in main
          main_impl(all_detector_classes=detectors, all_printer_classes=printers)
        File "/opt/slither/lib/python3.9/site-packages/slither/__main__.py", line 859, in main_impl
          ) = process_all(filename, args, detector_classes, printer_classes)
        File "/opt/slither/lib/python3.9/site-packages/slither/__main__.py", line 107, in process_all
          ) = process_single(compilation, args, detector_classes, printer_classes)
        File "/opt/slither/lib/python3.9/site-packages/slither/__main__.py", line 80, in process_single
          slither = Slither(target, ast_format=ast, **vars(args))
        File "/opt/slither/lib/python3.9/site-packages/slither/slither.py", line 156, in __init__
          sol_parser.parse_top_level_items(ast, path)
        File "/opt/slither/lib/python3.9/site-packages/slither/solc_parsing/slither_compilation_unit_solc.py", line 326, in parse_top_level_items
          get_imported_scope = self.compilation_unit.get_scope(import_directive.filename)
        File "/opt/slither/lib/python3.9/site-packages/slither/core/compilation_unit.py", line 282, in get_scope
          filename = self._crytic_compile_compilation_unit.crytic_compile.filename_lookup(
        File "/opt/slither/lib/python3.9/site-packages/crytic_compile/crytic_compile.py", line 283, in filename_lookup
          raise ValueError(f"{filename} does not exist")
      ValueError: lib/openzeppelin-contracts/contracts/utils/Context.sol does not exist
      ```
      15e8387e
    • Sam Stokes's avatar
      Docker-targets v2 (#10346) · c67c67a8
      Sam Stokes authored
      * Revert "Revert "Merge pull request #8242 from ethereum-optimism/go-docker-targets""
      
      This reverts commit d972c460.
      
      It also fixes up some conflicts / inconsistencies,
       since op-conductor was added after the original revert.
      
      * ops: experimental cross-build fixes
      
      * Retrieve git tag in Circle CI and use to set op version within docker image
      
      * Update dispute-mon and da-server to use new docker build flow
      
      * Fix GIT_VERSION script in Circle CI config.yml
      
      * Update ops-bedrock docker-compose to use new docker build flow
      
      * Load pre-built op-challenger image in devnet tests
      
      * Save op-challenger.tar to avoid docker rebuild in devnet tests
      
      * Add Circle CI job for check-cross-platform
      
      * Allow env var to override VERSION in Makefiles
      
      * Pass version to op-program components except op-program-client
      
      * Wrap all docker-bake variable names in quotes
      
      ---------
      Co-authored-by: default avatarprotolambda <proto@protolambda.com>
      c67c67a8
    • Mark Tyneway's avatar
      op-chain-ops: delete memdb (#10404) · 29c7b445
      Mark Tyneway authored
      * op-chain-ops: delete memdb
      
      The simple in memory statedb implementation that was
      backed by a genesis has served us well but is no longer
      required since we build the genesis files using foundry.
      This was originally used to enable simple execution to
      deploy contracts and then dump into a `genesis.json`.
      Keeping this memdb around will only bloat PRs that update
      the geth version as they may change the interface to the
      statedb. Instead of using the memdb interface, the genesis
      is modified directly.
      
      * lint: fix
      
      * style: way better
      Co-authored-by: default avatarprotolambda <proto@protolambda.com>
      
      * build: fix
      
      * build: fix
      
      ---------
      Co-authored-by: default avatarprotolambda <proto@protolambda.com>
      29c7b445
  4. 06 May, 2024 8 commits
  5. 05 May, 2024 1 commit
  6. 04 May, 2024 1 commit
  7. 03 May, 2024 10 commits