Skip to content

Hook into EVM execution using tracing-like events #33

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

Merged

Conversation

nanocryk
Copy link
Contributor

Alternative to #18 . Add a tracing feature the gasometer, runtime and main crate that allow to listen to events emitted from important parts of the EVM execution.

@@ -1,10 +1,26 @@
//! EVM gasometer.

#![deny(warnings)]
#![forbid(unsafe_code, unused_variables, unused_imports)]
Copy link
Member

Choose a reason for hiding this comment

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

Can you add back unused_improts warning here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It prevented to use environmental macro :/ Tried to allow it locally for the macro call but Rust complained.

Copy link
Member

@sorpaas sorpaas left a comment

Choose a reason for hiding this comment

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

LGTM, but please fix those styling issues.

Co-authored-by: Wei Tang <[email protected]>
@sorpaas sorpaas merged commit 2777684 into rust-ethereum:master May 26, 2021
@nanocryk nanocryk deleted the jeremy-environmental-hook branch May 28, 2021 09:39
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.

2 participants