@@ -67,9 +67,9 @@ use frame_support::{
6767 genesis_builder_helper:: { build_config, create_default_config} ,
6868 parameter_types,
6969 traits:: {
70- fungible:: HoldConsideration , Contains , EitherOf , EitherOfDiverse , EverythingBut ,
71- InstanceFilter , KeyOwnerProofSystem , LinearStoragePrice , PrivilegeCmp , ProcessMessage ,
72- ProcessMessageError , StorageMapShim , WithdrawReasons ,
70+ fungible:: HoldConsideration , EitherOf , EitherOfDiverse , Everything , InstanceFilter ,
71+ KeyOwnerProofSystem , LinearStoragePrice , PrivilegeCmp , ProcessMessage , ProcessMessageError ,
72+ StorageMapShim , WithdrawReasons ,
7373 } ,
7474 weights:: { ConstantMultiplier , WeightMeter } ,
7575 PalletId ,
@@ -156,24 +156,13 @@ pub fn native_version() -> NativeVersion {
156156 NativeVersion { runtime_version : VERSION , can_author_with : Default :: default ( ) }
157157}
158158
159- /// A type to identify calls to the Identity pallet. These will be filtered to prevent invocation,
160- /// locking the state of the pallet and preventing further updates to identities and sub-identities.
161- /// The locked state will be the genesis state of a new system chain and then removed from the Relay
162- /// Chain.
163- pub struct IdentityCalls ;
164- impl Contains < RuntimeCall > for IdentityCalls {
165- fn contains ( c : & RuntimeCall ) -> bool {
166- matches ! ( c, RuntimeCall :: Identity ( _) )
167- }
168- }
169-
170159parameter_types ! {
171160 pub const Version : RuntimeVersion = VERSION ;
172161 pub const SS58Prefix : u8 = 42 ;
173162}
174163
175164impl frame_system:: Config for Runtime {
176- type BaseCallFilter = EverythingBut < IdentityCalls > ;
165+ type BaseCallFilter = Everything ;
177166 type BlockWeights = BlockWeights ;
178167 type BlockLength = BlockLength ;
179168 type DbWeight = RocksDbWeight ;
0 commit comments