[evm-tracing-1] runtime level implementation#1544
Merged
dmitrylavrenov merged 1 commit intoevm-debug-tracefrom Aug 28, 2025
Merged
[evm-tracing-1] runtime level implementation#1544dmitrylavrenov merged 1 commit intoevm-debug-tracefrom
dmitrylavrenov merged 1 commit intoevm-debug-tracefrom
Conversation
e7d721a to
25340f5
Compare
7949d23 to
13c0618
Compare
ece1b7a to
f50a883
Compare
d6d5db8 to
6054bed
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR integrates EVM debug tracing support at the runtime level by adding new modules, runtime APIs, and event propagation for EVM, gasometer, and runtime events. Key changes include updates to feature definitions (adding new tracing modules), the implementation of a new runtime interface for EVM tracing in primitives-evm-tracing-ext, and modifications in humanode-runtime to integrate and expose the evm-debug-api functionalities.
Reviewed Changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| utils/checks/snapshots/features.yaml | Added new feature entries for evm-debug-api, primitives-evm-tracing-events, and primitives-evm-tracing-ext. |
| crates/primitives-evm-tracing-ext/src/lib.rs | Introduced the EvmTracingExt trait with host function wrappers for decoding and emitting EVM events. |
| crates/primitives-evm-tracing-events/* | Added event definitions and conversion functions for EVM events, gasometer events, and runtime events. |
| crates/humanode-runtime/src/lib.rs | Integrated EVM tracing into runtime APIs (trace_transaction, trace_block, trace_call). |
| crates/humanode-runtime/src/evm_tracer.rs | Implemented the EvmTracer that sets up event listener proxies and calls corresponding host functions. |
| Remaining Cargo.toml files | Updated dependencies and feature flags to support the new EVM tracing functionality. |
| crates/evm-debug-api/* | Exposed the runtime API for the EVM debug logic using sp_api. |
Comments suppressed due to low confidence (1)
crates/humanode-runtime/src/lib.rs:1518
- The new EVM tracing integration in the extrinsics loop lacks explicit test coverage. Consider adding unit or integration tests to verify that EVM transactions and non-Ethereum extrinsics are traced correctly.
RuntimeCall::Ethereum(transact { transaction }) => {
e6f4cb9 to
3386207
Compare
975b1d8 to
e096ced
Compare
MOZGIII
reviewed
Aug 26, 2025
MOZGIII
reviewed
Aug 26, 2025
MOZGIII
reviewed
Aug 26, 2025
MOZGIII
reviewed
Aug 26, 2025
Contributor
MOZGIII
left a comment
There was a problem hiding this comment.
I'm up-to-date with the changes here; ping me please when the rest of the comments are resolved
quasiyoke
approved these changes
Aug 26, 2025
777a763 to
4c81348
Compare
MOZGIII
reviewed
Aug 27, 2025
MOZGIII
reviewed
Aug 27, 2025
MOZGIII
reviewed
Aug 27, 2025
MOZGIII
approved these changes
Aug 27, 2025
81ef962 to
222ee96
Compare
222ee96 to
63fe025
Compare
dmitrylavrenov
added a commit
that referenced
this pull request
Sep 15, 2025
Runtime level implementation
dmitrylavrenov
added a commit
that referenced
this pull request
Dec 3, 2025
Runtime level implementation
github-merge-queue bot
pushed a commit
that referenced
this pull request
Dec 4, 2025
* Add CI check for build with evm-tracing feature * Add evm-tracing feature to humanode-runtime * [evm-tracing-0] add evm-tracing test suite to e2e ts tests (#1574) * Add build for evm-tracing at e2e code job * Skip bash tests for evm-tracing test suite * Add template for evm-tracing test suite * [evm-tracing-0-1] add debug e2e tests logic implementation (#1575) * [evm-tracing-1] runtime level implementation (#1544) Runtime level implementation * [evm-tracing-2] сlient-side implementation (#1565) Client-side implementation * [evm-tracing-3] implement RPC side (#1568) Implement RPC side * [evm-tracing-4] cli part implementation (#1572) * [evm-tracing] Add more e2e tests (#1622)
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.
No description provided.