-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Contract][UST-196] Check if reputation is negative and the epoch last claimed proof < 1 day #601
base: main
Are you sure you want to change the base?
Conversation
170294e
to
d285c20
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are several things need to be changed :) Thank you for the work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me!
just one typo remained.
if (proofNullifier[nullifier]) { | ||
revert ProofHasUsed(); | ||
} | ||
|
||
proofNullifier[nullifier] = true; | ||
|
||
// check the epoch != current epoch (ppl can only post in current aepoch) | ||
// check the epoch != current epoch (ppl can only claim in current aepoch) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// check the epoch != current epoch (ppl can only claim in current aepoch) | |
// check the epoch != current epoch (ppl can only claim in current epoch) |
Summary
replace epoch key proof with daily claim proof to get check-in reputation.
Linked Issue
close #579
Details