1. 23 Feb, 2024 7 commits
    • 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
  2. 22 Feb, 2024 15 commits
  3. 21 Feb, 2024 8 commits
  4. 20 Feb, 2024 2 commits
  5. 19 Feb, 2024 1 commit
  6. 17 Feb, 2024 6 commits
  7. 16 Feb, 2024 1 commit