Closed code423n4 closed 2 years ago
Jujic
settleAuction() method could be set external instead public to save gas. Detailed description of the impact of this finding.
settleAuction()
https://github.com/code-423n4/2021-12-defiprotocol/blob/205d3766044171e325df6a8bf2e79b37856eece1/contracts/contracts/Auction.sol#L74
This does not generate gas savings after Solidity version ^0.8.0
^0.8.0
Handle
Jujic
Vulnerability details
Impact
settleAuction()
method could be set external instead public to save gas. Detailed description of the impact of this finding.Proof of Concept
https://github.com/code-423n4/2021-12-defiprotocol/blob/205d3766044171e325df6a8bf2e79b37856eece1/contracts/contracts/Auction.sol#L74
Tools Used
Recommended Mitigation Steps