diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 4cded5de75..da50775a7c 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -16,6 +16,7 @@ Test fixtures for use by clients are available for each release on the [Github r - ✨ A metadata folder `.meta/` now stores all fixture metadata files by default ([#721](https://github.com/ethereum/execution-spec-tests/pull/721)). - 🐞 Fixed `fill` command index generation issue due to concurrency ([#725](https://github.com/ethereum/execution-spec-tests/pull/725)). - 🐞 Fixed fixture index generation on EOF tests ([#728](https://github.com/ethereum/execution-spec-tests/pull/728)). +- 🐞 Fixes consume genesis mismatch exception for hive based simulators ([#734](https://github.com/ethereum/execution-spec-tests/pull/734)). ### 🔧 EVM Tools diff --git a/src/pytest_plugins/consume/hive_simulators/engine/test_via_engine.py b/src/pytest_plugins/consume/hive_simulators/engine/test_via_engine.py index c7a271329c..287907309e 100644 --- a/src/pytest_plugins/consume/hive_simulators/engine/test_via_engine.py +++ b/src/pytest_plugins/consume/hive_simulators/engine/test_via_engine.py @@ -4,8 +4,8 @@ Each `engine_newPayloadVX` is verified against the appropriate VALID/INVALID responses. """ + from ethereum_test_fixtures import BlockchainEngineFixture, FixtureFormats -from ethereum_test_fixtures.blockchain import FixtureHeader from ethereum_test_tools.rpc import EngineRPC, EthRPC from ethereum_test_tools.rpc.types import ForkchoiceState, PayloadStatusEnum from pytest_plugins.consume.hive_simulators.exceptions import GenesisBlockMismatchException @@ -45,7 +45,7 @@ def test_via_engine( if genesis_block["hash"] != str(blockchain_fixture.genesis.block_hash): raise GenesisBlockMismatchException( expected_header=blockchain_fixture.genesis, - got_header=FixtureHeader(**genesis_block), + got_genesis_block=genesis_block, ) with timing_data.time("Payloads execution") as total_payload_timing: