Skip to content

Commit

Permalink
test(kt-devnet): add batcher failover test
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Feb 26, 2025
1 parent 2a78e16 commit c52d9f2
Show file tree
Hide file tree
Showing 5 changed files with 410 additions and 3 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ toolchain go1.22.7

require (
github.com/BurntSushi/toml v1.4.0
github.com/Layr-Labs/eigenda-proxy/clients v1.0.1
github.com/andybalholm/brotli v1.1.0
github.com/bmatcuk/doublestar/v4 v4.8.1
github.com/btcsuite/btcd v0.24.2
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ github.com/DataDog/datadog-go v2.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/DataDog/zstd v1.5.6-0.20230824185856-869dae002e5e h1:ZIWapoIRN1VqT8GR8jAwb1Ie9GyehWjVcGh32Y2MznE=
github.com/DataDog/zstd v1.5.6-0.20230824185856-869dae002e5e/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw=
github.com/Layr-Labs/eigenda-proxy/clients v1.0.1 h1:62NFB1fUauwQPGvTiOXhz1HKaL0fRhGy34tI9EpKz6I=
github.com/Layr-Labs/eigenda-proxy/clients v1.0.1/go.mod h1:JbDNvSritUGHErvzwB5Tb1IrVk7kea9DSBLKEOkBebE=
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
Expand Down
7 changes: 5 additions & 2 deletions kurtosis-devnet/eigenda-memstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ optimism_package:
image: {{ localDockerImage "op-batcher" }}
extra_params:
- --altda.max-concurrent-da-requests=1
- --max-channel-duration=25
- --max-channel-duration=2
- --target-num-frames=1
- --max-l1-tx-size-bytes=1000
- --batch-type=1
Expand All @@ -68,7 +68,8 @@ optimism_package:
cannon_prestates_url: "http://fileserver/proofs/op-program/cannon"
extra_params: []
da_server_params:
image: ghcr.io/layr-labs/eigenda-proxy:v1.6.4
# TODO: release 1.6.5 which has memstore API routes
image: ghcr.io/layr-labs/eigenda-proxy:dev
cmd:
- --addr
- 0.0.0.0
Expand All @@ -86,6 +87,8 @@ optimism_package:
ethereum_package:
participants:
- el_type: geth
el_extra_params:
- --graphql # needed to query for batcher-inbox txs to test failover working correctly
cl_type: teku
network_params:
preset: minimal
Expand Down
5 changes: 4 additions & 1 deletion kurtosis-devnet/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,13 @@ eigenda-memstore-devnet-restart-batcher:
--altda.da-server=http://da-server-op-kurtosis:3100 \
--altda.da-service \
--altda.max-concurrent-da-requests=1 \
--max-channel-duration=25 \
--max-channel-duration=2 \
--target-num-frames=1 \
--max-l1-tx-size-bytes=1000 \
--batch-type=1
[group('eigenda')]
eigenda-memstore-devnet-test:
go test ./tests/eigenda/...
# Simple devnet
simple-devnet: (devnet "simple.yaml")
Expand Down
Loading

0 comments on commit c52d9f2

Please sign in to comment.