1. 26 Dec, 2023 1 commit
  2. 23 Dec, 2023 9 commits
  3. 22 Dec, 2023 13 commits
  4. 21 Dec, 2023 12 commits
  5. 20 Dec, 2023 5 commits
    • Hamdi Allam's avatar
      parallel tests (#8695) · e57ad63a
      Hamdi Allam authored
      e57ad63a
    • Francis Li's avatar
      [op-conductor] Implement Raft FSM (#8685) · b9d7c68f
      Francis Li authored
      * Add raft FSM code
      
      * Update docstring comment to correct one
      b9d7c68f
    • dependabot[bot]'s avatar
      build(deps): bump ethereum/client-go in /ops-bedrock (#8698) · 355bdf33
      dependabot[bot] authored
      Bumps ethereum/client-go from v1.13.5 to v1.13.7.
      
      ---
      updated-dependencies:
      - dependency-name: ethereum/client-go
        dependency-type: direct:production
      ...
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      355bdf33
    • Sebastian Stammler's avatar
    • Evan Richard's avatar
      op-service, op-batcher, op-proposer: Active sequencer follow mode (#8585) · c04cefe0
      Evan Richard authored
      * op-service: Add ActiveL2EndpointProvider.
      
      * Fix bug in initialization, and handle case where no ethUrls are provided.
      
      * Split active L2 provider into active rollup and active L2 provider.
      
      * Re-duplicate some code until tests are passing.
      
      * op-proposer: Add ability to enable active provider.
      
      * op-batcher: Add ability to enable active provider.
      
      * Add an empty test skeleton.
      
      * Add an empty test skeleton.
      
      * op-service: add, but do not yet use, RollupClientInterface and EthClientInterface.
      
      * op-service: update mocks and interfaces for endpoint provider testing.
      
      * op-service - WIP on Active L2 Providers: unit tests pass, design and impl contains TODOs.
      
      * op-service: restore design in Active Endpoint Providers that only keeps one client open at a time.
      
      * op-service: when dialing a new sequencer, close() the old connection.
      
      * op-service: obey coderabbit suggestion around safer handling of p.currentIndex in Active L2 Providers.
      
      * op-service, op-batcher, op-proposer: address review comments in PR#8585.
      
      * op-service: Active L2 Provider - add test case for a sequencer returning an error.
      
      * op-service: Active L2/Rollup Providers: improve unit testing and logging.
      
      * op-service, op-batcher: address review comments in 8585 regarding first-startup behavior and testing.
      
      * op-service: address review comments through adding more tests, and moving "nil client" behavior from client getter to constructor.
      
      * op-service: minor error message change in active endpoint providers.
      
      * Update op-service/dial/active_l2_provider.go
      Co-authored-by: default avatarcoderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
      
      * op-service: obey linter in rabbit-provided error message change.
      
      * Update op-service/dial/active_l2_provider.go
      Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
      
      * op-service active L2 provider tests: assertAllExpectations after most tests.
      
      * op-service: more elegantly handle startup in active l2 providers, and improve testing.
      
      * Change remaining longDurationTests to be able to use ept.assertAllExpectations.
      
      * use new error errSeqUnset.
      
      * Add test for scenario where many sequencers are inactive, and only the last is active.
      
      * Readability change: move the on-creation initialization to its own function.
      
      * Move extra one-time dial to constructor.
      
      * Update op-service/dial/active_rollup_provider.go
      Co-authored-by: default avatarcoderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
      
      * Add nil check to active l2 provider.
      
      * Update op-service/dial/active_rollup_provider.go
      Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
      
      * Address review comment: change many-inactive tests to many-undialable tests.
      
      * Add test that reproduces internal state corruption.
      
      * op-service: Improve active seq provider
      
      - Preserve the invariant that the index and current rollup/eth
        client match.
      - Dial at the start of the loop instead of at the end.
      
      * Fix some tests.
      
      * Move usage of ExpectClose to MaybeClose, we don't want to enforce a particular close behavior in these tests.
      
      * add a missing call to assertAllExpectations.
      
      * Test even the case where the active providers are managing a list of 1 element.
      
      * Revert experimental hunk in active_l2_provider.
      
      ---------
      Co-authored-by: default avatarcoderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
      Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
      c04cefe0