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

Need total staked tokens for older governance proposals #1783

Closed
Tracked by #2006
brentstone opened this issue Aug 2, 2023 · 2 comments · Fixed by #1944
Closed
Tracked by #2006

Need total staked tokens for older governance proposals #1783

brentstone opened this issue Aug 2, 2023 · 2 comments · Fixed by #1944
Labels

Comments

@brentstone
Copy link
Collaborator

Governance proposals may tally voting results at a grace epoch that can be many epochs after the voting end epochs. We currently keep total staked tokens data in the total_deltas just for 23 epochs, but this should probably be larger, perhaps some arbitrarily larger number like 100, or some number tied to governance like one related to max_proposal_period.

@brentstone brentstone added the PoS label Aug 2, 2023
@brentstone
Copy link
Collaborator Author

@Fraccaman

@tzemanovic
Copy link
Member

#1944 changes the PoS epoched data to be available for tallying. @Fraccaman we then need to store the tallying result on-chain, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants