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(ChainTree): set first block on forked chain #6821

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

rakita
Copy link
Collaborator

@rakita rakita commented Feb 27, 2024

closes: #6171

One line fix, the first block was not set when the side chain was forked so if that chain gets split it will have an incorrect first number and would panic.

Copy link
Member

@rkrasiuk rkrasiuk left a comment

Choose a reason for hiding this comment

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

lgtm!

@rkrasiuk rkrasiuk added C-bug An unexpected or incorrect behavior A-blockchain-tree Related to sidechains, reorgs and pending blocks labels Feb 27, 2024
@rkrasiuk rkrasiuk added this pull request to the merge queue Feb 27, 2024
Merged via the queue into main with commit 9a949e9 Feb 27, 2024
29 checks passed
@rkrasiuk rkrasiuk deleted the rakita/first_block_forked_chain branch February 27, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-blockchain-tree Related to sidechains, reorgs and pending blocks C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reth panicked at crates/storage/provider/src/bundle_state/bundle_state_with_receipts.rs:254:61
2 participants