diff --git a/.circleci/config.yml b/.circleci/config.yml index 1f730c3539..292b9fe256 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -109,7 +109,7 @@ geth_steps: &geth_steps name: build geth if missing command: | mkdir -p $HOME/.ethash - pip install --user py-geth>=3.6.0 + pip install --user py-geth>=3.8.0 export GOROOT=/usr/local/go echo $GETH_VERSION export GETH_BINARY="$HOME/.py-geth/geth-$GETH_VERSION/bin/geth" @@ -287,7 +287,7 @@ jobs: - image: circleci/python:3.6 environment: TOXENV: py36-integration-goethereum-ipc - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 py36-integration-goethereum-http: <<: *geth_steps @@ -295,7 +295,7 @@ jobs: - image: circleci/python:3.6 environment: TOXENV: py36-integration-goethereum-http - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 py36-integration-goethereum-ws: <<: *geth_steps @@ -303,7 +303,7 @@ jobs: - image: circleci/python:3.6 environment: TOXENV: py36-integration-goethereum-ws - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 # py36-integration-parity-ipc: # <<: *parity_steps @@ -379,7 +379,7 @@ jobs: - image: circleci/python:3.7 environment: TOXENV: py37-integration-goethereum-ipc - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 py37-integration-goethereum-http: <<: *geth_steps @@ -387,7 +387,7 @@ jobs: - image: circleci/python:3.7 environment: TOXENV: py37-integration-goethereum-http - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 py37-integration-goethereum-ws: <<: *geth_steps @@ -395,7 +395,7 @@ jobs: - image: circleci/python:3.7 environment: TOXENV: py37-integration-goethereum-ws - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 # py37-integration-parity-ipc: # <<: *parity_steps @@ -476,7 +476,7 @@ jobs: - image: circleci/python:3.8 environment: TOXENV: py38-integration-goethereum-ipc - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 py38-integration-goethereum-http: <<: *geth_steps @@ -484,7 +484,7 @@ jobs: - image: circleci/python:3.8 environment: TOXENV: py38-integration-goethereum-http - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 py38-integration-goethereum-ws: <<: *geth_steps @@ -492,7 +492,7 @@ jobs: - image: circleci/python:3.8 environment: TOXENV: py38-integration-goethereum-ws - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 # py38-integration-parity-ipc: # <<: *parity_steps @@ -568,7 +568,7 @@ jobs: - image: circleci/python:3.9 environment: TOXENV: py39-integration-goethereum-ipc - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 py39-integration-goethereum-http: <<: *geth_steps @@ -576,7 +576,7 @@ jobs: - image: circleci/python:3.9 environment: TOXENV: py39-integration-goethereum-http - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 py39-integration-goethereum-ws: <<: *geth_steps @@ -584,7 +584,7 @@ jobs: - image: circleci/python:3.9 environment: TOXENV: py39-integration-goethereum-ws - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 # py39-integration-parity-ipc: # <<: *parity_steps @@ -634,7 +634,7 @@ jobs: - image: circleci/python:3.9 environment: TOXENV: benchmark - GETH_VERSION: v1.10.13 + GETH_VERSION: v1.10.17 workflows: version: 2.1 diff --git a/docs/contributing.rst b/docs/contributing.rst index f730748d5f..3e85fb80ef 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -308,13 +308,13 @@ Geth Fixtures .. code:: sh - $ python -m geth.install v1.10.13 + $ python -m geth.install v1.10.17 2. Specify the Geth binary and run the fixture creation script (from within the web3.py directory): .. code:: sh - $ GETH_BINARY=~/.py-geth/geth-v1.10.13/bin/geth python ./tests/integration/generate_fixtures/go_ethereum.py ./tests/integration/geth-1.10.13-fixture + $ GETH_BINARY=~/.py-geth/geth-v1.10.17/bin/geth python ./tests/integration/generate_fixtures/go_ethereum.py ./tests/integration/geth-1.10.17-fixture 3. The output of this script is your fixture, a zip file, which is now stored in ``/tests/integration/``. Update the ``/tests/integration/go_ethereum/conftest.py`` file to point to this new fixture. Delete the old fixture. diff --git a/newsfragments/2453.misc.rst b/newsfragments/2453.misc.rst new file mode 100644 index 0000000000..c63dbc8032 --- /dev/null +++ b/newsfragments/2453.misc.rst @@ -0,0 +1 @@ +Update geth fixture to use geth version ``v1.10.17`` \ No newline at end of file diff --git a/setup.py b/setup.py index cf497cbe05..518eeea511 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ extras_require = { 'tester': [ "eth-tester[py-evm]==v0.6.0-beta.6", - "py-geth>=3.7.0,<4", + "py-geth>=3.8.0,<4", ], 'linter': [ "flake8==3.8.3", @@ -23,7 +23,7 @@ "click>=5.1", "configparser==3.5.0", "contextlib2>=0.5.4", - "py-geth>=3.6.0,<4", + "py-geth>=3.8.0,<4", "py-solc>=0.4.0", "pytest>=4.4.0,<5.0.0", "sphinx>=3.0,<4", diff --git a/tests/integration/geth-1.10.13-fixture.zip b/tests/integration/geth-1.10.13-fixture.zip deleted file mode 100644 index 019622a3a4..0000000000 Binary files a/tests/integration/geth-1.10.13-fixture.zip and /dev/null differ diff --git a/tests/integration/geth-1.10.17-fixture.zip b/tests/integration/geth-1.10.17-fixture.zip new file mode 100644 index 0000000000..2c62a93ceb Binary files /dev/null and b/tests/integration/geth-1.10.17-fixture.zip differ diff --git a/tests/integration/go_ethereum/conftest.py b/tests/integration/go_ethereum/conftest.py index 7851b2e4a5..014ec21d8d 100644 --- a/tests/integration/go_ethereum/conftest.py +++ b/tests/integration/go_ethereum/conftest.py @@ -19,7 +19,7 @@ KEYFILE_PW = 'web3py-test' -GETH_FIXTURE_ZIP = 'geth-1.10.13-fixture.zip' +GETH_FIXTURE_ZIP = 'geth-1.10.17-fixture.zip' @pytest.fixture(scope='module') diff --git a/web3/tools/benchmark/node.py b/web3/tools/benchmark/node.py index 86fa3416b7..0687c1f13e 100644 --- a/web3/tools/benchmark/node.py +++ b/web3/tools/benchmark/node.py @@ -24,7 +24,7 @@ kill_proc_gracefully, ) -GETH_FIXTURE_ZIP = "geth-1.10.13-fixture.zip" +GETH_FIXTURE_ZIP = "geth-1.10.17-fixture.zip" class GethBenchmarkFixture: