Skip to content

Commit

Permalink
don't need RuntimeDebug
Browse files Browse the repository at this point in the history
  • Loading branch information
joepetrowski committed Oct 25, 2023
1 parent 9da0726 commit 255893d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions polkadot/runtime/rococo/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,20 @@ use pallet_identity::OnReapIdentity;
use parity_scale_codec::{Decode, Encode};
use primitives::Balance;
use rococo_runtime_constants::currency::*;
use sp_runtime::RuntimeDebug;
use sp_std::{marker::PhantomData, prelude::*};
use xcm::{latest::prelude::*, VersionedMultiLocation, VersionedXcm};
use xcm_executor::traits::TransactAsset;

/// A type containing the encoding of the People Chain pallets in its runtime. Used to construct any
/// remote calls.
#[derive(Encode, Decode, RuntimeDebug)]
#[derive(Encode, Decode)]
enum PeopleRuntimePallets<AccountId: Encode> {
#[codec(index = 50)]
Identity(IdentityCalls<AccountId>),
}

/// Call encoding for the calls needed from the Identity pallet.
#[derive(Encode, Decode, RuntimeDebug)]
#[derive(Encode, Decode)]
enum IdentityCalls<AccountId: Encode> {
#[codec(index = 16)]
PokeDeposit(AccountId),
Expand Down

0 comments on commit 255893d

Please sign in to comment.