Skip to content

Commit

Permalink
set 50 max holds
Browse files Browse the repository at this point in the history
  • Loading branch information
liamaharon committed Oct 16, 2023
1 parent 44357f6 commit c91e7c5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
3 changes: 1 addition & 2 deletions relay/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ impl pallet_indices::Config for Runtime {

parameter_types! {
pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
pub const MaxHolds: u32 = u32::MAX;
}

impl pallet_balances::Config for Runtime {
Expand All @@ -310,7 +309,7 @@ impl pallet_balances::Config for Runtime {
type FreezeIdentifier = ();
type MaxFreezes = ConstU32<50>;
type RuntimeHoldReason = RuntimeHoldReason;
type MaxHolds = MaxHolds;
type MaxHolds = ConstU32<50>;
}

parameter_types! {
Expand Down
3 changes: 1 addition & 2 deletions relay/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ impl pallet_indices::Config for Runtime {

parameter_types! {
pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
pub const MaxHolds: u32 = u32::MAX;
}

impl pallet_balances::Config for Runtime {
Expand All @@ -301,7 +300,7 @@ impl pallet_balances::Config for Runtime {
type WeightInfo = weights::pallet_balances::WeightInfo<Runtime>;
type RuntimeHoldReason = RuntimeHoldReason;
type FreezeIdentifier = ();
type MaxHolds = MaxHolds;
type MaxHolds = ConstU32<50>;
type MaxFreezes = ConstU32<50>;
}

Expand Down
3 changes: 1 addition & 2 deletions system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ impl pallet_authorship::Config for Runtime {

parameter_types! {
pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
pub const MaxHolds: u32 = u32::MAX;
}

impl pallet_balances::Config for Runtime {
Expand All @@ -217,7 +216,7 @@ impl pallet_balances::Config for Runtime {
type ReserveIdentifier = [u8; 8];
type RuntimeHoldReason = RuntimeHoldReason;
type FreezeIdentifier = ();
type MaxHolds = MaxHolds;
type MaxHolds = ConstU32<50>;
type MaxFreezes = ConstU32<50>;
}

Expand Down
3 changes: 1 addition & 2 deletions system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ impl pallet_authorship::Config for Runtime {

parameter_types! {
pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
pub const MaxHolds: u32 = u32::MAX;
}

impl pallet_balances::Config for Runtime {
Expand All @@ -235,7 +234,7 @@ impl pallet_balances::Config for Runtime {
type ReserveIdentifier = [u8; 8];
type RuntimeHoldReason = RuntimeHoldReason;
type FreezeIdentifier = ();
type MaxHolds = MaxHolds;
type MaxHolds = ConstU32<50>;
type MaxFreezes = ConstU32<50>;
}

Expand Down
3 changes: 1 addition & 2 deletions system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ impl pallet_authorship::Config for Runtime {

parameter_types! {
pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
pub const MaxHolds: u32 = u32::MAX;
}

impl pallet_balances::Config for Runtime {
Expand All @@ -253,7 +252,7 @@ impl pallet_balances::Config for Runtime {
type ReserveIdentifier = [u8; 8];
type RuntimeHoldReason = RuntimeHoldReason;
type FreezeIdentifier = ();
type MaxHolds = MaxHolds;
type MaxHolds = ConstU32<50>;
type MaxFreezes = ConstU32<50>;
}

Expand Down
3 changes: 1 addition & 2 deletions system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ impl pallet_authorship::Config for Runtime {

parameter_types! {
pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
pub const MaxHolds: u32 = u32::MAX;
}

impl pallet_balances::Config for Runtime {
Expand All @@ -253,7 +252,7 @@ impl pallet_balances::Config for Runtime {
type ReserveIdentifier = [u8; 8];
type RuntimeHoldReason = RuntimeHoldReason;
type FreezeIdentifier = ();
type MaxHolds = MaxHolds;
type MaxHolds = ConstU32<50>;
type MaxFreezes = ConstU32<50>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ impl pallet_authorship::Config for Runtime {

parameter_types! {
pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
pub const MaxHolds: u32 = u32::MAX;
}

impl pallet_balances::Config for Runtime {
Expand All @@ -211,7 +210,7 @@ impl pallet_balances::Config for Runtime {
type ReserveIdentifier = [u8; 8];
type RuntimeHoldReason = RuntimeHoldReason;
type FreezeIdentifier = ();
type MaxHolds = MaxHolds;
type MaxHolds = ConstU32<50>;
type MaxFreezes = ConstU32<50>;
}

Expand Down

0 comments on commit c91e7c5

Please sign in to comment.