Skip to content

Commit

Permalink
fix the comment about snowbridge
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Jun 11, 2024
1 parent c8d3742 commit 96a8f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polkadot/runtime/parachains/src/paras/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ const INVALID_TX_DOUBLE_VOTE: u8 = 3;
/// It does not actually fix it, but makes the worst case better. Without that limit someone
/// could completely DoS the relay chain by registering a ridiculously high amount of paras.
/// With this limit the same attack could lead to some parachains ceasing to being able to
/// communicate via snowbridge.
/// communicate via offchain XCMP. Snowbridge will still work as it only cares about `BridgeHub`.
pub const MAX_PARA_HEADS: usize = 1024;

impl<T: Config> Pallet<T> {
Expand Down

0 comments on commit 96a8f75

Please sign in to comment.