We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
An immutable variable can provide gas saving compared to a non-immutable variable.
The IsGTrancheSet boolean is set only once in GMigration.sol and can be immutable.
IsGTrancheSet
Gas savings.
Make IsGTrancheSet immutable for gas savings.
The text was updated successfully, but these errors were encountered:
acknowledged: Won't fix reasoning: migration contracts is intended to run once, and the gas saving is minimal.
Sorry, something went wrong.
When branches are created from issues, their pull requests are automatically linked.
An immutable variable can provide gas saving compared to a non-immutable variable.
Technical Details
The
IsGTrancheSet
boolean is set only once in GMigration.sol and can be immutable.Impact
Gas savings.
Recommendation
Make
IsGTrancheSet
immutable for gas savings.The text was updated successfully, but these errors were encountered: