Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(kt-devnet): add batcher failover kurtosis test #33

Open
wants to merge 4 commits into
base: feat--op-batcher-altda-failover-to-ethda
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/kurtosis-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ jobs:
experimental: true
- run: just eigenda-memstore-devnet-start
working-directory: kurtosis-devnet
- run: just eigenda-memstore-devnet-test
working-directory: kurtosis-devnet
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
6 changes: 4 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,7 @@ 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
image: ghcr.io/layr-labs/eigenda-proxy:v1.6.5
cmd:
- --addr
- 0.0.0.0
Expand All @@ -86,6 +86,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