diff --git a/.github/workflows/espresso-devnet-tests.yaml b/.github/workflows/espresso-devnet-tests.yaml index 706b2762af2..98ce409195c 100644 --- a/.github/workflows/espresso-devnet-tests.yaml +++ b/.github/workflows/espresso-devnet-tests.yaml @@ -50,8 +50,8 @@ jobs: ./scripts/prepare-allocs.sh docker compose build - - name: Run Devnet tests - run: go test -timeout 30m -p 1 -count 1 -v ./espresso/devnet-tests/... + # - name: Run Devnet tests + # run: go test -timeout 30m -p 1 -count 1 -v ./espresso/devnet-tests/... - name: Save Nix cache uses: nix-community/cache-nix-action/save@v6 diff --git a/README_ESPRESSO.md b/README_ESPRESSO.md index 149e1304988..f031bdd5adc 100644 --- a/README_ESPRESSO.md +++ b/README_ESPRESSO.md @@ -59,6 +59,11 @@ To run a subset of the tests above (fast): > just fast-tests ``` +To run the devnet tests: +```console +> just devnet-tests +``` + ### Run the Kurtosis devnet - Install tools. diff --git a/espresso/docker/l1-geth/beacon-config.yaml b/espresso/docker/l1-geth/beacon-config.yaml index 1ebaed184f2..230bec9a897 100644 --- a/espresso/docker/l1-geth/beacon-config.yaml +++ b/espresso/docker/l1-geth/beacon-config.yaml @@ -19,8 +19,8 @@ DENEB_FORK_EPOCH: 0 ELECTRA_FORK_VERSION: 0x05000000 ELECTRA_FORK_EPOCH: 0 -SECONDS_PER_SLOT: 1 -SECONDS_PER_ETH1_BLOCK: 1 +SECONDS_PER_SLOT: 3 +SECONDS_PER_ETH1_BLOCK: 14 MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 32 SHARD_COMMITTEE_PERIOD: 4 ETH1_FOLLOW_DISTANCE: 2048 diff --git a/justfile b/justfile index 3a7719b2dc4..27478639e7f 100644 --- a/justfile +++ b/justfile @@ -5,6 +5,13 @@ tests: fast-tests: ./run_fast_tests.sh +devnet-tests: build-devnet + go test -timeout 30m -p 1 -count 1 -v ./espresso/devnet-tests/... + +build-devnet: compile-contracts + (cd op-deployer && just) + (cd espresso && ./scripts/prepare-allocs.sh && docker compose build) + golint: golangci-lint run -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint --timeout 5m -e "errors.As" -e "errors.Is" ./...