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

feat: add inner zk traces, fix create not registering logs #558

Merged
merged 15 commits into from
Sep 4, 2024

Conversation

nbaztec
Copy link
Collaborator

@nbaztec nbaztec commented Aug 31, 2024

Motivation

Attach zkEVM execution traces to foundry traces

Solution

Implement custom login in InspectorExt

Notes

This PR also fixes the following bugs that were discovered:

  • CREATE was not triggering the inspector stack executor
  • Gas used was being reported incorrectly from the zkEVM output This causes test_zk_aave_di to fail with OutOfGas, and as such must be investigated further

elfedy
elfedy previously approved these changes Sep 2, 2024
crates/cheatcodes/src/inspector.rs Show resolved Hide resolved
crates/evm/evm/src/inspectors/trace.rs Show resolved Hide resolved
crates/evm/evm/src/inspectors/trace.rs Show resolved Hide resolved
@nbaztec nbaztec merged commit fcd9bae into main Sep 4, 2024
12 checks passed
@nbaztec nbaztec deleted the nish-zk-traces branch September 4, 2024 13:53
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