Skip to content

Commit 0f938d2

Browse files
committed
chore: increase peregrine & spiritnet MaxConsumers limit to 100
Configs for dip-templates are left as-is.
1 parent 916f83f commit 0f938d2

File tree

27 files changed

+27
-27
lines changed

27 files changed

+27
-27
lines changed

crates/kilt-dip-primitives/src/merkle_proofs/v0/provider_state/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ mod dip_did_proof_with_verified_relay_state_root {
251251
type Hash = H256;
252252
type Hashing = BlakeTwo256;
253253
type Lookup = IdentityLookup<Self::AccountId>;
254-
type MaxConsumers = ConstU32<16>;
254+
type MaxConsumers = ConstU32<100>;
255255
type Nonce = u64;
256256
type OnKilledAccount = ();
257257
type OnNewAccount = ();

crates/kilt-dip-primitives/src/verifier/parachain/v0/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl frame_system::Config for TestRuntime {
7171
type Hash = H256;
7272
type Hashing = BlakeTwo256;
7373
type Lookup = IdentityLookup<Self::AccountId>;
74-
type MaxConsumers = ConstU32<16>;
74+
type MaxConsumers = ConstU32<100>;
7575
type Nonce = u64;
7676
type OnKilledAccount = ();
7777
type OnNewAccount = ();

pallets/attestation/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ pub(crate) mod runtime {
261261
type BlockLength = ();
262262
type SS58Prefix = SS58Prefix;
263263
type OnSetCode = ();
264-
type MaxConsumers = frame_support::traits::ConstU32<16>;
264+
type MaxConsumers = frame_support::traits::ConstU32<100>;
265265
}
266266

267267
parameter_types! {

pallets/ctype/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub mod runtime {
100100
type BlockLength = ();
101101
type SS58Prefix = SS58Prefix;
102102
type OnSetCode = ();
103-
type MaxConsumers = frame_support::traits::ConstU32<16>;
103+
type MaxConsumers = frame_support::traits::ConstU32<100>;
104104
}
105105

106106
parameter_types! {

pallets/delegation/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ pub(crate) mod runtime {
247247
type BlockLength = ();
248248
type SS58Prefix = SS58Prefix;
249249
type OnSetCode = ();
250-
type MaxConsumers = frame_support::traits::ConstU32<16>;
250+
type MaxConsumers = frame_support::traits::ConstU32<100>;
251251
}
252252

253253
parameter_types! {

pallets/did/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl frame_system::Config for Test {
105105
type BlockLength = ();
106106
type SS58Prefix = SS58Prefix;
107107
type OnSetCode = ();
108-
type MaxConsumers = frame_support::traits::ConstU32<16>;
108+
type MaxConsumers = frame_support::traits::ConstU32<100>;
109109
}
110110

111111
parameter_types! {

pallets/pallet-asset-switch/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl frame_system::Config for MockRuntime {
6666
type Hash = H256;
6767
type Hashing = BlakeTwo256;
6868
type Lookup = IdentityLookup<Self::AccountId>;
69-
type MaxConsumers = ConstU32<16>;
69+
type MaxConsumers = ConstU32<100>;
7070
type Nonce = u64;
7171
type OnKilledAccount = ();
7272
type OnNewAccount = ();

pallets/pallet-bonded-coins/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ pub mod runtime {
226226
type Hash = Hash;
227227
type Hashing = BlakeTwo256;
228228
type Lookup = IdentityLookup<Self::AccountId>;
229-
type MaxConsumers = ConstU32<16>;
229+
type MaxConsumers = ConstU32<100>;
230230
type Nonce = u64;
231231
type OnKilledAccount = ();
232232
type OnNewAccount = ();

pallets/pallet-configuration/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub mod runtime {
7979
type BlockLength = ();
8080
type SS58Prefix = SS58Prefix;
8181
type OnSetCode = ();
82-
type MaxConsumers = frame_support::traits::ConstU32<16>;
82+
type MaxConsumers = frame_support::traits::ConstU32<100>;
8383
}
8484

8585
parameter_types! {

pallets/pallet-deposit-storage/src/deposit/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl frame_system::Config for TestRuntime {
7373
type Hash = H256;
7474
type Hashing = BlakeTwo256;
7575
type Lookup = IdentityLookup<Self::AccountId>;
76-
type MaxConsumers = ConstU32<16>;
76+
type MaxConsumers = ConstU32<100>;
7777
type Nonce = u64;
7878
type OnKilledAccount = ();
7979
type OnNewAccount = ();

pallets/pallet-deposit-storage/src/fungible/tests/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl frame_system::Config for TestRuntime {
7575
type Hash = H256;
7676
type Hashing = BlakeTwo256;
7777
type Lookup = IdentityLookup<Self::AccountId>;
78-
type MaxConsumers = ConstU32<16>;
78+
type MaxConsumers = ConstU32<100>;
7979
type Nonce = u64;
8080
type OnKilledAccount = ();
8181
type OnNewAccount = ();

pallets/pallet-deposit-storage/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl frame_system::Config for TestRuntime {
6060
type Hash = H256;
6161
type Hashing = BlakeTwo256;
6262
type Lookup = IdentityLookup<Self::AccountId>;
63-
type MaxConsumers = ConstU32<16>;
63+
type MaxConsumers = ConstU32<100>;
6464
type Nonce = u64;
6565
type OnKilledAccount = ();
6666
type OnNewAccount = ();

pallets/pallet-did-lookup/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl frame_system::Config for Test {
8080
type SystemWeightInfo = ();
8181
type SS58Prefix = SS58Prefix;
8282
type OnSetCode = ();
83-
type MaxConsumers = frame_support::traits::ConstU32<16>;
83+
type MaxConsumers = frame_support::traits::ConstU32<100>;
8484
}
8585

8686
parameter_types! {

pallets/pallet-dip-consumer/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl frame_system::Config for TestRuntime {
5454
type Hash = H256;
5555
type Hashing = BlakeTwo256;
5656
type Lookup = IdentityLookup<Self::AccountId>;
57-
type MaxConsumers = ConstU32<16>;
57+
type MaxConsumers = ConstU32<100>;
5858
type Nonce = u64;
5959
type OnKilledAccount = ();
6060
type OnNewAccount = ();

pallets/pallet-dip-provider/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl frame_system::Config for TestRuntime {
5454
type Hash = H256;
5555
type Hashing = BlakeTwo256;
5656
type Lookup = IdentityLookup<Self::AccountId>;
57-
type MaxConsumers = ConstU32<16>;
57+
type MaxConsumers = ConstU32<100>;
5858
type Nonce = u64;
5959
type OnKilledAccount = ();
6060
type OnNewAccount = ();

pallets/pallet-inflation/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl frame_system::Config for Test {
8282
type SystemWeightInfo = ();
8383
type SS58Prefix = SS58Prefix;
8484
type OnSetCode = ();
85-
type MaxConsumers = frame_support::traits::ConstU32<16>;
85+
type MaxConsumers = frame_support::traits::ConstU32<100>;
8686
}
8787

8888
parameter_types! {

pallets/pallet-migration/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl frame_system::Config for Test {
114114
type BlockLength = ();
115115
type SS58Prefix = SS58Prefix;
116116
type OnSetCode = ();
117-
type MaxConsumers = frame_support::traits::ConstU32<16>;
117+
type MaxConsumers = frame_support::traits::ConstU32<100>;
118118
}
119119

120120
parameter_types! {

pallets/pallet-relay-store/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl frame_system::Config for TestRuntime {
5353
type Hash = H256;
5454
type Hashing = BlakeTwo256;
5555
type Lookup = IdentityLookup<Self::AccountId>;
56-
type MaxConsumers = ConstU32<16>;
56+
type MaxConsumers = ConstU32<100>;
5757
type Nonce = u64;
5858
type OnKilledAccount = ();
5959
type OnNewAccount = ();

pallets/pallet-web3-names/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub(crate) mod runtime {
114114
type SystemWeightInfo = ();
115115
type SS58Prefix = SS58Prefix;
116116
type OnSetCode = ();
117-
type MaxConsumers = frame_support::traits::ConstU32<16>;
117+
type MaxConsumers = frame_support::traits::ConstU32<100>;
118118
type RuntimeTask = RuntimeTask;
119119
}
120120

pallets/parachain-staking/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ impl frame_system::Config for Test {
9292
type BlockLength = ();
9393
type SS58Prefix = SS58Prefix;
9494
type OnSetCode = ();
95-
type MaxConsumers = frame_support::traits::ConstU32<16>;
95+
type MaxConsumers = frame_support::traits::ConstU32<100>;
9696
}
9797
parameter_types! {
9898
pub const ExistentialDeposit: Balance = 1;

pallets/public-credentials/src/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ pub(crate) mod runtime {
302302
type BlockLength = ();
303303
type SS58Prefix = ConstU16<38>;
304304
type OnSetCode = ();
305-
type MaxConsumers = ConstU32<16>;
305+
type MaxConsumers = ConstU32<100>;
306306
}
307307

308308
impl pallet_balances::Config for Test {

runtimes/common/src/dip/deposit/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl frame_system::Config for TestRuntime {
5252
type Hash = Hash;
5353
type Hashing = Hasher;
5454
type Lookup = IdentityLookup<Self::AccountId>;
55-
type MaxConsumers = ConstU32<16>;
55+
type MaxConsumers = ConstU32<100>;
5656
type Nonce = Nonce;
5757
type OnKilledAccount = ();
5858
type OnNewAccount = ();

runtimes/common/src/dip/mock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl frame_system::Config for TestRuntime {
7474
type Hash = Hash;
7575
type Hashing = Hasher;
7676
type Lookup = IdentityLookup<Self::AccountId>;
77-
type MaxConsumers = ConstU32<16>;
77+
type MaxConsumers = ConstU32<100>;
7878
type Nonce = Nonce;
7979
type OnKilledAccount = ();
8080
type OnNewAccount = ();

runtimes/common/src/fees.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ mod tests {
219219
type SystemWeightInfo = ();
220220
type SS58Prefix = ();
221221
type OnSetCode = ();
222-
type MaxConsumers = frame_support::traits::ConstU32<16>;
222+
type MaxConsumers = frame_support::traits::ConstU32<100>;
223223
}
224224

225225
impl pallet_balances::Config for Test {

runtimes/kestrel/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl frame_system::Config for Runtime {
198198
type SS58Prefix = SS58Prefix;
199199
/// The set code logic, just the default since we're not a parachain.
200200
type OnSetCode = ();
201-
type MaxConsumers = ConstU32<16>;
201+
type MaxConsumers = ConstU32<100>;
202202
}
203203

204204
/// Maximum number of nominators per validator.

runtimes/peregrine/src/system/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl frame_system::Config for Runtime {
9393
type SS58Prefix = ConstU16<SS_58_PREFIX>;
9494
/// The set code logic
9595
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Runtime>;
96-
type MaxConsumers = frame_support::traits::ConstU32<16>;
96+
type MaxConsumers = frame_support::traits::ConstU32<100>;
9797
}
9898

9999
impl pallet_timestamp::Config for Runtime {

runtimes/spiritnet/src/system/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl frame_system::Config for Runtime {
9393
type SS58Prefix = ConstU16<SS_58_PREFIX>;
9494
/// The set code logic
9595
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Runtime>;
96-
type MaxConsumers = frame_support::traits::ConstU32<16>;
96+
type MaxConsumers = frame_support::traits::ConstU32<100>;
9797
}
9898

9999
impl pallet_timestamp::Config for Runtime {

0 commit comments

Comments
 (0)