Use maximum allowed response size for request/response protocols (#5753)
# Description Adjust the PoV response size to the default values used in the substrate. Fixes https://github.com/paritytech/polkadot-sdk/issues/5503 ## Integration The changes shouldn't impact downstream projects since we are only increasing the limit. ## Review Notes You can't see it from the changes, but it affects all protocols that use the `POV_RESPONSE_SIZE` constant. - Protocol::ChunkFetchingV1 - Protocol::ChunkFetchingV2 - Protocol::CollationFetchingV1 - Protocol::CollationFetchingV2 - Protocol::PoVFetchingV1 - Protocol::AvailableDataFetchingV1 ## Increasing timeouts https://github.com/paritytech/polkadot-sdk/blob/fae15379/polkadot/node/network/protocol/src/request_response/mod.rs#L126-L129 I assume the current PoV request timeout is set to 1.2s to handle 5 consecutive requests during a 6s block. This setting does not relate to the PoV response size. I see no reason to change the curren...
Showing
- polkadot/node/network/protocol/src/request_response/mod.rs 5 additions, 8 deletionspolkadot/node/network/protocol/src/request_response/mod.rs
- prdoc/pr_5753.prdoc 21 additions, 0 deletionsprdoc/pr_5753.prdoc
- substrate/client/network/light/src/light_client_requests.rs 4 additions, 2 deletionssubstrate/client/network/light/src/light_client_requests.rs
- substrate/client/network/src/bitswap/mod.rs 2 additions, 1 deletionsubstrate/client/network/src/bitswap/mod.rs
- substrate/client/network/src/lib.rs 3 additions, 0 deletionssubstrate/client/network/src/lib.rs
- substrate/client/network/src/protocol.rs 2 additions, 1 deletionsubstrate/client/network/src/protocol.rs
- substrate/client/network/sync/src/block_request_handler.rs 2 additions, 2 deletionssubstrate/client/network/sync/src/block_request_handler.rs
- substrate/client/network/sync/src/state_request_handler.rs 2 additions, 2 deletionssubstrate/client/network/sync/src/state_request_handler.rs
- substrate/client/network/sync/src/warp_request_handler.rs 1 addition, 3 deletionssubstrate/client/network/sync/src/warp_request_handler.rs
- substrate/client/network/transactions/src/config.rs 2 additions, 1 deletionsubstrate/client/network/transactions/src/config.rs