1. 11 Jun, 2022 1 commit
  2. 10 Jun, 2022 14 commits
  3. 09 Jun, 2022 18 commits
  4. 08 Jun, 2022 7 commits
    • smartcontracts's avatar
      feat(cmn): BaseServiceV2 exposes internal options (#2688) · 9ecbf3e5
      smartcontracts authored
      BaseServiceV2 will expose internal options (loop interval, metrics port,
      etc) as environment variables or command line options.
      9ecbf3e5
    • Matthew Slipper's avatar
      proxyd: Fix concurrent WS write panic (#2711) · 552cd641
      Matthew Slipper authored
      Fixes a panic in the websocket proxyd logic. Normally, the `clientPump` and `backendPump` methods in `WSProxier` send data in one direction. However, when the client sends an invalid RPC, the `clientPump` will send a response _directly to the client_ in order to avoid unnecessary roundtrips to the backend. This could be interleaved with concurrent writes to the client's WS in `backendPump`, and would cause a panic in the WS library.
      
      To test this, this PR includes a dedicated integration test that reliably triggers the issue. In addition, this PR adds additional testing for WS functionality.
      552cd641
    • Matthew Slipper's avatar
      Revert "contracts: optimize `L1Block.setL1BlockValues` (#2596)" · 0577e787
      Matthew Slipper authored
      This reverts commit 2d791301.
      0577e787
    • Ben Wilson's avatar
      Redeploy to Goerli (#2708) · 7c5ac36f
      Ben Wilson authored
      * Redeploy to Goerli
      
      * yarn autogen:markdown
      
      * Added changeset
      
      * Added new goerli genesis
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      7c5ac36f
    • Murphy Law's avatar
      proxyd: Handle unexpected JSON-RPC responses (#2628) · 58dc7adc
      Murphy Law authored
      This fixes a bug where the infura backend would be labeled offline because it
      returns an unexpected JSON-RPC response. Unexpected, but well-formed,
      JSON-RPC response are handled specially. Such errors are surfaced up to
      the backend proxier so failover still occurs.
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      58dc7adc
    • Mark Tyneway's avatar
      package: contracts-governance (#2670) · 3d4d988c
      Mark Tyneway authored
      * package: contracts-governance
      
      * contracts-governance: update deps
      
      kelvin magic touch
      
      * contracts-governance: fix tsconfig
      
      * deps: more fixes
      
      * ci: add contracts-governance tests
      
      * ops: install contracts-governance
      
      * Create light-parrots-yell.md
      
      * contracts-governance: delete nvmrc
      
      * contracts-governance: package.json cleanup
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      3d4d988c
    • Mark Tyneway's avatar
      contracts: optimize `L1Block.setL1BlockValues` (#2596) · 2d791301
      Mark Tyneway authored
      * contracts: optimize `L1Block.setL1BlockValues`
      
      The amount of gas required to update the
      L1 block values can be reduced by ~5000 gas by tightly
      packing the `uint64`s into a single storage slot.
      This is important because there will be a single
      transaction at the beginning of each block that will
      be updating these values. ~100 gas is saved by using
      yul instead of straight solidity. I don't feel like the
      yul is particularly difficult to read in this context,
      and saving 100 gas per block will add up to a lot over
      the history of the chain. This logic is covered by foundry
      fuzzing.
      
      * op-bindings: regenerate
      2d791301