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

Bug(frontend): check if user already transitioned before upvote/downvote -ing #515

Open
kittybest opened this issue Sep 18, 2024 · 1 comment
Labels
bug Something isn't working frontend

Comments

@kittybest
Copy link
Collaborator

Describe the bug
If the user's currentEpoch does not match the contract current epoch, would return InvalidEpoch() error while upvote/downvote.

Expected behavior
Since we need the reputation proof before user does any action, so need to do ust before upvote/downvote.

@github-actions github-actions bot added bug Something isn't working frontend labels Sep 18, 2024
@cc03668
Copy link
Contributor

cc03668 commented Oct 24, 2024

@Xiawpohr 想確認我們上次討論完,是不是有確認到如果 vote 是該 epoch 第一個動作的話,我們都會做 state transition 呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

2 participants