1. 29 Apr, 2024 7 commits
  2. 27 Apr, 2024 4 commits
    • Diego's avatar
      feat/CrossL2Inbox: create (#10296) · 826a7bdc
      Diego authored
      * contracts-bedrock: create CrossL2Inbox
      
      * contracts-bedrock: create ICrossL2Inbox
      
      * contracts-bedrock: create tests for CrossL2Inbox
      
      * contracts-bedrock: update CrossL2Inbox sol version to ^0.8.24
      
      * contracts-bedrock: rename test to .t.sol ext
      
      * contracts-bedrock: make snapshots
      
      * contracts-bedrock: update semver-lock
      
      * contracts-bedrock: drop snapshots for CrossL2InboxTest
      
      * contracts-bedrock: update license for tests CrossL2Inbox
      
      * contracts-bedrock: add CrossL2Inbox to predeploys
      
      * contracts-bedrock: pin sol version of CrossL2Inbox to 0.8.25
      
      * contracts-bedrock: update semver-lock for CrossL2Inbox
      
      * contracts-bedrock: add CROSS_L2_INBOX to predeploys
      
      * contracts-bedrock: make slots internal in CrossL2Inbox
      
      * contracts-bedrock: add custom errors to CrossL2Inbox
      
      * contracts-bedrock: refactor tests for CrossL2Inbox
      
      * contracts-bedrock: use TransientContext in CrossL2Inbox
      
      * contracts-bedrock: fix L2Genesis test
      
      * contracts-bedrock: minor tweaks to documentation in tests for CrossL2Inbox
      
      * contracts-bedrock: relabel BLOCKNUMBER_SLOT to BLOCK_NUMBER_SLOT in CrossL2Inbox
      
      * contracts-bedrock: update snapshots for CrossL2Inbox
      
      * contracts-bedrock: update semver-lock for CrossL2Inbox
      
      * contracts-bedrock: improve documentation for CrossL2Inbox
      
      * contracts-bedrock: update semver-lock for CrossL2Inbox
      
      * contracts-bedrock: fix tests for CrossL2Inbox
      
      * contracts-bedrock: update modifier in CrossL2Inbox
      
      * contracts-bedrock: drop arguments in custom errors for CrossL2Inbox
      
      * contracts-bedrock: update snapshots for CrossL2Inbox
      
      * contracts-bedrock: update semver-lock for CrossL2Inbox
      
      * contracts-bedrock: fix tests for CrossL2Inbox
      
      * contracts-bedrock: remove redundant lines in CrossL2Inbox
      
      * contracts-bedrock: add tests for CrossL2Inbox
      
      * contracts-bedrock: update semver-lock for CrossL2Inbox
      
      * contracts-bedrock: minor improvements to tests for CrossL2Inbox
      
      * contracts-bedrock: remove ENTERED_SLOT in CrossL2Inbox
      
      * contracts-bedrock: remove CrossL2Inbox from isSupportedPredeploy
      
      * contracts-bedrock: update semver-lock for CrossL2Inbox
      
      * contracts-bedrock: update CrossL2Inbox with eip3074 specs
      
      * contracts-bedrock: update tests for CrossL2Inbox with eip3074 specs
      
      * contracts-bedrock: improve doc in tests for CrossL2Inbox
      
      * contracts-bedrock: update snapshots for CrossL2Inbox
      
      * contracts-bedrock: update semver-lock for CrossL2Inbox
      826a7bdc
    • Afanti's avatar
      fix: typo in the code comments (#10229) · 7e937296
      Afanti authored
      * fix: typo in the code comments
      
      * fix: correct the syntax error in the code comment
      7e937296
    • dependabot[bot]'s avatar
      dependabot(gomod): bump github.com/minio/minio-go/v7 (#10323) · 83611e5f
      dependabot[bot] authored
      Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.69 to 7.0.70.
      - [Release notes](https://github.com/minio/minio-go/releases)
      - [Commits](https://github.com/minio/minio-go/compare/v7.0.69...v7.0.70)
      
      ---
      updated-dependencies:
      - dependency-name: github.com/minio/minio-go/v7
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      83611e5f
    • dependabot[bot]'s avatar
      dependabot(gomod): bump gorm.io/gorm from 1.25.9 to 1.25.10 (#10324) · 06ab6138
      dependabot[bot] authored
      Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.9 to 1.25.10.
      - [Release notes](https://github.com/go-gorm/gorm/releases)
      - [Commits](https://github.com/go-gorm/gorm/compare/v1.25.9...v1.25.10)
      
      ---
      updated-dependencies:
      - dependency-name: gorm.io/gorm
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      06ab6138
  3. 26 Apr, 2024 5 commits
  4. 25 Apr, 2024 12 commits
    • Mark Tyneway's avatar
      op-bindings: delete hardhat package (#10300) · ba174f4d
      Mark Tyneway authored
      This package was helpful when we still relied on hardhat
      for the compiler toolchain. Now that we use foundry, this
      is no longer used anywhere. Deleting to reduce dead code
      in the repo.
      ba174f4d
    • Mark Tyneway's avatar
      op-bindings: delete ast package (#10299) · c5a2ec41
      Mark Tyneway authored
      This package canonicalized the ast ids that were placed
      in the bindings `more` files because any change in the
      smart contracts would cause a massive diff in the storage
      layout for all storage layouts as they used the ast ids
      to represent types. We needed to canonicalize them to have
      deterministic bindings generation, otherwise CI would generate
      the bindings in a non deterministic way. As we adopted new
      solidity features, it would find edge cases in our ast canonicalize
      algo, breaking CI. This code helped us for a long time but
      now it is no longer used and can be retired.
      c5a2ec41
    • Mark Tyneway's avatar
      op-bindings: remove bindgen (#10301) · 35f29894
      Mark Tyneway authored
      Removes the bindgen cli tool from the repo since it is not owned
      by anybody and also not used to generate bindings anymore since
      we are moving away from auto generated bindings.
      35f29894
    • Adrian Sutton's avatar
    • Adrian Sutton's avatar
      op-challenger: Share providers across different game instances (#10305) · 1ca1d81b
      Adrian Sutton authored
      Avoids loading the full state to extract the commitment for each individual game.
      1ca1d81b
    • Adrian Sutton's avatar
      op-challenger: Rename `--l2-rpc` to `--l2-eth-rpc` and log warning for... · b23d3f67
      Adrian Sutton authored
      op-challenger: Rename `--l2-rpc` to `--l2-eth-rpc` and log warning for deprecated `--cannon-l2` (#10257)
      
      * op-challenger: Log a warning when deprecated --cannon-l2 option is used.
      
      * op-challenger: Rename --l2-rpc to --l2-eth-rpc for consistency with --l1-eth-rpc
      b23d3f67
    • Mark Tyneway's avatar
      op-chain-ops: delete dead code (#10298) · 59d4fbb2
      Mark Tyneway authored
      Now that genesis generation is in solidity, delete
      dead code. This code serialized solidity types suitable
      for storage. Very similar to abi encoding but not always
      the same, big difference was dynamic types, this library
      only supported dynamic types <= 31 bytes to not handle the
      chunking. This impacted the sorts of types that could
      be in the genesis storage.
      59d4fbb2
    • Diego's avatar
      Create Context-Aware Transient Storage Library (#10259) · 12a72abf
      Diego authored
      * contracts-bedrock: create TransientContext.sol
      
      * contracts-bedrock: create test for Transient.sol
      
      * contracts-bedrock: add documentation for Transient library
      
      * contracts-bedrock: fix transient test
      
      * contracts-bedrock: minor improvements to Transient lib tests
      
      * contracts-bedrock: minor improvements to documentation for tests of Transient
      
      * contracts-bedrock: minor improvements to documentation for tests of Transient
      
      * contracts-bedrock: refactor Transient lib
      
      * contracts-bedrock: add missing documentation in Transient lib
      
      * contracts-bedrock: set correct CALL_DEPTH_SLOT in Transient lib
      
      * contracts-bedrock: refactor Transient lib into TransientContext lib
      
      * contracts-bedrock: improve labeling of vars in TransientContext
      
      * contracts-bedrock: create tests for TransientContext
      
      * contracts-bedrock: change var type of CALL_DEPTH_SLOT
      
      * contracts-bedrock: refactor tests for TransientContext
      
      * contracts-bedrock: refactor tests for TransientContext
      
      * contracts-bedrock: add testFuzz_increment_fromMax_reverts
      
      * contracts-bedrock: create test_increment_overflow_succeeds
      
      * contracts-bedrock: drop underflow check in TransientContext
      
      * contracts-bedrock: add additional tests for TransientContext
      
      * contracts-bedrock: add documentation for TransientContext
      
      * contracts-bedrock: add documentation for TransientContext
      
      * contracts-bedrock: use suffix for return vars in TransientContext
      
      * contracts-bedrock: use inline hash for callDepthSlot in TransienttContext tests
      
      * contracts-bedrock: reintroduce transient-storage ignored error code to foundry.toml
      
      * contracts-bedrock: remove unnecessary tests for TransientContext
      
      * contracts-bedrock: create snapshots
      12a72abf
    • Inphi's avatar
      op-challenger: Fix list-claims command (#10042) · 1f551590
      Inphi authored
      1f551590
    • smartcontracts's avatar
      feat(ct): update max bond gas to 300m (#10275) · 03105023
      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: default avatarclabby <ben@clab.by>
      03105023
    • Adrian Sutton's avatar
      op-challenger: Read created game address from receipt (#10277) · bd80e581
      Adrian Sutton authored
      Extracts the game creation logic into reusable code.
      bd80e581
    • Juan C's avatar
  5. 24 Apr, 2024 12 commits
    • Adrian Sutton's avatar
      op-challenger: Support multiple prestates (#10282) · 29761a64
      Adrian Sutton authored
      * op-challenger: Implement prestate sources
      
      * op-challenger: Add canon-prestates-url flag to configure a source for prestates based on hash
      29761a64
    • clabby's avatar
      feat(ctb): Log preimage oracle calldata (#10278) · 66a21a9a
      clabby authored
      * feat(ctb): Log preimage oracle calldata
      
      * Add log tests
      
      x
      
      more binding
      66a21a9a
    • Aaron Chen's avatar
      remove duplicate imports (#10284) · 62a554dc
      Aaron Chen authored
      62a554dc
    • Joshua Gutow's avatar
      da-server: Switch back to minio (#10281) · c6fe5c9c
      Joshua Gutow authored
      c6fe5c9c
    • Ethnical's avatar
      `chain-mon` restructuring (#10246) · 6b231760
      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`
      6b231760
    • Mark Tyneway's avatar
      contracts-bedrock: remove bindings requirement (#10285) · c5bfb821
      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
      c5bfb821
    • Mark Tyneway's avatar
      op-plamsa: use local bindings (#10286) · a8b6039f
      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.
      a8b6039f
    • zhiqiangxu's avatar
      `Position.TraceIndex`: panic when `maxDepth < p.depth` happens (#10007) · 4fb534ab
      zhiqiangxu authored
      * ensure "maxDepth < p.depth" never happens
      
      * add more log
      4fb534ab
    • Mark Tyneway's avatar
      op-bindings: delete `more` files (#10272) · b2fb246b
      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
      b2fb246b
    • Mark Tyneway's avatar
      contracts-bedrock: remove cannon deps on bindings (#10280) · 9ca3362d
      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
      9ca3362d
    • Park Changwan's avatar
      op-e2e: Refactor for asterisc e2e (#10214) · d4706dad
      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
      d4706dad
    • Joshua Gutow's avatar
      Fix tag script (#10261) · 1667124c
      Joshua Gutow authored
      1667124c