Adjusted description of change.

This commit is contained in:
Matthieu Vachon 2025-01-09 09:16:50 -05:00 committed by GitHub
parent 12d3067089
commit c02f846b0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ 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.
The `OnCodeChange` hook is now called when `StateDB#SelfDestruct` is called or when `StateDB#SelfDestruct6780` is called and the contract is actually destroyed. Previously, no code change was emitted on such occasions.
## [v1.14.4]