From 854ce630270dcd41ff9bee31d2c6cc5314ec1377 Mon Sep 17 00:00:00 2001 From: Haiko Schol Date: Wed, 15 Jan 2025 14:34:36 +0700 Subject: [PATCH] update behavior when disconnected in SendRequests In the host implementers guide, this message is using `TryConnect`, but it was later changed to `ImmediateError` for optimization purposes (fail quickly and try another peer instead of waiting). --- docs/docs/design/availability-distribution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/design/availability-distribution.md b/docs/docs/design/availability-distribution.md index 2b4fa998ba..ee8198adca 100644 --- a/docs/docs/design/availability-distribution.md +++ b/docs/docs/design/availability-distribution.md @@ -42,7 +42,7 @@ The overseer must be modified to forward these messages to the subsystem. ### Messages Sent -1. [`NetworkBridgeTxMessage::SendRequests(Requests, IfDisconnected::TryConnect)`](https://github.com/paritytech/polkadot-sdk/blob/41b6915ecb4b5691cdeeb585e26d46c4897ae151/polkadot/node/subsystem-types/src/messages.rs#L433) +1. [`NetworkBridgeTxMessage::SendRequests(Requests, IfDisconnected::ImmediateError)`](https://github.com/paritytech/polkadot-sdk/blob/41b6915ecb4b5691cdeeb585e26d46c4897ae151/polkadot/node/subsystem-types/src/messages.rs#L433) This network bridge message is used to request PoVs and erasure chunks from other validators in the core group. [It is not implemented](https://github.com/ChainSafe/gossamer/blob/32256782470db15efb3b7b4ba687311dd4e7cdce/dot/parachain/network-bridge/sender.go#L95-L96)