Skip to content

feat(params): Add AfterExecutingTransaction hook#294

Merged
alarso16 merged 3 commits into
mainfrom
alarso16/exec-rules
Jul 20, 2026
Merged

feat(params): Add AfterExecutingTransaction hook#294
alarso16 merged 3 commits into
mainfrom
alarso16/exec-rules

Conversation

@alarso16

Copy link
Copy Markdown

Why this should be merged

Although SAE could avoid this since they wrap core.AppyTransaction, there's a lot of call sites that all require this behavior.

How this works

Uses TransitionDb to add potential additional operations after the message is fully applied. Care is taken regarding execution invalidation.

How this was tested

New UT

@alarso16 alarso16 changed the title feat(params): Add AfterExecutingTransaction hook feat(params): Add AfterExecutingTransaction hook Jul 17, 2026
@alarso16
alarso16 marked this pull request as ready for review July 17, 2026 16:51
Comment thread core/state_transition.libevm.go
Comment thread params/hooks.libevm.go
Comment thread libevm/libevm.go
Comment thread libevm/libevm.go Outdated
Comment thread libevm/interfaces_test.go Outdated
Comment thread params/hooks.libevm.go
Comment thread core/state_transition.libevm.go

@ARR4N ARR4N left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No need for me to re-review the changes unless you want me to. Feel free to merge if you'd like.

Comment thread core/state_transition.libevm_test.go Outdated
Comment thread core/state_transition.libevm_test.go Outdated
Comment thread core/state_transition.libevm_test.go Outdated
Comment thread core/state_transition.libevm_test.go Outdated
@alarso16
alarso16 enabled auto-merge (squash) July 20, 2026 16:27
@alarso16
alarso16 merged commit 90e9e9d into main Jul 20, 2026
13 checks passed
@alarso16
alarso16 deleted the alarso16/exec-rules branch July 20, 2026 16:38
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.

5 participants