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

IF: Change Fork_db root to store block state #2283

Closed
Tracked by #2110
linh2931 opened this issue Mar 6, 2024 · 0 comments · Fixed by #2284
Closed
Tracked by #2110

IF: Change Fork_db root to store block state #2283

linh2931 opened this issue Mar 6, 2024 · 0 comments · Fixed by #2284
Assignees

Comments

@linh2931
Copy link
Member

linh2931 commented Mar 6, 2024

Currently fork_db's root only stores block_header_state. #2080 requires copying valid structure from previous block_state to current one. This causes problems when previous block is the root.

  • Change fork_db root to store block_state.
  • Provide a new API to return block_state including root while keeping existing APIs unchanged
  • Make sure old-version fork_db with the root storing block_header_state can be opened.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants