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

Fix empty traces #763

Merged
merged 7 commits into from
Aug 31, 2021
Merged

Fix empty traces #763

merged 7 commits into from
Aug 31, 2021

Conversation

nanocryk
Copy link
Contributor

What does it do?

While #742 introduced new events in the Runtime to correctly trace some transactions that failed previously, it also failed where the previous tracer succeeded for the previous runtime version.

This PR fixes this bug and seems to produce correct traces for the future and current runtime. Future is tested in the TS tests, while current was tested by syncing a node on Moonriver and tracing various transactions that failed to produce a correct trace on currently deployed nodes.

What important points reviewers should know?

Is there something left for follow-up PRs?

The new tracer is client side but is still located in the primitives folder and crate. All client-side code should be refactored out of this crate into the clients folder crates.

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?

@nanocryk nanocryk requested a review from tgmichel August 31, 2021 13:17
@nanocryk nanocryk added A0-pleasereview Pull request needs code review. B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes labels Aug 31, 2021
Copy link
Contributor

@tgmichel tgmichel left a comment

Choose a reason for hiding this comment

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

Looking good, just a couple of comments that are not strictly required but nice to have.

primitives/ext/src/lib.rs Show resolved Hide resolved
@nanocryk nanocryk merged commit 697094d into master Aug 31, 2021
@nanocryk nanocryk deleted the jeremy-tracer-fix-empty-traces branch August 31, 2021 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview Pull request needs code review. B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants