diff --git a/src/ethereum_test_fixtures/blockchain.py b/src/ethereum_test_fixtures/blockchain.py index 9cf3b84327..3a00484eca 100644 --- a/src/ethereum_test_fixtures/blockchain.py +++ b/src/ethereum_test_fixtures/blockchain.py @@ -112,7 +112,7 @@ class FixtureHeader(CamelModel): ) requests_hash: Annotated[Hash, HeaderForkRequirement("requests")] | None = Field(None) target_blob_count: Annotated[ - ZeroPaddedHexNumber, HeaderForkRequirement("blob_count") + ZeroPaddedHexNumber, HeaderForkRequirement("target_blob_count") ] | None = Field(None) fork: Fork | None = Field(None, exclude=True) diff --git a/src/ethereum_test_types/types.py b/src/ethereum_test_types/types.py index 7fed44cad2..6e0e962bf9 100644 --- a/src/ethereum_test_types/types.py +++ b/src/ethereum_test_types/types.py @@ -389,8 +389,7 @@ class EnvironmentGeneric(CamelModel, Generic[NumberBoundTypeVar]): difficulty: NumberBoundTypeVar | None = Field(None, alias="currentDifficulty") base_fee_per_gas: NumberBoundTypeVar | None = Field(None, alias="currentBaseFee") excess_blob_gas: NumberBoundTypeVar | None = Field(None, alias="currentExcessBlobGas") - - target_blob_count: NumberBoundTypeVar | None = Field(None, alias="currentTargetBlobGasUsed") + target_blob_count: NumberBoundTypeVar | None = Field(None, alias="currentTargetBlobCount") parent_difficulty: NumberBoundTypeVar | None = Field(None) parent_timestamp: NumberBoundTypeVar | None = Field(None)