-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat: cast storage --solc-version
CLI argument
#11321
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
base: master
Are you sure you want to change the base?
Conversation
bumping for feedback! |
thank you!
IMO storage related should be fine, we can extend if needed on other commands
The warning and error message are already displayed in each case. @zerosnacks wdyt on points above?
Yes, please add a test for this, there are samples in cast.rs |
This makes sense.
I agree.
I didn't find a file named My test set includes tests
Please, feel free to tag me with requests and feedback. |
Bumping! i don't mean to be annoying, I just want to work on other issues and I can make better PRs after this first review. |
Motivation
#9939 is a feature request for
--solc-version
as a CLI argument forcast storage
. This is my first PR, please be as strict as possible so I can learn.Solution
User can override the detected version by passing
cast storage --solc-version <version>
, I've added a conditional in case the argument is passed.I have a few observations:
cast
argumentMIN_SOLC
or an invalid compiler version for that artifact? The warning and error message are already displayed in each case.PR Checklist