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
Tests are potentially missing (discovered when fiddling with the code):
universal-rewards-distributor/src/UniversalRewardsDistributor.sol
Line 145 in a005126
require(timelock <= 100 || msg.sender == owner, ErrorsLib.UNAUTHORIZED_ROOT_CHANGE);
Line 127 in a005126
require(claimable >= 100 + claimed[account][reward], ErrorsLib.CLAIMABLE_TOO_LOW);
The text was updated successfully, but these errors were encountered:
I think this issue can be closed because code has been updated since then
Sorry, something went wrong.
Updated the description to match new code, I think tests could still be improved
No branches or pull requests
Tests are potentially missing (discovered when fiddling with the code):
Changing
universal-rewards-distributor/src/UniversalRewardsDistributor.sol
Line 145 in a005126
to
require(timelock <= 100 || msg.sender == owner, ErrorsLib.UNAUTHORIZED_ROOT_CHANGE);
still passes the tests.
Changing
universal-rewards-distributor/src/UniversalRewardsDistributor.sol
Line 127 in a005126
to
require(claimable >= 100 + claimed[account][reward], ErrorsLib.CLAIMABLE_TOO_LOW);
still passes the tests
The text was updated successfully, but these errors were encountered: