-
Notifications
You must be signed in to change notification settings - Fork 108
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
zetacore
: Delete Ballots after distribution
#942
Comments
Maybe we should not delete the ballots as the finalized ballots help us prevent double spending (by blocking the same ballot being created again) |
We do have the finalized inbounds check to stop ballot creation |
emissions
: Delete Ballots after distributionzetacore
: Delete Ballots after distribution
Sounds great. It will be safe then. We can go ahead to clean up ballots after distribution. |
Deleting older ballots would remove the possibility of querying ballots older than 100 blocks (current athens maturity period ) This can affect current way of operations
Proposed solutions
Changes required
cc @zeta-chain/fullstack , @zeta-chain/devops |
If these changes come within |
I don't think it would be within Can you send me an example of how we index the two events I mentioned? |
If it's not within |
@GMaiolo We should be indexing |
Not entirely sure how the indexer works but the Begin Block and End Block events are part of the block result |
Ballots can be deleted from the state after they have matured to save space on the state.db
The text was updated successfully, but these errors were encountered: