diff --git a/substrate/coins/src/lib.rs b/substrate/coins/src/lib.rs index c73cd956..e29b7136 100644 --- a/substrate/coins/src/lib.rs +++ b/substrate/coins/src/lib.rs @@ -54,8 +54,6 @@ mod pallet { /// The configuration of this pallet. #[pallet::config] pub trait Config: frame_system::Config { - /// The event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// What decides if mints are allowed. type AllowMint: AllowMint; } diff --git a/substrate/validator-sets/src/lib.rs b/substrate/validator-sets/src/lib.rs index b9ddca12..2ad147fe 100644 --- a/substrate/validator-sets/src/lib.rs +++ b/substrate/validator-sets/src/lib.rs @@ -90,8 +90,6 @@ mod pallet { #[pallet::config] pub trait Config: frame_system::Config + coins_pallet::Config { - type RuntimeEvent: IsType<::RuntimeEvent> + From>; - // type ShouldEndSession: ShouldEndSession>; } @@ -219,10 +217,6 @@ mod pallet { type DelayedDeallocations = DelayedDeallocations; } - #[pallet::event] - #[pallet::generate_deposit(pub(super) fn deposit_event)] - pub enum Event {} - /* /// The generated key pair for a given validator set instance. #[pallet::storage]