Skip to content

Commit

Permalink
fix: bug in execution payload test.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-tb committed Dec 4, 2024
1 parent 77c7f2d commit 1f7ff49
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/ethereum_test_fixtures/tests/test_blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
Bytes,
Hash,
HeaderNonce,
HexNumber,
TestPrivateKey,
ZeroPaddedHexNumber,
to_json,
Expand Down Expand Up @@ -790,7 +791,7 @@
max_request_type=2,
).requests_list
],
hex(21),
HexNumber(21).hex(),
],
"forkchoiceUpdatedVersion": "4",
"newPayloadVersion": "4",
Expand Down Expand Up @@ -948,7 +949,7 @@
max_request_type=2,
).requests_list
],
hex(21),
HexNumber(21).hex(),
],
"newPayloadVersion": "4",
"forkchoiceUpdatedVersion": "4",
Expand Down Expand Up @@ -1171,7 +1172,7 @@ def test_json_deserialization(
id="fixture_engine_new_payload_parameters_v3",
),
pytest.param(
False,
True,
EngineNewPayloadParametersAdapter,
(
FixtureExecutionPayload.from_fixture_header(
Expand All @@ -1195,7 +1196,6 @@ def test_json_deserialization(
withdrawals_root=Hash(16),
blob_gas_used=17,
excess_blob_gas=18,
target_blobs_per_block=10,
),
transactions=[
Transaction(
Expand Down Expand Up @@ -1237,6 +1237,7 @@ def test_json_deserialization(
),
max_request_type=2,
).requests_list,
HexNumber(9),
),
[
{
Expand All @@ -1254,7 +1255,6 @@ def test_json_deserialization(
"baseFeePerGas": hex(15),
"blobGasUsed": hex(17),
"excessBlobGas": hex(18),
"targetBlobCount": hex(10),
"blockHash": "0xd90115b7fde329f64335763a446af1"
"50ab67e639281dccdb07a007d18bb80211",
"transactions": [
Expand Down Expand Up @@ -1304,6 +1304,7 @@ def test_json_deserialization(
max_request_type=2,
).requests_list
],
HexNumber(9).hex(),
],
id="fixture_engine_new_payload_parameters_v4",
),
Expand Down

0 comments on commit 1f7ff49

Please sign in to comment.