We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uint8
uint256
https://github.com/bowd/defi-collector/blob/master/contracts/DYDXCollector.sol#L66
defi-collector/contracts/DYDXCollector.sol
Line 72 in b2b5e42
It's not obvious but it's cheaper to use uint256 everywhere as opposed to uint8 because it doesn't need to "trim" the variables to the smaller size.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/bowd/defi-collector/blob/master/contracts/DYDXCollector.sol#L66
defi-collector/contracts/DYDXCollector.sol
Line 72 in b2b5e42
It's not obvious but it's cheaper to use
uint256
everywhere as opposed touint8
because it doesn't need to "trim" the variables to the smaller size.The text was updated successfully, but these errors were encountered: