Skip to content

Commit 036972a

Browse files
committed
chore: fix filling with target blob count.
1 parent 2567dd1 commit 036972a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ethereum_test_fixtures/blockchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class FixtureHeader(CamelModel):
112112
)
113113
requests_hash: Annotated[Hash, HeaderForkRequirement("requests")] | None = Field(None)
114114
target_blob_count: Annotated[
115-
ZeroPaddedHexNumber, HeaderForkRequirement("blob_count")
115+
ZeroPaddedHexNumber, HeaderForkRequirement("target_blob_count")
116116
] | None = Field(None)
117117

118118
fork: Fork | None = Field(None, exclude=True)

src/ethereum_test_types/types.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,7 @@ class EnvironmentGeneric(CamelModel, Generic[NumberBoundTypeVar]):
389389
difficulty: NumberBoundTypeVar | None = Field(None, alias="currentDifficulty")
390390
base_fee_per_gas: NumberBoundTypeVar | None = Field(None, alias="currentBaseFee")
391391
excess_blob_gas: NumberBoundTypeVar | None = Field(None, alias="currentExcessBlobGas")
392-
393-
target_blob_count: NumberBoundTypeVar | None = Field(None, alias="currentTargetBlobGasUsed")
392+
target_blob_count: NumberBoundTypeVar | None = Field(None, alias="currentTargetBlobCount")
394393

395394
parent_difficulty: NumberBoundTypeVar | None = Field(None)
396395
parent_timestamp: NumberBoundTypeVar | None = Field(None)

0 commit comments

Comments
 (0)