Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur authored Jan 5, 2025
1 parent cddfbd3 commit cc9763e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit cc9763e

Please sign in to comment.