Better packing of struct AuctionData to save gas #32
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
Handle
tabish
Vulnerability details
Impact
Detailed description of the impact of this finding.
Struct AuctionData https://github.com/code-423n4/2021-11-malt/blob/c3a204a2c0f7c653c6c2dda9f4563fd1dc1cecf3/src/contracts/Auction.sol#L26 currently uses
16 slots + mapping size
. It is pack it more efficiently to save gas.Recommended Mitigation Steps
Change Struct AuctionData to:
The text was updated successfully, but these errors were encountered: