git.delta.rocks / unique-network / refs/commits / 63282b096011

difftreelog

refactor(collator-selection) shuffle pallets + add benchmarks to bench

Fahrrader2022-12-28parent: #ce1b509.patch.diff
in: master

7 files changed

modifiedMakefilediffbeforeafterboth
143 143
144.PHONY: bench144.PHONY: bench
145# Disabled: bench-scheduler, bench-rmrk-core, bench-rmrk-equip145# Disabled: bench-scheduler, bench-rmrk-core, bench-rmrk-equip
146bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets146bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets bench-collator-selection bench-identity
147147
modifiedruntime/common/construct_runtime/mod.rsdiffbeforeafterboth
32 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,32 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,
33 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,33 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,
34
35 Aura: pallet_aura::{Pallet, Config<T>} = 22,
36 AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,
3437
35 #[runtimes(opal)]38 #[runtimes(opal)]
36 Authorship: pallet_authorship::{Pallet, Call, Storage} = 22,39 Authorship: pallet_authorship::{Pallet, Call, Storage} = 24,
3740
38 #[runtimes(opal)]41 #[runtimes(opal)]
39 CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 23,42 CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 25,
4043
41 #[runtimes(opal)]44 #[runtimes(opal)]
42 Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 24,45 Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 26,
43
44 Aura: pallet_aura::{Pallet, Config<T>} = 25,
45 AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 26,
46
47 #[runtimes(opal)]
48 Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 27,
4946
50 Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,47 Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,
51 RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,48 RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,
59 Tokens: orml_tokens = 39,56 Tokens: orml_tokens = 39,
60 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,57 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,
58
59 #[runtimes(opal)]
60 Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 40,
6161
62 // XCM helpers.62 // XCM helpers.
63 XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,63 XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,
deletedruntime/common/data_management.rsdiffbeforeafterboth

no changes

addedruntime/common/identity.rsdiffbeforeafterboth

no changes

modifiedruntime/common/mod.rsdiffbeforeafterboth
1616
17pub mod config;17pub mod config;
18pub mod construct_runtime;18pub mod construct_runtime;
19pub mod data_management;19pub mod dispatch;
20pub mod dispatch;20pub mod ethereum;
21pub mod ethereum;21pub mod identity;
22pub mod instance;22pub mod instance;
23pub mod maintenance;23pub mod maintenance;
24pub mod runtime_apis;24pub mod runtime_apis;
97 frame_system::CheckNonce<Runtime>,97 frame_system::CheckNonce<Runtime>,
98 frame_system::CheckWeight<Runtime>,98 frame_system::CheckWeight<Runtime>,
99 maintenance::CheckMaintenance,99 maintenance::CheckMaintenance,
100 data_management::FilterIdentity,100 identity::DisableIdentityCalls,
101 ChargeTransactionPayment,101 ChargeTransactionPayment,
102 //pallet_contract_helpers::ContractHelpersExtension<Runtime>,102 //pallet_contract_helpers::ContractHelpersExtension<Runtime>,
103 pallet_ethereum::FakeTransactionFinalizer<Runtime>,103 pallet_ethereum::FakeTransactionFinalizer<Runtime>,
modifiedtests/src/.outdated/substrate/substrate-api.tsdiffbeforeafterboth
41 extrinsic: {},41 extrinsic: {},
42 payload: {},42 payload: {},
43 },43 },
44 FilterIdentity: {44 DisableIdentityCalls: {
45 extrinsic: {},45 extrinsic: {},
46 payload: {},46 payload: {},
47 },47 },
modifiedtests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth
93 extrinsic: {},93 extrinsic: {},
94 payload: {},94 payload: {},
95 },95 },
96 FilterIdentity: {96 DisableIdentityCalls: {
97 extrinsic: {},97 extrinsic: {},
98 payload: {},98 payload: {},
99 },99 },