-
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
feat(fmt): support transient
keyword
#9088
Comments
transient
keyword in fmttransient
keyword in fmt
Hi @adhusson thanks for flagging For future reference: https://soliditylang.org/blog/2024/10/09/solidity-0.8.28-release-announcement/ this was introduced in 0.8.28 To fix this we'll need an update to Solang: https://crates.io/crates/solang-parser |
transient
keyword in fmttransient
keyword
Update @adhusson: the Solang team is now aware and adding it should be straightforward, just looking for the time to add it |
cc @DaniPopes do we support the |
Yes, this will be fixed by the migration |
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (f79c53c 2024-10-10T00:25:05.432733000Z)
What command(s) is the bug in?
forge fmt
Operating System
macOS (Apple Silicon)
Describe the bug
When the new
transient
keyword is used,forge fmt
fails. For instance iftransient
is added to thenumber
state variable of the initialCounter
contract:The text was updated successfully, but these errors were encountered: