code-423n4 / 2021-07-spartan-findings

0 stars 0 forks source link

state variable that can be declared as constant #219

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

JMukesh

Vulnerability details

Impact

https://docs.soliditylang.org/en/v0.8.6/contracts.html#constant-and-immutable-state-variables

Proof of Concept

https://github.com/code-423n4/2021-07-spartan/blob/e2555aab44d9760fdd640df9095b7235b70f035e/contracts/Utils.sol#L11

Tools Used

manual review

Recommended Mitigation Steps