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

Make the minimum mapping block 1, not genesis #3247

Merged
merged 3 commits into from
Nov 22, 2024
Merged

Make the minimum mapping block 1, not genesis #3247

merged 3 commits into from
Nov 22, 2024

Conversation

teor2345
Copy link
Contributor

This PR makes the minimum mapping block 1, rather than genesis.

During snap sync we don’t store the genesis block data, which was leading to errors when the archiver couldn’t find the genesis data to start mapping from. For background see paritytech/polkadot-sdk#5366

There are no mappings in the genesis block, so starting at 1 doesn’t change the mappings created by the node.

Code contributor checklist:

Copy link
Member

@nazar-pc nazar-pc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor comments

@teor2345 teor2345 added this pull request to the merge queue Nov 22, 2024
Merged via the queue into main with commit 92cd589 Nov 22, 2024
8 checks passed
@teor2345 teor2345 deleted the fix-map-sync branch November 22, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants