Skip to content

Commit 6e5f1f8

Browse files
authored
bugfix(tests): Put BAL back into test fixtures for next bal release (ethereum#2066)
- BAL was removed from block body but we agreed to keep it in the fixtures for help with debugging against client BALs to spot diffs.
1 parent f9ae69d commit 6e5f1f8

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

packages/testing/src/execution_testing/fixtures/blockchain.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,9 @@ def strip_block_number_computed_field(cls, data: Any) -> Any:
639639
)
640640
withdrawals: List[FixtureWithdrawal] | None = None
641641
execution_witness: WitnessChunk | None = None
642+
block_access_list: BlockAccessList | None = Field(
643+
None, description="EIP-7928 Block Access List"
644+
)
642645
fork: Fork | None = Field(None, exclude=True)
643646

644647
@computed_field(alias="blocknumber") # type: ignore[prop-decorator]

packages/testing/src/execution_testing/specs/blockchain.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,9 @@ def get_fixture_block(self) -> FixtureBlock | InvalidFixtureBlock:
381381
if self.withdrawals is not None
382382
else None
383383
),
384+
block_access_list=self.block_access_list
385+
if self.block_access_list
386+
else None,
384387
fork=self.fork,
385388
).with_rlp(txs=self.txs)
386389

0 commit comments

Comments
 (0)