Skip to content

Commit

Permalink
build: use geth 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Jul 1, 2024
1 parent 270b745 commit 6d97d5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion orchestrator/builder/blockchain/create-account.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion orchestrator/builder/blockchain/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion orchestrator/builder/blockchain/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=* \
Expand Down

0 comments on commit 6d97d5b

Please sign in to comment.