@@ -67,9 +67,9 @@ use frame_support::{
67
67
genesis_builder_helper:: { build_config, create_default_config} ,
68
68
parameter_types,
69
69
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 ,
73
73
} ,
74
74
weights:: { ConstantMultiplier , WeightMeter } ,
75
75
PalletId ,
@@ -156,24 +156,13 @@ pub fn native_version() -> NativeVersion {
156
156
NativeVersion { runtime_version : VERSION , can_author_with : Default :: default ( ) }
157
157
}
158
158
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
-
170
159
parameter_types ! {
171
160
pub const Version : RuntimeVersion = VERSION ;
172
161
pub const SS58Prefix : u8 = 42 ;
173
162
}
174
163
175
164
impl frame_system:: Config for Runtime {
176
- type BaseCallFilter = EverythingBut < IdentityCalls > ;
165
+ type BaseCallFilter = Everything ;
177
166
type BlockWeights = BlockWeights ;
178
167
type BlockLength = BlockLength ;
179
168
type DbWeight = RocksDbWeight ;
0 commit comments