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: FetchFullBlockRangeFuture doesn't return on bad header #10449

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

fgimenez
Copy link
Member

Prevents FetchFullBlockRangeFuture from returning on a single invalid header on a range so that the remaining potentially valid blocks can be used. The failure is still logged and the peer is reported.

This change fixes several hive tests that were timing out, they are removed from the expected failures for both the regular and the experimental engines.

@fgimenez fgimenez added C-bug An unexpected or incorrect behavior A-networking Related to networking in general C-hivetest Used for labelling automated issues relating to hive test failures labels Aug 22, 2024
Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

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

makes sense, we still perform consensus when the invalid part of the range is inserted into the tree, so this should be sound

@fgimenez fgimenez added this pull request to the merge queue Aug 22, 2024
Merged via the queue into main with commit 85c1c07 Aug 22, 2024
37 checks passed
@fgimenez fgimenez deleted the fgimenez/downloader-doesnt-return-on-bad-header branch August 22, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-networking Related to networking in general C-bug An unexpected or incorrect behavior C-hivetest Used for labelling automated issues relating to hive test failures
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants