diff --git a/crates/kilt-dip-primitives/src/merkle_proofs/v0/provider_state/tests.rs b/crates/kilt-dip-primitives/src/merkle_proofs/v0/provider_state/tests.rs index 9afab8b9fb..31b8146438 100644 --- a/crates/kilt-dip-primitives/src/merkle_proofs/v0/provider_state/tests.rs +++ b/crates/kilt-dip-primitives/src/merkle_proofs/v0/provider_state/tests.rs @@ -251,7 +251,7 @@ mod dip_did_proof_with_verified_relay_state_root { type Hash = H256; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/crates/kilt-dip-primitives/src/verifier/parachain/v0/mock.rs b/crates/kilt-dip-primitives/src/verifier/parachain/v0/mock.rs index d59556af1c..7c7a87be87 100644 --- a/crates/kilt-dip-primitives/src/verifier/parachain/v0/mock.rs +++ b/crates/kilt-dip-primitives/src/verifier/parachain/v0/mock.rs @@ -71,7 +71,7 @@ impl frame_system::Config for TestRuntime { type Hash = H256; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/pallets/attestation/src/mock.rs b/pallets/attestation/src/mock.rs index cbf789867f..288ae876c0 100644 --- a/pallets/attestation/src/mock.rs +++ b/pallets/attestation/src/mock.rs @@ -261,7 +261,7 @@ pub(crate) mod runtime { type BlockLength = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } parameter_types! { diff --git a/pallets/ctype/src/mock.rs b/pallets/ctype/src/mock.rs index ce6ea8b772..ad90596ed4 100644 --- a/pallets/ctype/src/mock.rs +++ b/pallets/ctype/src/mock.rs @@ -100,7 +100,7 @@ pub mod runtime { type BlockLength = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } parameter_types! { diff --git a/pallets/delegation/src/mock.rs b/pallets/delegation/src/mock.rs index 7c816fe250..9b53f80e6f 100644 --- a/pallets/delegation/src/mock.rs +++ b/pallets/delegation/src/mock.rs @@ -247,7 +247,7 @@ pub(crate) mod runtime { type BlockLength = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } parameter_types! { diff --git a/pallets/did/src/mock.rs b/pallets/did/src/mock.rs index db59b5f3fa..752e45acc4 100644 --- a/pallets/did/src/mock.rs +++ b/pallets/did/src/mock.rs @@ -105,7 +105,7 @@ impl frame_system::Config for Test { type BlockLength = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } parameter_types! { diff --git a/pallets/pallet-asset-switch/src/mock.rs b/pallets/pallet-asset-switch/src/mock.rs index e6b868d7fd..f232eb264e 100644 --- a/pallets/pallet-asset-switch/src/mock.rs +++ b/pallets/pallet-asset-switch/src/mock.rs @@ -66,7 +66,7 @@ impl frame_system::Config for MockRuntime { type Hash = H256; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/pallets/pallet-bonded-coins/src/mock.rs b/pallets/pallet-bonded-coins/src/mock.rs index 21d1887fbf..b5996924d1 100644 --- a/pallets/pallet-bonded-coins/src/mock.rs +++ b/pallets/pallet-bonded-coins/src/mock.rs @@ -226,7 +226,7 @@ pub mod runtime { type Hash = Hash; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/pallets/pallet-configuration/src/mock.rs b/pallets/pallet-configuration/src/mock.rs index 26ab3933f4..cee13ca52d 100644 --- a/pallets/pallet-configuration/src/mock.rs +++ b/pallets/pallet-configuration/src/mock.rs @@ -79,7 +79,7 @@ pub mod runtime { type BlockLength = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } parameter_types! { diff --git a/pallets/pallet-deposit-storage/src/deposit/mock.rs b/pallets/pallet-deposit-storage/src/deposit/mock.rs index 3eeb97eb53..906a76cac0 100644 --- a/pallets/pallet-deposit-storage/src/deposit/mock.rs +++ b/pallets/pallet-deposit-storage/src/deposit/mock.rs @@ -73,7 +73,7 @@ impl frame_system::Config for TestRuntime { type Hash = H256; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/pallets/pallet-deposit-storage/src/fungible/tests/mock.rs b/pallets/pallet-deposit-storage/src/fungible/tests/mock.rs index 9ef33876cf..2f050e9233 100644 --- a/pallets/pallet-deposit-storage/src/fungible/tests/mock.rs +++ b/pallets/pallet-deposit-storage/src/fungible/tests/mock.rs @@ -75,7 +75,7 @@ impl frame_system::Config for TestRuntime { type Hash = H256; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/pallets/pallet-deposit-storage/src/mock.rs b/pallets/pallet-deposit-storage/src/mock.rs index 2ee2f43827..0e8a61451c 100644 --- a/pallets/pallet-deposit-storage/src/mock.rs +++ b/pallets/pallet-deposit-storage/src/mock.rs @@ -60,7 +60,7 @@ impl frame_system::Config for TestRuntime { type Hash = H256; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/pallets/pallet-did-lookup/src/mock.rs b/pallets/pallet-did-lookup/src/mock.rs index 5ed55e1e6f..fe3b310187 100644 --- a/pallets/pallet-did-lookup/src/mock.rs +++ b/pallets/pallet-did-lookup/src/mock.rs @@ -80,7 +80,7 @@ impl frame_system::Config for Test { type SystemWeightInfo = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } parameter_types! { diff --git a/pallets/pallet-dip-consumer/src/mock.rs b/pallets/pallet-dip-consumer/src/mock.rs index c5d597b3ca..353fa6f7a5 100644 --- a/pallets/pallet-dip-consumer/src/mock.rs +++ b/pallets/pallet-dip-consumer/src/mock.rs @@ -54,7 +54,7 @@ impl frame_system::Config for TestRuntime { type Hash = H256; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/pallets/pallet-dip-provider/src/mock.rs b/pallets/pallet-dip-provider/src/mock.rs index fb5430145a..d4c60666db 100644 --- a/pallets/pallet-dip-provider/src/mock.rs +++ b/pallets/pallet-dip-provider/src/mock.rs @@ -54,7 +54,7 @@ impl frame_system::Config for TestRuntime { type Hash = H256; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/pallets/pallet-inflation/src/mock.rs b/pallets/pallet-inflation/src/mock.rs index a6e7d489ac..bd4bdf6b5c 100644 --- a/pallets/pallet-inflation/src/mock.rs +++ b/pallets/pallet-inflation/src/mock.rs @@ -82,7 +82,7 @@ impl frame_system::Config for Test { type SystemWeightInfo = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } parameter_types! { diff --git a/pallets/pallet-migration/src/mock.rs b/pallets/pallet-migration/src/mock.rs index 7e658653be..0d5d3a1c6d 100644 --- a/pallets/pallet-migration/src/mock.rs +++ b/pallets/pallet-migration/src/mock.rs @@ -114,7 +114,7 @@ impl frame_system::Config for Test { type BlockLength = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } parameter_types! { diff --git a/pallets/pallet-relay-store/src/mock.rs b/pallets/pallet-relay-store/src/mock.rs index 698f219849..285ed3fc85 100644 --- a/pallets/pallet-relay-store/src/mock.rs +++ b/pallets/pallet-relay-store/src/mock.rs @@ -53,7 +53,7 @@ impl frame_system::Config for TestRuntime { type Hash = H256; type Hashing = BlakeTwo256; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = u64; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/pallets/pallet-web3-names/src/mock.rs b/pallets/pallet-web3-names/src/mock.rs index 9a5971c657..4b511bf7ca 100644 --- a/pallets/pallet-web3-names/src/mock.rs +++ b/pallets/pallet-web3-names/src/mock.rs @@ -114,7 +114,7 @@ pub(crate) mod runtime { type SystemWeightInfo = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; type RuntimeTask = RuntimeTask; } diff --git a/pallets/parachain-staking/src/mock.rs b/pallets/parachain-staking/src/mock.rs index 09e14e1998..35cd182880 100644 --- a/pallets/parachain-staking/src/mock.rs +++ b/pallets/parachain-staking/src/mock.rs @@ -92,7 +92,7 @@ impl frame_system::Config for Test { type BlockLength = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } parameter_types! { pub const ExistentialDeposit: Balance = 1; diff --git a/pallets/public-credentials/src/mock.rs b/pallets/public-credentials/src/mock.rs index cf3911c08c..4cb3a721c0 100644 --- a/pallets/public-credentials/src/mock.rs +++ b/pallets/public-credentials/src/mock.rs @@ -302,7 +302,7 @@ pub(crate) mod runtime { type BlockLength = (); type SS58Prefix = ConstU16<38>; type OnSetCode = (); - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; } impl pallet_balances::Config for Test { diff --git a/runtimes/common/src/dip/deposit/mock.rs b/runtimes/common/src/dip/deposit/mock.rs index 152903165d..2389dbd35e 100644 --- a/runtimes/common/src/dip/deposit/mock.rs +++ b/runtimes/common/src/dip/deposit/mock.rs @@ -52,7 +52,7 @@ impl frame_system::Config for TestRuntime { type Hash = Hash; type Hashing = Hasher; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = Nonce; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/runtimes/common/src/dip/mock.rs b/runtimes/common/src/dip/mock.rs index 74d9fad942..ffc526bd72 100644 --- a/runtimes/common/src/dip/mock.rs +++ b/runtimes/common/src/dip/mock.rs @@ -74,7 +74,7 @@ impl frame_system::Config for TestRuntime { type Hash = Hash; type Hashing = Hasher; type Lookup = IdentityLookup; - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; type Nonce = Nonce; type OnKilledAccount = (); type OnNewAccount = (); diff --git a/runtimes/common/src/fees.rs b/runtimes/common/src/fees.rs index f012182e31..237dabd6cd 100644 --- a/runtimes/common/src/fees.rs +++ b/runtimes/common/src/fees.rs @@ -219,7 +219,7 @@ mod tests { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } impl pallet_balances::Config for Test { diff --git a/runtimes/kestrel/src/lib.rs b/runtimes/kestrel/src/lib.rs index 65c911f22a..aaf162d5d5 100644 --- a/runtimes/kestrel/src/lib.rs +++ b/runtimes/kestrel/src/lib.rs @@ -198,7 +198,7 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; /// The set code logic, just the default since we're not a parachain. type OnSetCode = (); - type MaxConsumers = ConstU32<16>; + type MaxConsumers = ConstU32<100>; } /// Maximum number of nominators per validator. diff --git a/runtimes/peregrine/src/system/mod.rs b/runtimes/peregrine/src/system/mod.rs index 906ccacf61..fc545c722a 100644 --- a/runtimes/peregrine/src/system/mod.rs +++ b/runtimes/peregrine/src/system/mod.rs @@ -93,7 +93,7 @@ impl frame_system::Config for Runtime { type SS58Prefix = ConstU16; /// The set code logic type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } impl pallet_timestamp::Config for Runtime { diff --git a/runtimes/spiritnet/src/system/mod.rs b/runtimes/spiritnet/src/system/mod.rs index f672f9b4ce..bc4a2e8e8f 100644 --- a/runtimes/spiritnet/src/system/mod.rs +++ b/runtimes/spiritnet/src/system/mod.rs @@ -93,7 +93,7 @@ impl frame_system::Config for Runtime { type SS58Prefix = ConstU16; /// The set code logic type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = frame_support::traits::ConstU32<100>; } impl pallet_timestamp::Config for Runtime {