Skip to content

Commit

Permalink
Fix DefaultChannelSizeAndCapacityWithSystem
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Jun 17, 2024
1 parent c39609e commit 3981085
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions relay/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1307,8 +1307,8 @@ impl parachains_dmp::Config for Runtime {}

parameter_types! {
pub const DefaultChannelSizeAndCapacityWithSystem: (u32, u32) = (
// Prepare for 128KiB pages and leave space for a header:
1 << 17 - 16,
// Prepare for 64KiB pages and leave space for a header:
(1 << 16) - 16,
10 * 1024,
);
pub const HrmpChannelSizeAndCapacityWithSystemRatio: Percent = Percent::from_percent(100);
Expand Down
2 changes: 1 addition & 1 deletion relay/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ impl parachains_dmp::Config for Runtime {}
parameter_types! {
pub const DefaultChannelSizeAndCapacityWithSystem: (u32, u32) = (
// Prepare for 64KiB pages and leave space for a header:
1 << 16 - 16,
(1 << 16) - 16,
1024,
);
pub const HrmpChannelSizeAndCapacityWithSystemRatio: Percent = Percent::from_percent(100);
Expand Down

0 comments on commit 3981085

Please sign in to comment.