Skip to content

Commit

Permalink
clean migrations of acala runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjj9219 committed Jul 5, 2023
1 parent 5b98796 commit 3c11c55
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions runtime/acala/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1858,25 +1858,8 @@ pub type SignedPayload = generic::SignedPayload<RuntimeCall, SignedExtra>;
/// Extrinsic type that has already been checked.
pub type CheckedExtrinsic = generic::CheckedExtrinsic<AccountId, RuntimeCall, SignedExtra>;
/// Executive: handles dispatch to the various modules.
pub type Executive = frame_executive::Executive<
Runtime,
Block,
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
(
pallet_balances::migration::MigrateToTrackInactive<Runtime, xcm_config::CheckingAccount>,
pallet_scheduler::migration::v4::CleanupAgendas<Runtime>,
// "Use 2D weights in XCM v3" <https://github.com/paritytech/polkadot/pull/6134>
pallet_xcm::migration::v1::MigrateToV1<Runtime>,
orml_unknown_tokens::Migration<Runtime>,
// Note: The following Migrations do not use the StorageVersion feature, must to be removed after the upgrade
// TODO: if Acala runtime has upgraded to 2180, review following migrations and delete these.
module_asset_registry::migrations::MigrateV1MultiLocationToV3<Runtime>,
module_xcm_interface::migrations::MigrateXcmDestWeightAndFee<Runtime>,
module_transaction_pause::migrations::MigrateEvmPrecompile<Runtime>,
),
>;
pub type Executive =
frame_executive::Executive<Runtime, Block, frame_system::ChainContext<Runtime>, Runtime, AllPalletsWithSystem, ()>;

#[cfg(feature = "runtime-benchmarks")]
#[macro_use]
Expand Down

0 comments on commit 3c11c55

Please sign in to comment.