Skip to content

Conversation

@maoueh
Copy link
Contributor

@maoueh maoueh commented Nov 10, 2025

While updating to latest Geth, I noticed OnCodeChangeV2 was not properly handled in SelfDestruct/6780, this PR fixes this and bring a unit test. Let me know if it's deemed more approriate to merge the tests with the other one.

While updating to latest Geth, I noticed `OnCodeChangeV2` was not properly handled in `SelfDestruct/6780`, this PR fixes this and bring a unit test. Let me know if it's deemed more approriate to merge the tests with the other one.
Copy link
Member

@rjl493456442 rjl493456442 left a comment

Choose a reason for hiding this comment

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

Thanks for catching it.

@rjl493456442 rjl493456442 changed the title Fixed hooked StateDB handling of OnCodeChangeV2 core/state: fixed hooked StateDB handling of OnCodeChangeV2 Nov 11, 2025
@rjl493456442 rjl493456442 added this to the 1.16.8 milestone Nov 11, 2025
@rjl493456442 rjl493456442 merged commit 5f4cc3f into ethereum:master Nov 11, 2025
7 of 9 checks passed
@maoueh maoueh deleted the fix/code-change-v2-checks branch November 11, 2025 14:36
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