Closed code423n4 closed 2 years ago
Tomio
Expensive gas
https://github.com/code-423n4/2022-01-sherlock/blob/main/contracts/managers/SherlockClaimManager.sol#L184
Remix
Change:
claims_[_claimIdentifier].state = _state; claims_[_claimIdentifier].updated = block.timestamp;
To:
claim.state = _state; claim.updated = block.timestamp;
Dup #200
Handle
Tomio
Vulnerability details
Impact
Expensive gas
Proof of Concept
https://github.com/code-423n4/2022-01-sherlock/blob/main/contracts/managers/SherlockClaimManager.sol#L184
Tools Used
Remix
Recommended Mitigation Steps
Change:
To: