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

test: engine tree live sync, FCU extends canon chain with existing blocks #10154

Merged
merged 7 commits into from
Aug 7, 2024

Conversation

fgimenez
Copy link
Member

@fgimenez fgimenez commented Aug 7, 2024

Closes #10015

As described in #10015, I was trying to reproduce a scenario where we request to download a block already present after receiving an FCU. Given how we call lowest_buffered_ancestor_or in on_forkchoice_updated I couldn't reproduce any issue (at least for chains connected to the current head), before the call we had already tried to extend the existing canon chain.

So the test ended up exercising canon chain extension.

@github-actions github-actions bot added C-bug An unexpected or incorrect behavior C-test A change that impacts how or what we test labels Aug 7, 2024
@fgimenez fgimenez force-pushed the fgimenez/live-sync-fcu-extends-canon-chain branch from 504d1cc to 9426f6e Compare August 7, 2024 09:35
@fgimenez fgimenez removed the C-bug An unexpected or incorrect behavior label Aug 7, 2024
Base automatically changed from fgimenez/live-sync-transition-reach-canonical to main August 7, 2024 10:08
@fgimenez fgimenez force-pushed the fgimenez/live-sync-fcu-extends-canon-chain branch from 9426f6e to 09aad7a Compare August 7, 2024 10:15
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

cool!

@fgimenez fgimenez added this pull request to the merge queue Aug 7, 2024
Merged via the queue into main with commit 27d21b0 Aug 7, 2024
33 checks passed
@fgimenez fgimenez deleted the fgimenez/live-sync-fcu-extends-canon-chain branch August 7, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-test A change that impacts how or what we test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Live sync transition scenario tests
2 participants