This changes both timestamps (maturationTimestamp and depositTimestamp) and fundingID and depositID from uint256 to uint64. It saves up to 7 % gas on the methods, but deployment gets up to 5 % more expensive.
In practise the gas savings should be even bigger, because the lists (fundingList and deposits) in production are even longer (than in the tests).
The contract size is over 24k and thus several tests fail now.
With settings.debug.revertStrings = "strip" the contracts are small enough, but then 30 tests fail, because they test revert strings.
This changes both timestamps (
maturationTimestamp
anddepositTimestamp
) andfundingID
anddepositID
from uint256 to uint64. It saves up to 7 % gas on the methods, but deployment gets up to 5 % more expensive. In practise the gas savings should be even bigger, because the lists (fundingList
anddeposits
) in production are even longer (than in the tests).The contract size is over 24k and thus several tests fail now.
With
settings.debug.revertStrings = "strip"
the contracts are small enough, but then 30 tests fail, because they test revert strings.