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 bug in protocol and flow for merging blocks #229

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Conversation

rpanic
Copy link
Member

@rpanic rpanic commented Nov 21, 2024

Previously, if there were more than 2 blocks in a batch, the block merging flow would halt because it couldn't find any more matches. This was because we only exposed the blockNumber as public output, therefore as soon as we merged blocks n+1 and n+2, the next merge (n and this block) couldn't find a match because n + 1 != n + 2.

The fix adds a "from" blockNumber to the publicInput and therefore allows corrected stitching.

@maht0rz maht0rz merged commit 41afd2e into develop Nov 21, 2024
5 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.

2 participants