Removed OuterCall alias & doc fixes (#12349)

This commit is contained in:
Sergej Sakac
2022-09-25 23:22:54 +02:00
committed by GitHub
parent 4e7e23fa87
commit 28637fcb8f
5 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -180,10 +180,10 @@ pub mod pallet {
#[pallet::config]
pub trait Config<I: 'static = ()>: frame_system::Config {
/// The outer origin type.
/// The runtime origin type.
type RuntimeOrigin: From<RawOrigin<Self::AccountId, I>>;
/// The outer call dispatch type.
/// The runtime call dispatch type.
type Proposal: Parameter
+ Dispatchable<
RuntimeOrigin = <Self as Config<I>>::RuntimeOrigin,
@@ -191,7 +191,7 @@ pub mod pallet {
> + From<frame_system::Call<Self>>
+ GetDispatchInfo;
/// The outer event type.
/// The runtime event type.
type RuntimeEvent: From<Event<Self, I>>
+ IsType<<Self as frame_system::Config>::RuntimeEvent>;