Skip to content
New issue

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

Certora formally verified rewards checker #1656

Merged
merged 97 commits into from
Mar 15, 2024
Merged

Certora formally verified rewards checker #1656

merged 97 commits into from
Mar 15, 2024

Conversation

QGarchery
Copy link
Collaborator

@QGarchery QGarchery commented Mar 20, 2023

Please look at the README for a description of this PR

@QGarchery QGarchery self-assigned this Mar 20, 2023
@QGarchery
Copy link
Collaborator Author

A simple thing to add is a check in wellFormed().

Oh right, that's an oversight, we should definitely add that !

I was also wondering about proving something like all users can never claim more than the value in root, but that's not straightforward to do

That would be a nice property to prove, but I'm not sure either how to do it

certora/checker/Checker.sol Outdated Show resolved Hide resolved
certora/checker/Checker.sol Show resolved Hide resolved
certora/checker/Checker.sol Show resolved Hide resolved
certora/checker/Checker.sol Outdated Show resolved Hide resolved
certora/helpers/MerkleTreeLib.sol Outdated Show resolved Hide resolved
certora/specs/RewardsDistributor.spec Show resolved Hide resolved
certora/specs/RewardsDistributor.spec Show resolved Hide resolved
certora/specs/RewardsDistributor.spec Show resolved Hide resolved
certora/helpers/MerkleTrees.sol Outdated Show resolved Hide resolved
certora/specs/MerkleTrees.spec Outdated Show resolved Hide resolved
certora/README.md Outdated Show resolved Hide resolved
foundry.toml Outdated Show resolved Hide resolved
certora/checker/Checker.sol Show resolved Hide resolved
certora/checker/Checker.sol Show resolved Hide resolved
certora/helpers/MerkleTreeLib.sol Show resolved Hide resolved
certora/helpers/MerkleTreeLib.sol Outdated Show resolved Hide resolved
certora/helpers/MerkleTreeLib.sol Show resolved Hide resolved
certora/helpers/MerkleTrees.sol Show resolved Hide resolved
certora/checker/create_certificate.py Show resolved Hide resolved
certora/checker/create_certificate.py Show resolved Hide resolved
@QGarchery QGarchery merged commit fbb5b13 into main Mar 15, 2024
8 checks passed
@QGarchery QGarchery deleted the certora-rewards branch March 15, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants