-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
bug(compiler
): the ether
keyword breaks forge scripts when ran as forge script Foo
#9433
Comments
Hi @zaqk thanks for the bug report I'm able to reproduce it with the given setup and it appears to be a regression |
ether
keyword breaks forge scriptscompiler
): the ether
keyword breaks forge scripts
Update: appears to be related to a change introduced in #9346 or #8668 + https://github.com/foundry-rs/compilers Fails: cc @klkvr |
It is not exactly clear why the Re-rating to |
compiler
): the ether
keyword breaks forge scriptscompiler
): the ether
keyword breaks forge scripts when ran as forge script Foo
also worth noting i didnt run into the issue if i used |
Fixes after bump foundry-rs/foundry#9433
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (27cabbd 2024-11-29T00:28:06.641192000Z)
What command(s) is the bug in?
forge script
Operating System
macOS (Apple Silicon)
Describe the bug
it seems the use of the
ether
keyword anywhere in a forge script contract will cause break forge script.My code:
The error:
a workaround is to just not use the keyword.
Workaround code:
console output
The text was updated successfully, but these errors were encountered: