diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/primitives/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/primitives/src/lib.rs index 1e4fc0e77f..b082608727 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/primitives/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/primitives/src/lib.rs @@ -71,8 +71,9 @@ impl ChainWithMessages for BridgeHubKusama { const MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX: MessageNonce = MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX; /// This constant limits the maximum number of messages in `receive_messages_proof`. - /// We need to adjust it from 4096 to 2024 due to the actual weights identified by `check_message_lane_weights`. - /// A higher value can be set once we switch `max_extrinsic_weight` to `BlockWeightsForAsyncBacking`. + /// We need to adjust it from 4096 to 2024 due to the actual weights identified by + /// `check_message_lane_weights`. A higher value can be set once we switch + /// `max_extrinsic_weight` to `BlockWeightsForAsyncBacking`. const MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX: MessageNonce = 2024; } diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs index 43d58b114f..1fce65e2fc 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs @@ -68,8 +68,9 @@ impl ChainWithMessages for BridgeHubPolkadot { const MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX: MessageNonce = MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX; /// This constant limits the maximum number of messages in `receive_messages_proof`. - /// We need to adjust it from 4096 to 2024 due to the actual weights identified by `check_message_lane_weights`. - /// A higher value can be set once we switch `max_extrinsic_weight` to `BlockWeightsForAsyncBacking`. + /// We need to adjust it from 4096 to 2024 due to the actual weights identified by + /// `check_message_lane_weights`. A higher value can be set once we switch + /// `max_extrinsic_weight` to `BlockWeightsForAsyncBacking`. const MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX: MessageNonce = 2024; }