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

fix(state-parts-dump-check): check the right sync hash (#12975) #13028

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

VanBarbascu
Copy link
Contributor

After the current epoch state sync feature is enabled, getting the state roots from the last block of the previous epoch no longer works. So in this PR we find the right sync hash if that protocol feature is enabled by iterating over the chunks in the new epoch until we find the right point.

@VanBarbascu VanBarbascu requested a review from a team as a code owner March 3, 2025 17:20
After the current epoch state sync feature is enabled, getting the state
roots from the last block of the previous epoch no longer works. So in
this PR we find the right sync hash if that protocol feature is enabled
by iterating over the chunks in the new epoch until we find the right
point.
@VanBarbascu VanBarbascu force-pushed the 2.5_state_parts_cherrypick branch from 3ed7e99 to bc800b3 Compare March 3, 2025 18:04
@VanBarbascu VanBarbascu merged commit c1d4dad into near:2.5.0 Mar 3, 2025
16 of 24 checks passed
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.

3 participants