This PR changes some variables stored as uint256 to uint32 for gas savings. Some state variables and structs were re-ordered to take advantage of variable packing.
Some values, such as quorumNumerator and quorumDenominator did not result in gas savings by changing to a smaller uint, due to the extra variable casting that this causes.
Description
This PR changes some variables stored as
uint256
touint32
for gas savings. Some state variables and structs were re-ordered to take advantage of variable packing. Some values, such asquorumNumerator
andquorumDenominator
did not result in gas savings by changing to a smaller uint, due to the extra variable casting that this causes.Notes
Issue / Notion doc (if applicable)
https://github.com/decent-dao/fractal-contracts/issues/41
Testing
Screenshots (if applicable)