1. 28 Jun, 2022 10 commits
    • Matthew Slipper's avatar
      ci: Conditional check fixes (#2866) · 9a78c1c5
      Matthew Slipper authored
      - Outputs the raw GitHub response in check-changed
      - Updates the golangci-lint version to the one in `go-builder` that supports 1.18
      9a78c1c5
    • Matthew Slipper's avatar
      ci: Use conditional builds (#2853) · 68fc3fed
      Matthew Slipper authored
      - Updates CircleCI jobs to exit early if the git diff doesn't require them to run. This will dramatically reduce our CircleCI usage and speed up the pipeline for projects like Bedrock that don't touch legacy code. The entire pipeline will still run on `develop` and `master`. The conditional logic is aware of package dependencies, so changing an upstream package will correctly trigger a build on downstream dependencies.
      - Creates a new `ci-builder` image to replace `js-builder` and `go-builder`. The `ci-builder` image contains everything we need to run builds on CircleCI.
      - Fixes a bunch of misspellings that should have failed the linter, but didn't.
      68fc3fed
    • Diederik Loerakker's avatar
    • Matthew Slipper's avatar
      op-node: Add metrics (#2840) · 33a59146
      Matthew Slipper authored
      Adds a metrics server config and tracks metrics for the RPC server and RPC client calls. This PR is just a start - there are many more things we can track. Anything that might be affected by the batch derivation work was deliberately excluded.
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      33a59146
    • Maurelian's avatar
    • Mark Tyneway's avatar
      contracts-bedrock: optimize build info generation (#2861) · 8460865f
      Mark Tyneway authored
      Only create the hardhat style `BuildInfo` objects when
      compiling through the hardhat interface. Do not build
      them when going through `forge build`. This saves
      disk i/o when just building using `forge` vs building
      using `hardhat` for releases or hardhat tasks.
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      8460865f
    • Mark Tyneway's avatar
      indexer: deduplicate l2geth and geth deps (#2859) · c6f6d68b
      Mark Tyneway authored
      Remove some of the l2geth packages in place of
      using geth packages directly. This begins to
      remove l2geth as a dependency from the indexer,
      as l2geth will become legacy code after the release
      of bedrock.
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      c6f6d68b
    • Mark Tyneway's avatar
      indexer: fix simple semgrep issues (#2857) · b3921408
      Mark Tyneway authored
      Fix some very simple, low hanging fruit issues
      that semgrep is finding in the indexer.
      
      There are some more issues, but they have a larger
      scope.
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      b3921408
    • Mark Tyneway's avatar
      indexer: use op-bindings for address manager (#2858) · 0b30ae05
      Mark Tyneway authored
      * indexer: use op-bindings for address manager
      
      The `Lib_AddressManager` contract was pulled into
      `contracts-bedrock` as a legacy contract and can be
      imported into `op-bindings` and build the same way that
      the other golang contract bindings are maintained.
      
      This is a legacy contract and should NEVER have any changes to it.
      It is ok if it is compiled with a different compiler version for
      testing, it will never be deployed to a network to be used with an
      Optimism system again. It is very important that the ABI never changes.
      
      Any upgrades to the network that touch this contract first must go
      through a `hardhat` or `anvil` forked network to ensure correctness
      of the upgrade.
      
      * indexer: go mod tidy + dockerfile
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      0b30ae05
    • Maurelian's avatar
      bedrock: Make portal upgradeable (#2825) · ef29d8a5
      Maurelian authored
      * bedrock: Make portal upgradeable
      
      * bedrock: rebuild bindings and snapshot
      
      * bedrock: update portal storage layout
      
      * bedrock: Test oracle behind proxy
      
      --wip--
      
      * bedrock: Test portal behind a proxy
      
      * bedrock: Set l2Sender in initialize
      
      * bedrock: workarounds for forge test overflow bug
      
      * bedrock: reorder inheritance in portal
      
      This shifts the order of inheritance so that the initializable
      values are in the first slot of the portal, which is consistent with
      all other contracts we have that inherit from initializable
      
      * Revert "bedrock: workarounds for forge test overflow bug"
      
      Forge seems to be working again!?
      
      This reverts commit bb8cdf2f3ecce1456c01e668f36b1429e02934d1.
      
      * bedrock: Make ResourceMetering non-abstract
      
      * bedrock: Add test for storage access post upgrade
      
      * chore: update gas snapshot and bindings
      ef29d8a5
  2. 27 Jun, 2022 3 commits
  3. 24 Jun, 2022 2 commits
  4. 23 Jun, 2022 7 commits
  5. 22 Jun, 2022 9 commits
  6. 21 Jun, 2022 3 commits
  7. 19 Jun, 2022 2 commits
  8. 18 Jun, 2022 4 commits