@@ -122,14 +122,11 @@ pub type Migrations = migrations::Unreleased;
122
122
/// The runtime migrations per release.
123
123
#[ allow( missing_docs) ]
124
124
pub mod migrations {
125
+ // Not warn for unused imports in this module.
126
+ #![ allow( unused_imports) ]
125
127
use super :: * ;
126
128
/// Unreleased migrations. Add new ones here:
127
- pub type Unreleased = (
128
- cumulus_pallet_xcmp_queue:: migration:: Migration < Runtime > ,
129
- cumulus_pallet_dmp_queue:: migration:: Migration < Runtime > ,
130
- custom_migrations:: CustomOnRuntimeUpgrade ,
131
- pallet_parachain_staking:: migrations:: CustomOnRuntimeUpgrade < Runtime , Balances > ,
132
- ) ;
129
+ pub type Unreleased = ( ) ;
133
130
}
134
131
135
132
/// Executive: handles dispatch to the various modules.
@@ -175,7 +172,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
175
172
spec_name : create_runtime_str ! ( "polimec-mainnet" ) ,
176
173
impl_name : create_runtime_str ! ( "polimec-mainnet" ) ,
177
174
authoring_version : 1 ,
178
- spec_version : 3 ,
175
+ spec_version : 0_003_001 ,
179
176
impl_version : 0 ,
180
177
apis : RUNTIME_API_VERSIONS ,
181
178
transaction_version : 1 ,
@@ -197,6 +194,8 @@ pub struct BaseCallFilter;
197
194
impl Contains < RuntimeCall > for BaseCallFilter {
198
195
fn contains ( c : & RuntimeCall ) -> bool {
199
196
use pallet_balances:: Call :: * ;
197
+ use pallet_parachain_staking:: Call :: * ;
198
+
200
199
match c {
201
200
// Transferability lock.
202
201
RuntimeCall :: Balances ( inner_call) => match inner_call {
@@ -208,6 +207,17 @@ impl Contains<RuntimeCall> for BaseCallFilter {
208
207
} ,
209
208
// Staking "disabled" @ TGE.
210
209
RuntimeCall :: ParachainStaking ( inner_call) => match inner_call {
210
+ cancel_candidate_bond_less { .. } => true ,
211
+ execute_candidate_bond_less { .. } => true ,
212
+ schedule_candidate_bond_less { .. } => true ,
213
+ set_auto_compound { .. } => true ,
214
+ set_blocks_per_round { .. } => true ,
215
+ set_collator_commission { .. } => true ,
216
+ set_inflation { .. } => true ,
217
+ set_parachain_bond_account { .. } => true ,
218
+ set_parachain_bond_reserve_percent { .. } => true ,
219
+ set_staking_expectations { .. } => true ,
220
+ set_total_selected { .. } => true ,
211
221
_ => false ,
212
222
} ,
213
223
_ => true ,
0 commit comments