Document OnCodeChange now being called in SelfDestruct

This commit is contained in:
Matthieu Vachon 2025-01-08 13:52:54 -05:00 committed by GitHub
parent 033de2a05b
commit 12d3067089
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,14 @@ All notable changes to the tracing interface will be documented in this file.
- `GasChangeReason` has been extended with the following reasons which will be enabled only post-Verkle. There shouldn't be any gas changes with those reasons prior to the fork. - `GasChangeReason` has been extended with the following reasons which will be enabled only post-Verkle. There shouldn't be any gas changes with those reasons prior to the fork.
- `GasChangeWitnessContractCollisionCheck` flags the event of adding to the witness when checking for contract address collision. - `GasChangeWitnessContractCollisionCheck` flags the event of adding to the witness when checking for contract address collision.
## [v1.14.12]
This release contains a change in behavior for `OnCodeChange` hook.
### `OnCodeChange` change
The `OnCodeChange` is now called when `StateDB#SelfDestruct` or `StateDB#SelfDestruct6780` is invoked, which happens when a contract self destruct itself. Previously, no code change was emitted on such occasions.
## [v1.14.4] ## [v1.14.4]
This release contained only minor extensions to the tracing interface. This release contained only minor extensions to the tracing interface.