Skip to content

Commit

Permalink
remove sudo migration
Browse files Browse the repository at this point in the history
  • Loading branch information
weichweich committed Nov 5, 2021
1 parent 8b3a38f commit dff5ae8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 92 deletions.
11 changes: 2 additions & 9 deletions runtimes/spiritnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ use sp_version::NativeVersion;
#[cfg(feature = "runtime-benchmarks")]
use {frame_system::EnsureSigned, kilt_primitives::benchmarks::DummySignature, kilt_support::signature::AlwaysVerify};

mod migrations;
#[cfg(test)]
mod tests;
mod weights;
Expand Down Expand Up @@ -832,14 +831,8 @@ pub type UncheckedExtrinsic = generic::UncheckedExtrinsic<Address, Call, Signatu
/// Extrinsic type that has already been checked.
pub type CheckedExtrinsic = generic::CheckedExtrinsic<AccountId, Call, SignedExtra>;
/// Executive: handles dispatch to the various modules.
pub type Executive = frame_executive::Executive<
Runtime,
Block,
frame_system::ChainContext<Runtime>,
Runtime,
AllPallets,
migrations::remove_sudo::RemoveSudo,
>;
pub type Executive =
frame_executive::Executive<Runtime, Block, frame_system::ChainContext<Runtime>, Runtime, AllPallets>;

impl_runtime_apis! {
impl sp_api::Core<Block> for Runtime {
Expand Down
19 changes: 0 additions & 19 deletions runtimes/spiritnet/src/migrations.rs

This file was deleted.

64 changes: 0 additions & 64 deletions runtimes/spiritnet/src/migrations/remove_sudo.rs

This file was deleted.

0 comments on commit dff5ae8

Please sign in to comment.