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 Snap sync #3208

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Fix Snap sync #3208

merged 1 commit into from
Nov 4, 2024

Conversation

nazar-pc
Copy link
Member

@nazar-pc nazar-pc commented Nov 4, 2024

Recent change to request-response protocol supporting explicit addresses brought an unexpected issue: calling WithPeerId::addresses() sets extend_addresses_through_behaviour = false internally, meaning dials triggered by requests in Snap sync (where we don't specify addresses explicitly) are all suddenly failing.

autonomys/rust-libp2p@3f6238a fixed this by explicitly enabling previous behavior even if addresses are provided explicitly.

Code contributor checklist:

@nazar-pc nazar-pc added this pull request to the merge queue Nov 4, 2024
Merged via the queue into main with commit cd61792 Nov 4, 2024
10 checks passed
@nazar-pc nazar-pc deleted the fix-snap-sync branch November 4, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants