VIS-2 / taobank-04-24

0 stars 0 forks source link

Recommendation to use `uint48` for time-centric variables #21

Open 0xMilenov opened 4 months ago

0xMilenov commented 4 months ago

Context

AuctionManager::auctionData

Description

For time-relevant variables, uint32 might be restrictive as it ends in 2106, potentially posing challenges in the far future. On the other hand, using excessively large types like uint256 is unnecessary. Thus, uint48 offers a balanced choice for such use cases.