Closed code423n4 closed 2 years ago
haku
constant value should be private or internal. it can save gas.
https://github.com/code-423n4/2022-01-sherlock/blob/c763f10c4b5fe2127677d6c25b83adcf3bcec212/contracts/Sherlock.sol#L25-L34
VS Code
change public to private/internal.
Dup #116
Handle
haku
Vulnerability details
Impact
constant value should be private or internal. it can save gas.
Proof of Concept
https://github.com/code-423n4/2022-01-sherlock/blob/c763f10c4b5fe2127677d6c25b83adcf3bcec212/contracts/Sherlock.sol#L25-L34
Tools Used
VS Code
Recommended Mitigation Steps
change public to private/internal.