1. 04 Aug, 2022 1 commit
  2. 03 Aug, 2022 3 commits
    • Matthew Slipper's avatar
      op-node: Add transactions sequenced metric (#3162) · bd65ee51
      Matthew Slipper authored
      This will allow us to measure opnode throughput.
      bd65ee51
    • Matthew Slipper's avatar
      op-node: Derivation metrics (#3156) · a1842698
      Matthew Slipper authored
      * op-node: Derivation metrics
      
      Adds support for the following batch derivation metrics:
      
      - 0/1 gauge for if the derivation is idle
      - Count of total pipeline resets
      - Count of total unsafe payloads received
      - Count of total derivation errors
      - Gauge tracking the various L1/L2 safe/unsafe heads
      
      * review updates + more metrics
      a1842698
    • Joshua Gutow's avatar
      op-node: Isolated channel frame serialization (#3125) · 9673eca7
      Joshua Gutow authored
      * op-node: Add channel frame serialization
      
      This creates a struct & serialization & deserialization methods
      for it. This is to replace the current serialization code which
      is embedded in more complex methods.
      
      The reading is done with a reader API instead of a bytes API because
      the frame is variable length & is originally merged together with
      other frames without a clean division. The writing API uses a
      writer for simplicity (but is not required).
      
      This lays the groundwork for easily switching to fixed int sizes.
      
      * op-node: Use channel frame deserialization
      
      This uses the new channel frame object for deserialization. Some
      of the API interaction is a little weird in the channel_bank
      IngestData loop, but the code is not able to be easily tested and
      upgraded.
      
      * op-node: Use channel frame in serialization
      
      This uses the default implementation (through a struct) rather
      than the custom logic. It might make sense to use a slightly
      different API for serialization than deserialization given the
      inputs, but splitting out the logic into it's own function is
      still an improvement.
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      9673eca7
  3. 02 Aug, 2022 11 commits
  4. 01 Aug, 2022 15 commits
  5. 30 Jul, 2022 8 commits
    • Mark Tyneway's avatar
      Merge pull request #3133 from ethereum-optimism/deps/safe-call · 70bf922a
      Mark Tyneway authored
      deps: update excessively-safe-call
      70bf922a
    • Mark Tyneway's avatar
      Merge branch 'develop' into deps/safe-call · a6b8a697
      Mark Tyneway authored
      a6b8a697
    • Mark Tyneway's avatar
      ops-bedrock: simple config fixes · abee3245
      Mark Tyneway authored
      Deletes an old config option and also changes the poll
      interval on the `op-proposer` to `1s` so that it submits
      outputs faster. I found that the proposer will lag a lot,
      especially if the commitment interval is small.
      
      We need to carefully consider the implications of the commitment
      interval and understand if it can be updated dynamically or not.
      abee3245
    • Mark Tyneway's avatar
      contracts-bedrock: add watch task · fe94b864
      Mark Tyneway authored
      A hardhat task that lists off important information.
      Very helpful for debugging live networks.
      
      Usage:
      
      ```
      $ npx hardhat watch --network devnetL1
      ```
      
      It will print off information as the chain makes progress.
      fe94b864
    • Mark Tyneway's avatar
      contracts-bedrock: fix deployment · 3dd296e8
      Mark Tyneway authored
      It was being deployed with the implementation address
      of the `L2OutputOracle` instead of the proxy. This
      was preventing output commitments to actually be posted.
      3dd296e8
    • Joshua Gutow's avatar
      bedrock: Optional pprof servers (#3136) · 2a7be367
      Joshua Gutow authored
      * op-batcher: Enable optional pprof server
      
      * op-proposer: Enable optional pprof server
      
      * op-node: Eanble optional pprof server
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      2a7be367
    • Maurelian's avatar
      test(ctb): change gasLimit arg to uint256 (#3111) · f1bcf4b8
      Maurelian authored
      * test(ctb): change gasLimit arg to uint256
      
      * test(ctb): Set maximum diff fuzz gasLimit to 30MM
      
      * test(ctb): Set maximum diff fuzz value to 120MM eth
      
      * ctb: Address compiler warnings
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      f1bcf4b8
    • Joshua Gutow's avatar
      ops: Use starting L1 Block for timestamp everywhere (#3085) · 9e976947
      Joshua Gutow authored
      * ops: Use starting L1 Block for timestamp everywhere
      
      This transitions the starting timestamp to a new flow. The L2 rollup
      is anchored on a L1 block. The L2 genesis block & rollup config use
      the timestamp of the L1 start block as the their time. Properly
      threading this through the HH tasks is a little tricky but possible.
      This is because we have two flows: creating a L1 network & placing
      the rollup on that and creating a rollup on an existing L1 network
      (like goerli). There is still a L1 starting time for the first flow.
      
      This also fixes a circular dependcy that previously existed. The
      starting timestamp was provided and served as the starting timestamp
      for the L1 genesis & the "L2 Starting Time" in the L2 Output Oracle.
      The actual L2 genesis & rollup start time were based on when the
      Optimism Portal contract was deployed (after the L2 Output Oracle
      contract must have been deployed). The rollup is resilient to being
      started before contracts are fully deployed, so using a specific
      L1 block as the start is the cleanest solution I have seen.
      
      * Fix lint
      
      * Update packages/contracts-bedrock/deploy-config/goerli.ts
      
      * Add undefined checks to l1StartingBlockTag
      
      * lint
      
      * fix checks
      Co-authored-by: default avatarMatthew Slipper <me@matthewslipper.com>
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      9e976947
  6. 29 Jul, 2022 2 commits