Skip to content

core/vm: pull in changes from 33648#33991

Closed
jwasinger wants to merge 19 commits into
ethereum:bal-devnet-3from
jwasinger:bal-devnet-3-callgasrework
Closed

core/vm: pull in changes from 33648#33991
jwasinger wants to merge 19 commits into
ethereum:bal-devnet-3from
jwasinger:bal-devnet-3-callgasrework

Conversation

@jwasinger
Copy link
Copy Markdown
Contributor

@jwasinger jwasinger commented Mar 11, 2026

The iteration of these changes in the bal-devnet-3 branch grew stale, and #33648 is the refactored version of the changes.

Still failing some tests here that aren't failing on bal-devnet-3.

MariusVanDerWijden and others added 3 commits March 12, 2026 15:25
CopyHeader copies all pointer-typed header fields (WithdrawalsHash,
RequestsHash, SlotNumber, etc.) but was missing the deep copy for
BlockAccessListHash added by EIP-7928. This caused the BAL hash
to be silently shared between the original and the copy, leading
to potential data races and incorrect nil-checks on copied headers.
@jwasinger jwasinger force-pushed the bal-devnet-3-callgasrework branch 2 times, most recently from 1705858 to 6caeefe Compare March 12, 2026 19:39
@jwasinger
Copy link
Copy Markdown
Contributor Author

Down to one new failing test here.

qu0b and others added 2 commits March 13, 2026 08:23
The slotNumber field was being passed as a raw *uint64 to the JSON
marshaler, which serializes it as a plain decimal integer (e.g. 159).
All Ethereum JSON-RPC quantity fields must be hex-encoded per spec.

Wrap with hexutil.Uint64 to match the encoding of other numeric
header fields like blobGasUsed and excessBlobGas.
…3994)

Adds support for returning `blockAccessListHash` in the RPC block header
response.

This change includes `blockAccessListHash` in `RPCMarshalHeader` when
`head.BlockAccessListHash` is not nil, aligning the RPC output with the
Header struct which already contains this field.
@jwasinger
Copy link
Copy Markdown
Contributor Author

Tests passing here now.

jwasinger and others added 3 commits March 16, 2026 17:19
* add method on StateReaderTracker to clear the accumulated reads
* don't factor the BAL size into the payload size during construction in the miner
* simplify miner code for constructing payloads-with-BALs via the use of aformentioned StateReaderTracker clear method
* clean up the configuration of the BAL execution mode based on the preset flag specified
@jwasinger jwasinger force-pushed the bal-devnet-3-callgasrework branch from f442c78 to 97f6e50 Compare March 17, 2026 21:31
@jwasinger jwasinger force-pushed the bal-devnet-3-callgasrework branch from 97f6e50 to 7c9c685 Compare March 19, 2026 16:47
@jwasinger
Copy link
Copy Markdown
Contributor Author

The bal-devnet-3 branch got rebased and this PR is no longer necessary.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants