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

forge-std >=1.8.0 not supported #443

Closed
Karrq opened this issue Jun 26, 2024 · 1 comment · Fixed by #445
Closed

forge-std >=1.8.0 not supported #443

Karrq opened this issue Jun 26, 2024 · 1 comment · Fixed by #445

Comments

@Karrq
Copy link
Contributor

Karrq commented Jun 26, 2024

Component

Forge

What version of Foundry are you on?

forge 0.0.2 (f505a53 2024-06-26T16:06:53.429139000Z)

Describe the bug

As described in #388, using any cheatcode added in forge-std v1.8.0 (or after) results in an unknown selector error.

This is because foundry-zksync hasn't updated from upstream yet, thus the cheatcodes are literally missing from the implementation.

It's possible to downgrade the version of forge-std in existing projects using the following commands:

forge rm foundry-std --force
forge install foundry-rs/[email protected] --no-commit
@Karrq
Copy link
Contributor Author

Karrq commented Jul 22, 2024

Happy to report that we support up to the latest release (1.9.1) :)

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 a pull request may close this issue.

1 participant