Skip to content

Commit 853ffe9

Browse files
Ayigaphilippecamachoshenkeyao
authored
Fix caff-node stalling (#213)
* Revert timing changes for beacon * just command to run the devnet tests. * Comment out running the devnet tests in CI. --------- Co-authored-by: Philippe Camacho <[email protected]> Co-authored-by: Keyao Shen <[email protected]>
1 parent 2ae5724 commit 853ffe9

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

.github/workflows/espresso-devnet-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
./scripts/prepare-allocs.sh
5151
docker compose build
5252
53-
- name: Run Devnet tests
54-
run: go test -timeout 30m -p 1 -count 1 -v ./espresso/devnet-tests/...
53+
# - name: Run Devnet tests
54+
# run: go test -timeout 30m -p 1 -count 1 -v ./espresso/devnet-tests/...
5555

5656
- name: Save Nix cache
5757
uses: nix-community/cache-nix-action/save@v6

README_ESPRESSO.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ To run a subset of the tests above (fast):
5959
> just fast-tests
6060
```
6161

62+
To run the devnet tests:
63+
```console
64+
> just devnet-tests
65+
```
66+
6267
### Run the Kurtosis devnet
6368

6469
- Install tools.

espresso/docker/l1-geth/beacon-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ DENEB_FORK_EPOCH: 0
1919
ELECTRA_FORK_VERSION: 0x05000000
2020
ELECTRA_FORK_EPOCH: 0
2121

22-
SECONDS_PER_SLOT: 1
23-
SECONDS_PER_ETH1_BLOCK: 1
22+
SECONDS_PER_SLOT: 3
23+
SECONDS_PER_ETH1_BLOCK: 14
2424
MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 32
2525
SHARD_COMMITTEE_PERIOD: 4
2626
ETH1_FOLLOW_DISTANCE: 2048

justfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ tests:
55
fast-tests:
66
./run_fast_tests.sh
77

8+
devnet-tests: build-devnet
9+
go test -timeout 30m -p 1 -count 1 -v ./espresso/devnet-tests/...
10+
11+
build-devnet: compile-contracts
12+
(cd op-deployer && just)
13+
(cd espresso && ./scripts/prepare-allocs.sh && docker compose build)
14+
815
golint:
916
golangci-lint run -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint --timeout 5m -e "errors.As" -e "errors.Is" ./...
1017

0 commit comments

Comments
 (0)