1. 18 Aug, 2022 2 commits
    • Joshua Gutow's avatar
      op-node: Add ResetDerivationPipeline RPC (#3238) · b31d35b6
      Joshua Gutow authored
      * op-node: Add ResetDerivationPipeline RPC
      
      This is an RPC call this is useful for testing the robustness of
      the derivation pipeline to resets.
      
      * op-node: Create new admin namespace
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      b31d35b6
    • Mark Tyneway's avatar
      feat: storage slot setting + memory db (#3216) · e5fc3fcf
      Mark Tyneway authored
      * state-surgery: add solc package
      
      Move types into solc package that are associated
      with solc. Add `CompilerInput` and `CompilerOutput`
      types.
      
      * state-surgery: clean up hardhat package
      
      Use some solc types
      
      * state-surgery: add state package
      
      Implement some of smock's utils in go
      
      * state-surgery: cleanup
      
      * state-surgery: refactor + add better test coverage
      
      * state-surgery: cleanup
      
      * state-surgery: add tests for merging storage slots
      
      * state-surgery: godoc
      
      * state-surgery: more tests
      
      * state-surgery: more cleanup
      e5fc3fcf
  2. 16 Aug, 2022 4 commits
  3. 15 Aug, 2022 4 commits
  4. 13 Aug, 2022 2 commits
  5. 12 Aug, 2022 2 commits
    • Mark Tyneway's avatar
      state-surgery: add immutables package (#3211) · b1d5fd2c
      Mark Tyneway authored
      * state-surgery: add immutables package
      
      Add a package for dealing with immutables so that
      the deployed bytecode can be set directly in state.
      Each contract from the `op-bindings` package is imported
      and deployed to a simulated backend. The `op-bindings`
      package is enforced to be up to date by CI. Each of the
      contracts was double checked that the arguments passed are
      not immutables, the existing immutable values are hardcoded
      into the contract itself. To handle the case where immutables
      are dynamic, we will need to read in config and pass that
      through. The methodology on how to do that is documented
      in a TODO message.
      
      The build step runs in CI meaning that changes to the
      contract constructor interfaces will result in this
      package failing to build.
      
      This code could be slightly modularized to be used in
      `op-e2e` for creating the initial L2 state. Will leave
      that for an additional follow up PR.
      
      * state-surgery: additional sanity check
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      b1d5fd2c
    • Joshua Gutow's avatar
      op-node: Add L1 reorg depth metrics (#3210) · 4dda5247
      Joshua Gutow authored
      4dda5247
  6. 11 Aug, 2022 10 commits
  7. 10 Aug, 2022 8 commits
  8. 09 Aug, 2022 7 commits
  9. 08 Aug, 2022 1 commit