Skip to content

Commit

Permalink
add frame pallet_section
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathy-bajo committed Jan 22, 2025
1 parent d156fa4 commit ebc068c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion substrate/frame/examples/split/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/// A [`pallet_section`] that defines the events for a pallet.
/// This can later be imported into the pallet using [`import_section`].
#[pallet_section]
#[frame::pallet_section]
mod events {
#[pallet::event]
#[pallet::generate_deposit(pub(super) fn deposit_event)]
Expand Down
1 change: 0 additions & 1 deletion substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ pub mod prelude {
BlockNumberProvider, Bounded, Convert, DispatchInfoOf, Dispatchable, ReduceBy,
ReplaceWithDefault, SaturatedConversion, Saturating, StaticLookup, TrailingZeroInput,
}, BuildStorage};
};

/// Bounded storage related types.
pub use sp_runtime::{BoundedSlice, BoundedVec};
Expand Down

0 comments on commit ebc068c

Please sign in to comment.