1. 27 Feb, 2024 6 commits
  2. 26 Feb, 2024 8 commits
  3. 24 Feb, 2024 6 commits
  4. 23 Feb, 2024 10 commits
    • Adrian Sutton's avatar
      op-dispute-mon: Fix resolution to respect step actions (#9635) · eb43f71a
      Adrian Sutton authored
      * op-dispute-mon: Fix resolution to respect step actions
      op-challenger: Add skipped game_solver tests for freeloader claims
      
      * op-challenger: Add addition freeloader test.
      eb43f71a
    • alvarius's avatar
      op-plasma: add data availability challenge contract (#9356) · 889b59c7
      alvarius authored
      * feat: add op-plasma data availability challenge contract
      
      * fix: usePlasma and remove plasma template
      
      * add DAC to Spec.t.sol
      
      * add DAC to initialize config
      
      * fix tests
      
      * formatting
      
      * add setter for plasma mode
      
      * use alternative approach for enabling plasma mode in tests]
      
      * extend test config output
      
      * regen bindings
      
      * add usePlasma to config.go
      
      * add usePlasma to config.go
      
      * allow enabling plasma in test environment
      
      * initialize data availability challenge contract in constructor
      
      * use proxy in DAC test
      
      * fix spec test
      
      * update bindings
      
      * update type of usePlasma in config.go
      
      * skip DAC in setup.go check for now
      
      * skip DAC in setup.go if UsePlasma is wrong
      
      * forge fmt
      
      * gas snapshot
      
      * add semver lock
      
      * add snapshot
      
      * improve comments
      
      * absolute import
      
      * bound refund percentage
      
      * turn DAC test into a CommonTest
      
      * set semver to 1.0.0
      
      * add versioned commitments
      
      * regenerate bindings
      
      * regenerate snapshots
      
      * update spec
      
      * update gas snapshot
      
      * add DAC to SystemConfig
      
      * update semver
      
      * update gas snapshot
      
      * invariant
      
      * snapshot
      
      * bindings
      
      * reorder deployment to have the DAC address before SystemConfig
      
      * update spec
      
      * move the DAC test to test/L1
      
      * update snapshots
      
      * add precision to the variable resolution cost
      
      * regen artifacts
      
      * semver lock
      
      * bindings
      
      * revert system config changes
      
      * validate commitment length
      
      * rebuild go bindings
      
      * update constants
      
      * remove indexed from commitment event
      
      * semver lock
      
      * add balance changed event to withdraw
      
      * add method to get challenge status
      
      * use basefee instead of gasprice
      
      * use existing dac in test
      
      * add sane default values to deploy config
      
      * pre-pr
      
      * go bindings
      
      * assume challenger and resolver are different entities for balance checks in the resolver test
      
      * add test for validate commitment, move out _getCommitmentType
      
      ---------
      Co-authored-by: default avatartchardin <tdotchardin@gmail.com>
      889b59c7
    • Adrian Sutton's avatar
      op-ufm: Update go.mod (#9631) · 256d3d7c
      Adrian Sutton authored
      256d3d7c
    • Adrian Sutton's avatar
      op-node: Add option to enable safe head history database (#9575) · 80a122ac
      Adrian Sutton authored
      * op-node: Add option to enable safe head history database.
      
      Currently it just logs the information and has no actual database.
      
      * op-node: Introduce pebble db to store safe head updates
      
      * op-node: Reset the pipeline if safe head updates fail to be recorded
      
      * go mod tidy
      
      * op-node: Truncate when L1 head is reduced.
      
      * op-node: Record accurate safe head data when restarting
      
      * op-node: Ensure the latest safe head update is reset on a pipeline reset.
      
      * op-node: Improve thread safety of safedb
      
      * op-node: Add L2 block number to stored data
      
      * op-node: Add API method to retrieve safe head at an L1 block number
      
      * op-node: Tidy up key handling in safedb.
      
      * op-node: Use an explicit reset event to clear entries invalidated by a pipeline reset
      
      Add action test to confirm reorgs are correctly handled.
      
      * op-node: Undo changes to start. We always step the safe head back at least one block.
      
      * op-node: Simplify error message when requested record is prior to start of history
      
      * op-node: Improve log message
      
      * op-node: Tidy up
      
      * op-node: Include L1 block number in response.
      
      * op-node: Add missing AssertExpectations
      
      * op-node: Verify key prefix
      80a122ac
    • refcell's avatar
    • Mark Tyneway's avatar
      contracts-bedrock: modularize config (#9475) · 3b8933d3
      Mark Tyneway authored
      * contracts-bedrock: modularize config
      
      All env var based config for the deploy scripts is centralized
      into a single library called `Config`. Any `vm.env` or `vm.envOr`
      calls should be added here so that it is easy to track the full
      set of configuration options. Having this library makes configuration
      much more self documenting for the deploy scripts.
      
      This modularization is meant to make the migration away the old
      hardhat deploy style architecture much easier. Now that we have
      a canonical set of config values, we can be sure that anything
      behind the abstraction is applied properly across the codebase
      when it is changed.
      
      There is a bunch of deprecated config, that will be able to
      be deleted after https://github.com/ethereum-optimism/optimism/pull/9315
      is merged along with some changes around where the default output
      location for deploy artifacts is. Right now it is in the deployment
      context directory, which the entire concept of deployment context
      comes from hardhat deploy, which doesn't necessarily make sense
      anymore. Right now it ends up in `deployments/<deploy-context>/.deploy`.
      In the future, it will likely end up in the root of the contracts
      directory by default and then an override can be provided where
      the override is expected to be the absolute path to the desired
      output location. This will greatly improve the devex and maintainability
      of the deploy script.
      
      * lint: fix
      3b8933d3
    • refcell's avatar
      fix(op-dispute-mon): Pointer Argument Optimization (#9584) · 71b9ba6d
      refcell authored
      * fix(op-challenger): Packed Claim Clock
      
      * fix(op-dispute-mon): port types to pointers
      71b9ba6d
    • Joshua Gutow's avatar
      op-node: Add flag categories (#9629) · f7078830
      Joshua Gutow authored
      * op-node: Add flag categories
      
      * op-node: Order categories & move some beacon flags to L1 RPC
      f7078830
    • Matt Solomon's avatar
      ci: use ci-builder image for slither (#9624) · af1d4829
      Matt Solomon authored
      * ci: use ci-builder image for slither
      
      * Update slither.yml
      
      ---------
      Co-authored-by: default avatarRaffaele <151576068+raffaele-oplabs@users.noreply.github.com>
      af1d4829
    • refcell's avatar
      fix(op-challenger): Packed Claim Clock (#9582) · c0a7e5fc
      refcell authored
      c0a7e5fc
  5. 22 Feb, 2024 10 commits