diff --git a/src/ethereum_test_types/tests/test_types.py b/src/ethereum_test_types/tests/test_types.py index 8d49f7c2ab..b7f916476a 100644 --- a/src/ethereum_test_types/tests/test_types.py +++ b/src/ethereum_test_types/tests/test_types.py @@ -486,7 +486,7 @@ def test_account_merge( "blockHashes": {}, "ommers": [], "parentUncleHash": ( - "0x0000000000000000000000000000000000000000000000000000000000000000" + "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" ), }, id="environment_1", diff --git a/src/ethereum_test_types/types.py b/src/ethereum_test_types/types.py index d695aa4ee7..f8a80423e8 100644 --- a/src/ethereum_test_types/types.py +++ b/src/ethereum_test_types/types.py @@ -31,6 +31,7 @@ BLSSignature, Bytes, CamelModel, + EmptyOmmersRoot, Hash, HexNumber, Number, @@ -402,7 +403,7 @@ class Environment(EnvironmentGeneric[Number]): """ blob_gas_used: Number | None = Field(None, alias="currentBlobGasUsed") - parent_ommers_hash: Hash = Field(Hash(0), alias="parentUncleHash") + parent_ommers_hash: Hash = Field(Hash(EmptyOmmersRoot), alias="parentUncleHash") parent_blob_gas_used: Number | None = Field(None) parent_excess_blob_gas: Number | None = Field(None) parent_beacon_block_root: Hash | None = Field(None)