Skip to content

all: generate and embed block-access-lists in block bodies when --experimentalbal is enabled#32586

Closed
jwasinger wants to merge 6 commits intoethereum:masterfrom
jwasinger:bal-generation
Closed

all: generate and embed block-access-lists in block bodies when --experimentalbal is enabled#32586
jwasinger wants to merge 6 commits intoethereum:masterfrom
jwasinger:bal-generation

Conversation

@jwasinger
Copy link
Copy Markdown
Contributor

@jwasinger jwasinger commented Sep 11, 2025

  • Add EIP-7928 block access lists as a field on the block body, and the BAL hash as a field in the block header.
  • Introduce a BlockAccessListTracer which will generate an access list from the execution of a block.
  • introduce --experimental.bal flag which will generate block access lists on execution of all post-cancun blocks, and embed them on the block body before importing.
    • This option is mainly meant for testing the BAL implementation using the existing spec test coverage (generate the BALs during block import while running a test and then re-execute the test but using the BALs for block execution). Accordingly, this option does not set the BAL hash in the block header.

Depends on:

Comment thread cmd/utils/flags.go Outdated
Comment thread core/state/interface.go Outdated
Comment thread core/block_validator.go Outdated
Comment thread core/block_validator.go Outdated
Comment thread core/block_validator.go Outdated
Comment thread core/block_validator.go Outdated
@jwasinger jwasinger force-pushed the bal-generation branch 2 times, most recently from 8d479ef to 961f517 Compare September 29, 2025 13:05
@jwasinger
Copy link
Copy Markdown
Contributor Author

This got kind of stale, and I plan to propose a slightly different and simpler changeset as an initial merge target for EIP 7928.

@jwasinger jwasinger closed this Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants