1. 25 Apr, 2024 11 commits
    • 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
  2. 24 Apr, 2024 17 commits
  3. 23 Apr, 2024 12 commits