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: migrate to new inspector API #11

Merged
merged 9 commits into from
Feb 5, 2024
Merged

feat: migrate to new inspector API #11

merged 9 commits into from
Feb 5, 2024

Conversation

mattsse
Copy link
Contributor

@mattsse mattsse commented Jan 22, 2024

Closes #2

Blocked by reth migration

and

bluealloy/revm#1001

@mattsse mattsse requested a review from rakita January 22, 2024 12:18
@rakita
Copy link
Contributor

rakita commented Jan 22, 2024

@mattsse didn't you need the call/create inputs in Inspector *_end functions? I made solution for it here: bluealloy/revm#1003

@mattsse
Copy link
Contributor Author

mattsse commented Jan 22, 2024

I think we only need this for the foundry cheatcodes inspector,
here this is fine

@@ -15,7 +17,7 @@ pub use maybe_owned::MaybeOwnedInspector;
/// - Block: Hook on block execution
/// - BlockWithIndex: Hook on block execution transaction index
/// - Transaction: Hook on a specific transaction hash
Copy link
Member

Choose a reason for hiding this comment

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

doc looks outdated/wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, this was the case previously, tbh I don't know why this is here.
Perhpas the idea was to move the stack from foundry to here, but I'd rather delete this one here, will probably do so.

@rakita
Copy link
Contributor

rakita commented Jan 30, 2024

Bumped to newest revm on main. Small refactor, CallInputs/CreateInputs added to call_end/create_end.

@rakita rakita marked this pull request as ready for review February 5, 2024 14:34
@mattsse
Copy link
Contributor Author

mattsse commented Feb 5, 2024

lgtm

Cargo.toml Outdated Show resolved Hide resolved
@rakita
Copy link
Contributor

rakita commented Feb 5, 2024

will merge after CI

@rakita rakita merged commit a6779fd into main Feb 5, 2024
11 checks passed
@DaniPopes DaniPopes deleted the matt/migrate-revm branch February 5, 2024 23:28
mattsse added a commit that referenced this pull request Mar 6, 2024
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.

Migrate to new revm API
3 participants