Open code423n4 opened 2 years ago
Duplicate of #62
This one is partially valid. RocketJoeStaking is proxied so you can't make the variables immutable. RocketJoeFactory rJoe can be set to a different value after the constructor is called.
RocketJoeFactory wavax, however, is only set during the constructor and is never changed. Using immutable here would save some gas.
Handle
Czar102
Vulnerability details
Impact
Storage variable reads are gas-intensive, mark unchanging variables immutable in the case of non-upgradeable contracts.
Examples
Tools Used
Manual analysis