Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Revert "sudo sanity check"
Browse files Browse the repository at this point in the history
This reverts commit d1032a3.
  • Loading branch information
shawntabrizi committed May 13, 2021
1 parent d1032a3 commit e8f65d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion frame/sudo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ pub mod pallet {

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::generate_storages_info]
pub struct Pallet<T>(PhantomData<T>);

#[pallet::hooks]
Expand Down
4 changes: 2 additions & 2 deletions frame/system/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ use frame_support::{
Parameter, storage,
traits::{
SortedMembers, Get, PalletInfo, OnNewAccount, OnKilledAccount, HandleLifetime,
StoredMap, EnsureOrigin, OriginTrait, Filter, MaxEncodedLen,
StoredMap, EnsureOrigin, OriginTrait, Filter,
},
weights::{
Weight, RuntimeDbWeight, DispatchInfo, DispatchClass,
Expand Down Expand Up @@ -206,7 +206,7 @@ pub mod pallet {

/// The user account identifier type for the runtime.
type AccountId: Parameter + Member + MaybeSerializeDeserialize + Debug + MaybeDisplay + Ord
+ Default + MaxEncodedLen;
+ Default;

/// Converting trait to take a source type and convert to `AccountId`.
///
Expand Down

0 comments on commit e8f65d3

Please sign in to comment.