From b50457a2e06db3008d6299cf419ec6a166c89598 Mon Sep 17 00:00:00 2001 From: gzeon Date: Sat, 17 Aug 2024 00:05:52 +0900 Subject: [PATCH] fix: use latest geth --- docker-compose.yaml | 3 ++- test-node.bash | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index f288facf..c18a1794 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -47,7 +47,7 @@ services: - "127.0.0.1:6379:6379" geth: - image: ethereum/client-go:v1.13.15 + image: ethereum/client-go:latest ports: - "127.0.0.1:8545:8545" - "127.0.0.1:8551:8551" @@ -78,6 +78,7 @@ services: - --nodiscover - --syncmode=full - --gcmode=archive + - --state.scheme=hash # Creates a genesis state for the beacon chain using a YAML configuration file and # a deterministic set of validators diff --git a/test-node.bash b/test-node.bash index 07198664..c828998b 100755 --- a/test-node.bash +++ b/test-node.bash @@ -343,7 +343,7 @@ if $force_init; then docker compose run scripts write-prysm-config echo == Initializing go-ethereum genesis configuration - docker compose run geth init --datadir /datadir/ /config/geth_genesis.json + docker compose run geth init --state.scheme hash --datadir /datadir/ /config/geth_genesis.json echo == Starting geth docker compose up --wait geth