@@ -635,6 +635,7 @@ impl pallet_fast_unstake::Config for Runtime {
635635 type Staking = Staking ;
636636 type MaxErasToCheckPerBlock = ConstU32 < 1 > ;
637637 type WeightInfo = ( ) ;
638+ type MaxBackersPerValidator = ( ) ;
638639}
639640
640641parameter_types ! {
@@ -1569,8 +1570,8 @@ impl pallet_nfts::Config for Runtime {
15691570 type MaxDeadlineDuration = MaxDeadlineDuration ;
15701571 type Features = Features ;
15711572 type WeightInfo = pallet_nfts:: weights:: SubstrateWeight < Runtime > ;
1572- #[ cfg( feature = "runtime-benchmarks" ) ]
1573- type Helper = ( ) ;
1573+ // #[cfg(feature = "runtime-benchmarks")]
1574+ // type Helper = ();
15741575 type CreateOrigin = AsEnsureOriginWithArg < EnsureSigned < AccountId > > ;
15751576 type Locker = ( ) ;
15761577}
@@ -1863,6 +1864,7 @@ mod benches {
18631864 [ pallet_utility, Utility ]
18641865 [ pallet_vesting, Vesting ]
18651866 [ pallet_whitelist, Whitelist ]
1867+ [ rewards, Rewards ]
18661868 ) ;
18671869}
18681870
@@ -2252,6 +2254,23 @@ impl_runtime_apis! {
22522254 let mut batches = Vec :: <BenchmarkBatch >:: new( ) ;
22532255 let params = ( & config, & whitelist) ;
22542256 add_benchmarks!( params, batches) ;
2257+ // add_benchmark!(params, batches, balances, Balances);
2258+ // add_benchmark!(params, batches, collective, Council);
2259+ // add_benchmark!(params, batches, democracy, Democracy);
2260+ // add_benchmark!(params, batches, identity, Identity);
2261+ // add_benchmark!(params, batches, indices, Indices);
2262+ // add_benchmark!(params, batches, multisig, Multisig);
2263+ // add_benchmark!(params, batches, proxy, Proxy);
2264+ // add_benchmark!(params, batches, scheduler, Scheduler);
2265+ // add_benchmark!(params, batches, system, SystemBench::<Runtime>);
2266+ // add_benchmark!(params, batches, timestamp, Timestamp);
2267+ // add_benchmark!(params, batches, treasury, Treasury);
2268+ // add_benchmark!(params, batches, utility, Utility);
2269+ // add_benchmark!(params, batches, vesting, Vesting);
2270+ // add_benchmark!(params, batches, rewards, Rewards);
2271+ // add_benchmark!(params, batches, staking, Staking);
2272+
2273+
22552274 Ok ( batches)
22562275 }
22572276 }
0 commit comments