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: hyperchain sync #2035

Open
wants to merge 11 commits into
base: after-rebase-hyperchain-support
Choose a base branch
from

Conversation

yaboiishere
Copy link
Contributor

@yaboiishere yaboiishere commented Dec 5, 2024

The hyperchains implementation in the node reverses the way key and microblocks are ordered. This is only done for hyperchains.

The current way is that there is a keyblock followed by all of it's microblocks until a new keyblock is produced, where after it are it's microblocks. The breaking change here is that in hc the microblocks come first followed by the keyblock they belong to. This resulted in the mdw creating sync mutations for key blocks at height N with the microblocks inside them for the next keyblock N+1.

@yaboiishere yaboiishere self-assigned this Dec 5, 2024
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.

2 participants