Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evm-tracing should replay on_idle #2707

Merged
merged 5 commits into from
Mar 21, 2024
Merged

evm-tracing should replay on_idle #2707

merged 5 commits into from
Mar 21, 2024

Conversation

librelois
Copy link
Collaborator

What does it do?

If incoming XCM messages consume more than 25% of the block, the extra xcm messages are deferred to on_idle to make room for user transactions.

If some of these sdefered xcm messages contains ethereum-xcm transactions, they are not traceable because vm-tracing does not replay on_idle.

Fix #2626

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

@librelois librelois added B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit not-breaking Does not need to be mentioned in breaking changes labels Mar 18, 2024
Copy link
Contributor

github-actions bot commented Mar 18, 2024

Coverage Report

@@                   Coverage Diff                    @@
##           master   elois-tracing-on-idle     +/-   ##
========================================================
  Coverage   73.44%                  73.44%   0.00%     
  Files         229                     229             
  Lines       70351                   70351             
========================================================
  Hits        51669                   51669             
  Misses      18682                   18682             
Files Changed Coverage

Coverage generated Tue Mar 19 11:14:39 UTC 2024

@noandrea noandrea mentioned this pull request Mar 20, 2024
15 tasks
@RomarQ RomarQ merged commit b1c2205 into master Mar 21, 2024
26 of 27 checks passed
@RomarQ RomarQ deleted the elois-tracing-on-idle branch March 21, 2024 08:46
RomarQ pushed a commit that referenced this pull request Mar 21, 2024
* evm-tracing should replay on_idle

* fix compilation

* fix rust tests

* not call on_finalize

* create helper function replay_on_idle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No traces available for a single transaction in a block
2 participants