@@ -57,11 +57,6 @@ use crate::xcm_config::{XcmConfig, XcmOriginToTransactDispatchOrigin};
57
57
58
58
#[ cfg( feature = "std" ) ]
59
59
use sp_version:: NativeVersion ;
60
- #[ cfg( feature = "runtime-benchmarks" ) ]
61
- use { frame_system:: EnsureSigned , kilt_support:: signature:: AlwaysVerify , runtime_common:: benchmarks:: DummySignature } ;
62
-
63
- #[ cfg( test) ]
64
- mod tests;
65
60
66
61
#[ cfg( any( feature = "std" , test) ) ]
67
62
pub use sp_runtime:: BuildStorage ;
@@ -594,28 +589,9 @@ impl_runtime_apis! {
594
589
list_benchmark!( list, extra, frame_system, SystemBench :: <Runtime >) ;
595
590
list_benchmark!( list, extra, pallet_session, SessionBench :: <Runtime >) ;
596
591
list_benchmark!( list, extra, pallet_balances, Balances ) ;
597
- list_benchmark!( list, extra, pallet_collective, Council ) ;
598
- list_benchmark!( list, extra, pallet_democracy, Democracy ) ;
599
- list_benchmark!( list, extra, pallet_indices, Indices ) ;
600
- list_benchmark!( list, extra, pallet_membership, TechnicalMembership ) ;
601
- list_benchmark!( list, extra, pallet_preimage, Preimage ) ;
602
- list_benchmark!( list, extra, pallet_scheduler, Scheduler ) ;
603
- list_benchmark!( list, extra, pallet_timestamp, Timestamp ) ;
604
- list_benchmark!( list, extra, pallet_tips, Tips ) ;
605
- list_benchmark!( list, extra, pallet_treasury, Treasury ) ;
606
592
list_benchmark!( list, extra, pallet_utility, Utility ) ;
607
- list_benchmark!( list, extra, pallet_vesting, Vesting ) ;
608
- list_benchmark!( list, extra, pallet_proxy, Proxy ) ;
609
593
610
594
// KILT
611
- list_benchmark!( list, extra, attestation, Attestation ) ;
612
- list_benchmark!( list, extra, ctype, Ctype ) ;
613
- list_benchmark!( list, extra, delegation, Delegation ) ;
614
- list_benchmark!( list, extra, did, Did ) ;
615
- list_benchmark!( list, extra, pallet_did_lookup, DidLookup ) ;
616
- list_benchmark!( list, extra, pallet_inflation, Inflation ) ;
617
- list_benchmark!( list, extra, parachain_staking, ParachainStaking ) ;
618
- list_benchmark!( list, extra, pallet_web3_names, Web3Names ) ;
619
595
620
596
let storage_info = AllPalletsWithSystem :: storage_info( ) ;
621
597
@@ -658,30 +634,12 @@ impl_runtime_apis! {
658
634
// Substrate
659
635
add_benchmark!( params, batches, frame_benchmarking, BaselineBench :: <Runtime >) ;
660
636
add_benchmark!( params, batches, pallet_balances, Balances ) ;
661
- add_benchmark!( params, batches, pallet_collective, Council ) ;
662
- add_benchmark!( params, batches, pallet_democracy, Democracy ) ;
663
- add_benchmark!( params, batches, pallet_indices, Indices ) ;
664
- add_benchmark!( params, batches, pallet_membership, TechnicalMembership ) ;
665
- add_benchmark!( params, batches, pallet_preimage, Preimage ) ;
666
- add_benchmark!( params, batches, pallet_scheduler, Scheduler ) ;
667
637
add_benchmark!( params, batches, pallet_session, SessionBench :: <Runtime >) ;
668
638
add_benchmark!( params, batches, frame_system, SystemBench :: <Runtime >) ;
669
639
add_benchmark!( params, batches, pallet_timestamp, Timestamp ) ;
670
- add_benchmark!( params, batches, pallet_tips, Tips ) ;
671
- add_benchmark!( params, batches, pallet_treasury, Treasury ) ;
672
640
add_benchmark!( params, batches, pallet_utility, Utility ) ;
673
- add_benchmark!( params, batches, pallet_vesting, Vesting ) ;
674
- add_benchmark!( params, batches, pallet_proxy, Proxy ) ;
675
641
676
642
// KILT
677
- add_benchmark!( params, batches, attestation, Attestation ) ;
678
- add_benchmark!( params, batches, ctype, Ctype ) ;
679
- add_benchmark!( params, batches, delegation, Delegation ) ;
680
- add_benchmark!( params, batches, did, Did ) ;
681
- add_benchmark!( params, batches, pallet_did_lookup, DidLookup ) ;
682
- add_benchmark!( params, batches, pallet_inflation, Inflation ) ;
683
- add_benchmark!( params, batches, parachain_staking, ParachainStaking ) ;
684
- add_benchmark!( params, batches, pallet_web3_names, Web3Names ) ;
685
643
686
644
// No benchmarks for these pallets
687
645
// add_benchmark!(params, batches, cumulus_pallet_parachain_system, ParachainSystem);
0 commit comments