Skip to content

Conversation

@rjl493456442
Copy link
Member

@rjl493456442 rjl493456442 commented Oct 21, 2025

This PR prevents the SetCode hook from being called when the contract code
remains unchanged.

This situation can occur in the following cases:

  • The deployed runtime code has zero length
  • An EIP-7702 authorization attempt tries to unset a non-delegated account
  • An EIP-7702 authorization attempt tries to delegate to the same account

@jwasinger jwasinger merged commit 79b6a56 into ethereum:master Oct 21, 2025
6 of 7 checks passed
wit765 pushed a commit to wit765/XDPoSChain that referenced this pull request Oct 22, 2025
…ereum#32980)

This PR prevents the SetCode hook from being called when the contract
code
remains unchanged.

This situation can occur in the following cases:
- The deployed runtime code has zero length
- An EIP-7702 authorization attempt tries to unset a non-delegated
account
- An EIP-7702 authorization attempt tries to delegate to the same
account
rjl493456442 added a commit to rjl493456442/go-ethereum that referenced this pull request Oct 28, 2025
…ereum#32980)

This PR prevents the SetCode hook from being called when the contract
code
remains unchanged.

This situation can occur in the following cases:
- The deployed runtime code has zero length
- An EIP-7702 authorization attempt tries to unset a non-delegated
account
- An EIP-7702 authorization attempt tries to delegate to the same
account
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