Closed code423n4 closed 2 years ago
Tomio
Expensive gas
https://github.com/code-423n4/2022-01-sherlock/blob/main/contracts/managers/Manager.sol#L32
From https://github.com/code-423n4/2022-01-sherlock/blob/main/contracts/managers/Manager.sol#L35 Change to
if (msg.sender != DEPLOYER)
can save gas
Handle
Tomio
Vulnerability details
Impact
Expensive gas
Proof of Concept
https://github.com/code-423n4/2022-01-sherlock/blob/main/contracts/managers/Manager.sol#L32
Recommended Mitigation Steps
From https://github.com/code-423n4/2022-01-sherlock/blob/main/contracts/managers/Manager.sol#L35 Change to
can save gas