From 6d97d5b4cd88242430c6413671afd875c50d38d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Levente=20T=C3=B3th?= Date: Mon, 1 Jul 2024 10:53:39 +0200 Subject: [PATCH] build: use geth 1.13 --- orchestrator/builder/blockchain/create-account.sh | 2 +- orchestrator/builder/blockchain/init.sh | 2 +- orchestrator/builder/blockchain/start.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/orchestrator/builder/blockchain/create-account.sh b/orchestrator/builder/blockchain/create-account.sh index 1e23ef1..7493394 100644 --- a/orchestrator/builder/blockchain/create-account.sh +++ b/orchestrator/builder/blockchain/create-account.sh @@ -3,5 +3,5 @@ MY_PATH=$(dirname "$0") MY_PATH=$( cd "$MY_PATH" && pwd ) -docker run --rm -v $MY_PATH:/root ethereum/client-go account new --password /root/password +docker run --rm -v $MY_PATH:/root ethereum/client-go:release-1.13 account new --password /root/password echo "Update genesis.json and start.sh with the generated address before moving on" continue \ No newline at end of file diff --git a/orchestrator/builder/blockchain/init.sh b/orchestrator/builder/blockchain/init.sh index 3e2983a..fc97b2e 100755 --- a/orchestrator/builder/blockchain/init.sh +++ b/orchestrator/builder/blockchain/init.sh @@ -3,5 +3,5 @@ MY_PATH=$(dirname "$0") MY_PATH=$( cd "$MY_PATH" && pwd ) -docker run --rm -v $MY_PATH:/root ethereum/client-go init /root/genesis.json +docker run --rm -v $MY_PATH:/root ethereum/client-go:release-1.13 init /root/genesis.json echo "Build the docker image of the blockchain with docker-build.sh after migrating and supplying" diff --git a/orchestrator/builder/blockchain/start.sh b/orchestrator/builder/blockchain/start.sh index 12570f4..cce96b7 100755 --- a/orchestrator/builder/blockchain/start.sh +++ b/orchestrator/builder/blockchain/start.sh @@ -14,7 +14,7 @@ CONTAINER_IN_DOCKER=$(docker container ls -qaf name=$NAME) if [ -z "$CONTAINER_IN_DOCKER" ]; then docker run -p 9545:9545 --network $NETWORK --name $NAME -v "$MY_PATH:/root" -d \ - ethereum/client-go:stable --allow-insecure-unlock \ + ethereum/client-go:release-1.13 --allow-insecure-unlock \ --unlock 0xCEeE442a149784faa65C35e328CCd64d874F9a02 --password /root/password \ --mine --miner.etherbase=0xCEeE442a149784faa65C35e328CCd64d874F9a02 \ --http --http.api="debug,web3,eth,txpool,net,personal" --http.corsdomain=* --http.port=9545 --http.addr=0.0.0.0 --http.vhosts=* \