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

Delete token balances only for blocks that lost consensus #7927

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

Qwerty5Uiop
Copy link
Collaborator

Motivation

Currently we delete token balances on block import for every consensus block but it's needed only for reorgs so it's reasonable to delete balances only for blocks that lost consensus.

Changelog

Changed blocks runner to delete token balances only for blocks that lost consensus

@Qwerty5Uiop Qwerty5Uiop force-pushed the delete-token-balances-for-non-consensus-blocks branch from 3291a6f to 6588733 Compare July 13, 2023 11:02
@Qwerty5Uiop Qwerty5Uiop force-pushed the delete-token-balances-for-non-consensus-blocks branch from 0fa0cdc to 5975421 Compare July 19, 2023 10:31
@vbaranov vbaranov merged commit 6b047b5 into master Jul 19, 2023
15 checks passed
@vbaranov vbaranov deleted the delete-token-balances-for-non-consensus-blocks branch July 19, 2023 11:08
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.

None yet

4 participants