Skip to content

fix(spec-specs, tests): exclude unloaded recipient from the BAL - #18

Merged
gurukamath merged 2 commits into
gurukamath:eip-2780/process-auth-in-top-framefrom
spencer-tb:eips/amsterdam/eip-7928-bal-recipient-halt
Jul 9, 2026
Merged

fix(spec-specs, tests): exclude unloaded recipient from the BAL#18
gurukamath merged 2 commits into
gurukamath:eip-2780/process-auth-in-top-framefrom
spencer-tb:eips/amsterdam/eip-7928-bal-recipient-halt

Conversation

@spencer-tb

@spencer-tb spencer-tb commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Description

Re. EIPs#11902, the recipient must not enter the block access list when a halt during EIP-7702 authorization processing precedes its load.

Defer the recipient code load from prepare_message to after set_delegation, it keeps the recipient unread once EIP-2780 charges them at runtime (ethereum#3126).

Related Issues or PRs

Implements EIPs#11902, ordering becomes observable with ethereum#3126.

Checklist

  • Ran fast static checks to avoid CI fails, see Code Standards & Verifying Changes: just static
  • PR title has the form <type>(<area>): <title>, where <type> and <area> come from an appropriate C-<type>, respectively A-<area>, label. The title should match the target squash commit message.

code = get_code(
tx_env.state, get_account(tx_env.state, tx.to).code_hash
)
code = Bytes(b"")

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to set code to None here to represent not resolved. Bytes(b"") is misleading here.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And then make assertions at the appropriate spots.

@gurukamath
gurukamath merged commit da6a01c into gurukamath:eip-2780/process-auth-in-top-frame Jul 9, 2026
10 of 20 checks passed
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