Skip to content

Commit f42b14a

Browse files
authored
Update local testnet scripts for the fulu fork (#8489)
* Remove `fulu-devnet-3` testing on CI * Delete `scripts/local_testnet/network_params_das.yaml` and consolidate it into the main `network_params.yaml` file we use on CI * Delete enclave before building image, so it doesn't cause slow image building. Co-Authored-By: Jimmy Chen <[email protected]>
1 parent 90dd5bb commit f42b14a

File tree

6 files changed

+31
-78
lines changed

6 files changed

+31
-78
lines changed

.github/workflows/local-testnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179
continue-on-error: true
180180
strategy:
181181
matrix:
182-
network: [sepolia, devnet]
182+
network: [sepolia]
183183
steps:
184184
- uses: actions/checkout@v5
185185

scripts/local_testnet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cd ./scripts/local_testnet
2121
```
2222

2323
It will build a Lighthouse docker image from the root of the directory and will take an approximately 12 minutes to complete. Once built, the testing will be started automatically. You will see a list of services running and "Started!" at the end.
24-
You can also select your own Lighthouse docker image to use by specifying it in `network_params.yml` under the `cl_image` key.
24+
You can also select your own Lighthouse docker image to use by specifying it in `network_params.yaml` under the `cl_image` key.
2525
Full configuration reference for Kurtosis is specified [here](https://github.com/ethpandaops/ethereum-package?tab=readme-ov-file#configuration).
2626

2727
To view all running services:
Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,37 @@
11
# Full configuration reference [here](https://github.com/ethpandaops/ethereum-package?tab=readme-ov-file#configuration).
22
participants:
3-
- el_type: geth
3+
- cl_type: lighthouse
4+
cl_image: lighthouse:local
5+
el_type: geth
46
el_image: ethereum/client-go:latest
5-
cl_type: lighthouse
7+
supernode: true
8+
cl_extra_params:
9+
- --target-peers=3
10+
count: 2
11+
- cl_type: lighthouse
612
cl_image: lighthouse:local
13+
el_type: geth
14+
el_image: ethereum/client-go:latest
15+
supernode: false
716
cl_extra_params:
817
- --target-peers=3
9-
count: 4
18+
count: 2
1019
network_params:
11-
electra_fork_epoch: 0
12-
seconds_per_slot: 3
13-
global_log_level: debug
20+
fulu_fork_epoch: 0
21+
seconds_per_slot: 6
1422
snooper_enabled: false
23+
global_log_level: debug
1524
additional_services:
1625
- dora
1726
- spamoor
1827
- prometheus_grafana
1928
- tempo
29+
spamoor_params:
30+
image: ethpandaops/spamoor:master
31+
spammers:
32+
- scenario: eoatx
33+
config:
34+
throughput: 200
35+
- scenario: blobs
36+
config:
37+
throughput: 20

scripts/local_testnet/network_params_das.yaml

Lines changed: 0 additions & 41 deletions
This file was deleted.

scripts/local_testnet/start_local_testnet.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ if [ "$RUN_ASSERTOOR_TESTS" = true ]; then
7878
echo "Assertoor has been added to $NETWORK_PARAMS_FILE."
7979
fi
8080

81+
if [ "$KEEP_ENCLAVE" = false ]; then
82+
# Stop local testnet
83+
kurtosis enclave rm -f $ENCLAVE_NAME 2>/dev/null || true
84+
fi
85+
8186
if [ "$BUILD_IMAGE" = true ]; then
8287
echo "Building Lighthouse Docker image."
8388
ROOT_DIR="$SCRIPT_DIR/../.."
@@ -86,11 +91,6 @@ else
8691
echo "Not rebuilding Lighthouse Docker image."
8792
fi
8893

89-
if [ "$KEEP_ENCLAVE" = false ]; then
90-
# Stop local testnet
91-
kurtosis enclave rm -f $ENCLAVE_NAME 2>/dev/null || true
92-
fi
93-
9494
kurtosis run --enclave $ENCLAVE_NAME github.com/ethpandaops/ethereum-package@$ETHEREUM_PKG_VERSION --args-file $NETWORK_PARAMS_FILE
9595

9696
echo "Started!"

scripts/tests/checkpoint-sync-config-devnet.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)