feat(vm): add composable application-level EVM tracers - #1298
Draft
psy2848048 wants to merge 3 commits into
Draft
psy2848048 wants to merge 3 commits into
psy2848048 wants to merge 3 commits into
Conversation
psy2848048
marked this pull request as ready for review
September 22, 2026 06:44
Contributor
|
PR author is not in the allowed authors list. |
psy2848048
marked this pull request as draft
September 22, 2026 08:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds opt-in, composable application-level EVM tracing.
Embedding applications can register multiple tracer factories with SetApplicationTracerFactories. Their hooks are composed in registration order with the existing debug tracer, allowing applications to collect execution data for compliance policies, indexing, and other post-transaction processing without replacing vm.Config.Tracer.
evmddoes not enable an application tracer by default. This keeps the example chain's existing behavior unchanged and avoids tracing overhead unless explicitly configured by an embedding application.Projects building on Cosmos EVM - would be compliance-related project - can opt in to this API to collect deterministic execution data for application-specific compliance controls, such as account or contract allowlists and denylists.
Key behavior:
Closes: #1293
Review Guide
The most important files to review are:
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
mainbranch