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

Re-added missing astrid flags to UnwindHeimdall #12582

Merged
merged 4 commits into from
Nov 5, 2024

Conversation

mh0lt
Copy link
Contributor

@mh0lt mh0lt commented Nov 2, 2024

This fixes this issue when running main with bor_heimdall stage:

[EROR] [10-31|09:13:03.527] Staged Sync                              err="[3/9 BorHeimdall] unexpected missing first processed block info entry when unwinding"

It was caused by a miss-merge after this PR: #12148

@mh0lt mh0lt added the polygon label Nov 2, 2024
@mh0lt mh0lt requested a review from taratorio November 2, 2024 11:09
@mh0lt mh0lt added the imp1 High importance label Nov 2, 2024
@@ -97,13 +97,13 @@ func UnwindHeimdall(ctx context.Context, heimdallStore heimdall.Store, bridgeSto
}
}

if !unwindCfg.KeepEventNums {
if !unwindCfg.KeepEventNums && unwindCfg.Astrid {
Copy link
Member

Choose a reason for hiding this comment

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

should not be needed, only bridge.UnwindEventProcessedBlocks and UnwindSpanBlockProducerSelections are guarded by the Astrid flag as per https://github.com/erigontech/erigon/pull/12148/files

@taratorio taratorio enabled auto-merge (squash) November 5, 2024 16:07
@taratorio taratorio merged commit 278466e into main Nov 5, 2024
11 checks passed
@taratorio taratorio deleted the fix_heimdall_unwind_flags branch November 5, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imp1 High importance polygon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants