1. 10 Aug, 2022 1 commit
  2. 09 Aug, 2022 7 commits
  3. 08 Aug, 2022 1 commit
  4. 06 Aug, 2022 5 commits
  5. 05 Aug, 2022 9 commits
  6. 04 Aug, 2022 12 commits
  7. 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
  8. 02 Aug, 2022 2 commits
    • smartcontracts's avatar
      feat(sdk): add Bedrock support to SDK (#3086) · dac4a9f0
      smartcontracts authored
      * core-utils: add bedrock types
      
      * sdk: implement bedrock functionality
      
      * tests: update for bedrock
      
      * sdk: add hardhat deposit task
      
      * circleci: run deposit task in ci
      
      * tsconfig: cleanup
      
      * contracts-bedrock: make commitment interval larger
      
      * changeset: add
      Co-authored-by: default avatarMark Tyneway <mark.tyneway@gmail.com>
      dac4a9f0
    • Mark Tyneway's avatar
      contracts-bedrock: add forge contract verification support (#3141) · 28649d64
      Mark Tyneway authored
      * contracts-bedrock: add forge contract verification support
      
      Add etherscan contract verification for the hh/foundry
      compiler toolchain. This will eventually be upstreamed,
      but is implemented here to ensure that it works thoroughly
      first.
      
      To run the task:
      
      ```
      export ETHERSCAN_API_KEY=$(cat api-key.txt)
      $ npx hardhat forge-verify --network goerli
      ```
      
      In the future, other contract verification backends
      will be added to forge and this task will be updated
      to support them.
      
      Example contract that was verified: https://goerli.etherscan.io/address/0x1234662682c85fa6fb375416d14db965eba222ba#code
      
      An individual contract can be targeted instead of all of them
      with the `--contract` flag. If hardhat deploy has configured
      external deployments, forge will not be able to verify them.
      It may be possible to implement that in the future.
      
      * contracts-bedrock: modularize tasks
      28649d64