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

Fix tracking the last collected interval #137

Merged
merged 6 commits into from
Jun 17, 2024

Conversation

amarinkovic
Copy link
Member

@amarinkovic amarinkovic commented Jun 17, 2024

Here we address the issue with keeping track of last collected interval for user rewards. If a user collects an earlier reward at the same interval when another reward is paid after he collects(in that same interval), he should still be able to collect that second reward afterwards.

@amarinkovic amarinkovic mentioned this pull request Jun 17, 2024
Copy link
Contributor

@kevin-fruitful kevin-fruitful left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Not sure why the unrelated fuzz test is failing

@amarinkovic amarinkovic merged commit 7edd82d into dev Jun 17, 2024
1 of 2 checks passed
@amarinkovic amarinkovic deleted the stake_and_reward_same_interval branch June 17, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants