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 executed state sync events and proofs from the store #1977

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

dusan-maksimovic
Copy link
Contributor

Description

This PR removes state sync events and their proofs after they have been successfully executed. Removal is performed after each new block is inserted. Any errors returned are just logged, since the removal of this data from bolt db is not essential for node functioning.

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have updated the official documentation
  • I have added sufficient documentation in code

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

@dusan-maksimovic dusan-maksimovic added the feature New update to Polygon Edge label Oct 10, 2023
@dusan-maksimovic dusan-maksimovic requested a review from a team October 10, 2023 10:37
@dusan-maksimovic dusan-maksimovic self-assigned this Oct 10, 2023
@dusan-maksimovic dusan-maksimovic force-pushed the EVM-792-remove-executed-state-syncs-from-db branch from 469b842 to e5ccde3 Compare October 12, 2023 08:28
@dusan-maksimovic dusan-maksimovic merged commit 83e2a53 into develop Oct 12, 2023
10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2023
@dusan-maksimovic dusan-maksimovic deleted the EVM-792-remove-executed-state-syncs-from-db branch October 12, 2023 08:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New update to Polygon Edge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants