15,000 USDC
View results
Submission Details
Severity: gas

Variable names that consist of all capital letters should be reserved for constant/immutable variables

Summary

[G-23] Variable names that consist of all capital letters should be reserved for constant/immutable variables

If the variable needs to be different based on which class it comes from, a view/pure function should be used instead

file: /script/HelperConfig.s.sol
21 uint256 public DEFAULT_ANVIL_KEY = 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80;

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/script/HelperConfig.s.sol#L21

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.