Skip to content

Commit bbcd058

Browse files
authored
Upgrade geth to 1.16.7 (#3787)
* Upgrade geth to 1.16.7 * Bump py-geth requirement * Use later go version * Update download location for go binary * Add newsfragment for #3787
1 parent 639b067 commit bbcd058

File tree

8 files changed

+10
-9
lines changed

8 files changed

+10
-9
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ parameters:
44
# NOTE: Do not update the `geth_version` manually. It is updated during the
55
# integration test fixture generation.
66
geth_version:
7-
default: "1.16.5"
7+
default: "1.16.7"
88
type: string
99
go_version:
10-
default: "1.24.1"
10+
default: "1.25.5"
1111
type: string
1212

1313
common: &common
@@ -68,7 +68,7 @@ geth_steps: &geth_steps
6868
echo "configured geth version: v<< pipeline.parameters.geth_version >>"
6969
if [ ! -e "$GETH_BINARY" ]; then
7070
echo "GETH_BINARY not set, installing geth..."
71-
curl -O https://storage.googleapis.com/golang/go<< pipeline.parameters.go_version >>.linux-amd64.tar.gz
71+
curl -O https://dl.google.com/go/go<< pipeline.parameters.go_version >>.linux-amd64.tar.gz
7272
tar xvf go<< pipeline.parameters.go_version >>.linux-amd64.tar.gz
7373
sudo chown -R root:root ./go
7474
sudo mv go /usr/local
@@ -85,7 +85,7 @@ geth_steps: &geth_steps
8585
export GOROOT=/usr/local/go
8686
export GETH_BINARY="./custom_geth"
8787
echo 'export GETH_BINARY="./custom_geth"' >> $BASH_ENV
88-
curl -O https://storage.googleapis.com/golang/go<< pipeline.parameters.go_version >>.linux-amd64.tar.gz
88+
curl -O https://dl.google.com/go/go<< pipeline.parameters.go_version >>.linux-amd64.tar.gz
8989
tar xvf go<< pipeline.parameters.go_version >>.linux-amd64.tar.gz
9090
sudo chown -R root:root ./go
9191
sudo mv go /usr/local

docs/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,13 +376,13 @@ Geth Fixtures
376376

377377
.. code:: sh
378378
379-
$ python -m geth.install v1.16.5
379+
$ python -m geth.install v1.16.7
380380
381381
2. Specify the Geth binary and run the fixture creation script (from within the web3.py directory):
382382

383383
.. code:: sh
384384
385-
$ GETH_BINARY=~/.py-geth/geth-v1.16.5/bin/geth python ./tests/integration/generate_fixtures/go_ethereum.py
385+
$ GETH_BINARY=~/.py-geth/geth-v1.16.7/bin/geth python ./tests/integration/generate_fixtures/go_ethereum.py
386386
387387
3. The output of this script is your fixture, a zip file, which is now stored in ``/tests/integration/``.
388388
The ``/tests/integration/go_ethereum/conftest.py`` and

newsfragments/3787.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade geth version in CI

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Note: ethereum-maintained libraries in this list should be added to the
1010
# `install_pre_releases.py` script.
1111
"eth-tester[py-evm]>=0.13.0b1,<0.14.0b1",
12-
"py-geth>=5.1.0",
12+
"py-geth>=6.4.0",
1313
],
1414
"dev": [
1515
"build>=0.9.0",
-42.8 KB
Binary file not shown.
52 KB
Binary file not shown.

tests/integration/go_ethereum/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
)
3636

3737
KEYFILE_PW = "web3py-test"
38-
GETH_FIXTURE_ZIP = "geth-1.16.5-fixture.zip"
38+
GETH_FIXTURE_ZIP = "geth-1.16.7-fixture.zip"
3939

4040

4141
@pytest.fixture

web3/tools/benchmark/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
kill_proc_gracefully,
2525
)
2626

27-
GETH_FIXTURE_ZIP = "geth-1.16.5-fixture.zip"
27+
GETH_FIXTURE_ZIP = "geth-1.16.7-fixture.zip"
2828

2929

3030
class GethBenchmarkFixture:

0 commit comments

Comments
 (0)