Skip to content

Commit

Permalink
chore: fix filling with target blob count.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-tb committed Oct 31, 2024
1 parent 2567dd1 commit 036972a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ethereum_test_fixtures/blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 1 addition & 2 deletions src/ethereum_test_types/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 036972a

Please sign in to comment.