Closed code423n4 closed 2 years ago
Ruhum
Immutable variables use less gas. The developer state variable seems tobe only set in the constructor of the Adminable contract
developer
https://github.com/code-423n4/2022-01-openleverage/blob/main/openleverage-contracts/contracts/Adminable.sol#L9
none
make immutable
Duplicate to #11
Handle
Ruhum
Vulnerability details
Impact
Immutable variables use less gas. The
developer
state variable seems tobe only set in the constructor of the Adminable contractProof of Concept
https://github.com/code-423n4/2022-01-openleverage/blob/main/openleverage-contracts/contracts/Adminable.sol#L9
Tools Used
none
Recommended Mitigation Steps
make immutable