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

[5.0 -> main] P2P: Fix handling of known pending block #494

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Aug 7, 2024

In 5.0, P2P added new protocol version to include start/end range in notice_message. See AntelopeIO/leap#1215

When that was added, sync_recv_notice was not updated to use the correct id for verify_catchup. This causes additional handshakes and syncing to resolve syncing up to head.

This caused disaster_recovery_2 in spring to not reach syned up state in time for the test to not fail.

Resolves #390

Merges leap/release/5.0 into main including AntelopeIO/leap#2401
Empty diff since it was backported to 5.0 AntelopeIO/leap#2401
Original spring PR: #484 merged into main via #486

@heifner heifner added the OCI Work exclusive to OCI team label Aug 7, 2024
@heifner heifner requested review from linh2931 and greg7mdp August 7, 2024 18:04
@heifner heifner merged commit 6035f21 into main Aug 7, 2024
36 checks passed
@heifner heifner deleted the GH-390-p2p-notice-merge-main branch August 7, 2024 20:00
@ericpassmore
Copy link
Contributor

Note:start
group: STABILITY
category: INTERNALS
summary: P2P to correctly report id of know pending blocks.
Note:end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test Failure: disaster_recovery_2
4 participants