Skip to content

[1.0-beta4] P2P: Fix handling of known pending block#484

Merged
heifner merged 1 commit intorelease/1.0-beta4from
GH-390-p2p-notice-beta4
Aug 7, 2024
Merged

[1.0-beta4] P2P: Fix handling of known pending block#484
heifner merged 1 commit intorelease/1.0-beta4from
GH-390-p2p-notice-beta4

Conversation

@heifner
Copy link
Contributor

@heifner heifner commented Aug 6, 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 to not reach syned up state in time for the test to not fail.

Resolves #390

@heifner heifner requested review from greg7mdp and linh2931 August 6, 2024 23:00
@heifner heifner added the OCI Work exclusive to OCI team label Aug 6, 2024
@heifner heifner linked an issue Aug 6, 2024 that may be closed by this pull request
@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