Skip to content

fix: correctly adjust depth when calling cheatcodes with --isolate #8273

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
merged 1 commit into from
Jun 27, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Jun 27, 2024

Motivation

After #8181 cheatcodes are called separately in InspectorStack::call and currently depth for its invocation is not adjusted while in isolation, resulting in failing test-isolate CI job https://github.com/foundry-rs/foundry/actions/runs/9688379922

Solution

Adjust depth separately for Cheatcodes call

@klkvr klkvr force-pushed the klkvr/fix-isolate branch from 2232194 to bd8971f Compare June 27, 2024 13:25
@DaniPopes DaniPopes merged commit d3572af into master Jun 27, 2024
19 checks passed
@DaniPopes DaniPopes deleted the klkvr/fix-isolate branch June 27, 2024 14:06
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