Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/testing/src/execution_testing/fixtures/blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,9 @@ def strip_block_number_computed_field(cls, data: Any) -> Any:
)
withdrawals: List[FixtureWithdrawal] | None = None
execution_witness: WitnessChunk | None = None
block_access_list: BlockAccessList | None = Field(
None, description="EIP-7928 Block Access List"
)
fork: Fork | None = Field(None, exclude=True)

@computed_field(alias="blocknumber") # type: ignore[prop-decorator]
Expand Down
3 changes: 3 additions & 0 deletions packages/testing/src/execution_testing/specs/blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ def get_fixture_block(self) -> FixtureBlock | InvalidFixtureBlock:
if self.withdrawals is not None
else None
),
block_access_list=self.block_access_list
if self.block_access_list
else None,
fork=self.fork,
).with_rlp(txs=self.txs)

Expand Down
Loading