Skip to content

Commit a2544f8

Browse files
committed
feat: delte deprecated event trait
1 parent 140f348 commit a2544f8

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

polkadot/runtime/parachains/src/broadcaster/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ pub mod pallet {
5454

5555
#[pallet::config]
5656
pub trait Config: frame_system::Config {
57-
/// The overarching event type.
58-
type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
59-
6057
/// Maximum number of items that can be published in one operation.
6158
/// Must not exceed `xcm::v5::MaxPublishItems`.
6259
#[pallet::constant]

polkadot/runtime/parachains/src/mock.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ parameter_types! {
261261
}
262262

263263
impl crate::broadcaster::Config for Test {
264-
type RuntimeEvent = RuntimeEvent;
265264
type MaxPublishItems = MaxPublishItems;
266265
type MaxKeyLength = MaxKeyLength;
267266
type MaxValueLength = MaxValueLength;

polkadot/runtime/rococo/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,6 @@ parameter_types! {
12311231
}
12321232

12331233
impl polkadot_runtime_parachains::broadcaster::Config for Runtime {
1234-
type RuntimeEvent = RuntimeEvent;
12351234
type MaxPublishItems = MaxPublishItems;
12361235
type MaxKeyLength = MaxKeyLength;
12371236
type MaxValueLength = MaxValueLength;

0 commit comments

Comments
 (0)