This repository was archived by the owner on Feb 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # Set geth version to stable, or pin to a specific version
4+ # as necessary when geth release breaks CI
5+ # Snoop these
6+ # - https://hub.docker.com/r/ethereum/client-go
7+ # - https://github.com/ethereum/go-ethereum/releases
8+ # GETH_VERSION="stable"
9+ GETH_VERSION=" v1.10.26"
10+
311# Exit script as soon as a command fails.
412set -o errexit
513
@@ -11,7 +19,7 @@ run_geth() {
1119 -p 8545:8545 \
1220 -p 8546:8546 \
1321 -p 30303:30303 \
14- ethereum/client-go:stable \
22+ " ethereum/client-go:$GETH_VERSION " \
1523 --http \
1624 --http.addr ' 0.0.0.0' \
1725 --http.port 8545 \
@@ -41,7 +49,7 @@ if [ "$INTEGRATION" = true ]; then
4149elif [ " $GETH " = true ]; then
4250
4351 sudo apt install -y jq
44- docker pull ethereum/client-go:v1.10.19
52+ docker pull " ethereum/client-go:$GETH_VERSION "
4553 run_geth
4654 sleep 30
4755 lerna run --scope truffle test --stream -- --exit
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- docker pull ethereum/client-go:stable
3+ # Set geth version to stable, or pin to a specific version
4+ # as necessary when geth release breaks CI
5+ # Snoop these
6+ # - https://hub.docker.com/r/ethereum/client-go
7+ # - https://github.com/ethereum/go-ethereum/releases
8+ # GETH_VERSION="stable"
9+ GETH_VERSION=" v1.10.26"
10+
11+ docker pull " ethereum/client-go:$GETH_VERSION "
412
513CID=$( docker run \
614 -v /$PWD /scripts:/scripts \
@@ -9,7 +17,7 @@ CID=$(docker run \
917 -p 8545:8545 \
1018 -p 8546:8546 \
1119 -p 30303:30303 \
12- ethereum/client-go:stable \
20+ " ethereum/client-go:$GETH_VERSION " \
1321 --http \
1422 --http.addr ' 0.0.0.0' \
1523 --http.port 8545 \
You can’t perform that action at this time.
0 commit comments