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

Remove changelog from staking contract #145

Merged
merged 4 commits into from
Jan 28, 2022
Merged

Conversation

ben2x4
Copy link
Contributor

@ben2x4 ben2x4 commented Jan 28, 2022

This functionality is not longer needed. My approach to rewards was flawed as know the change of the users staked balance is only half the battle. You also need to know the total amount staked for every block which will quickly become too computational expensive. My new approach is to calculate the rewards at predefined epochs.

@ben2x4 ben2x4 requested a review from 0xekez January 28, 2022 20:40
@JakeHartnell JakeHartnell merged commit 7b5c513 into main Jan 28, 2022
@JakeHartnell JakeHartnell deleted the remove-changelog-staking branch January 28, 2022 20:52
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.

3 participants