mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
BREAKING: Rename Origin (#12258)
* BREAKING: Rename Origin * more renaming * a bit more renaming * fix * more fixing * fix in frame_support * even more fixes * fix * small fix * ... * update .stderr * docs * update docs * update docs * docs
This commit is contained in:
@@ -245,7 +245,7 @@ pub mod pallet {
|
||||
|
||||
/// The outer call dispatch type.
|
||||
type Proposal: Parameter
|
||||
+ Dispatchable<Origin = Self::Origin, PostInfo = PostDispatchInfo>
|
||||
+ Dispatchable<RuntimeOrigin = Self::RuntimeOrigin, PostInfo = PostDispatchInfo>
|
||||
+ From<frame_system::Call<Self>>
|
||||
+ From<Call<Self, I>>
|
||||
+ GetDispatchInfo
|
||||
@@ -253,13 +253,13 @@ pub mod pallet {
|
||||
+ IsType<<Self as frame_system::Config>::RuntimeCall>;
|
||||
|
||||
/// Origin for admin-level operations, like setting the Alliance's rules.
|
||||
type AdminOrigin: EnsureOrigin<Self::Origin>;
|
||||
type AdminOrigin: EnsureOrigin<Self::RuntimeOrigin>;
|
||||
|
||||
/// Origin that manages entry and forcible discharge from the Alliance.
|
||||
type MembershipManager: EnsureOrigin<Self::Origin>;
|
||||
type MembershipManager: EnsureOrigin<Self::RuntimeOrigin>;
|
||||
|
||||
/// Origin for making announcements and adding/removing unscrupulous items.
|
||||
type AnnouncementOrigin: EnsureOrigin<Self::Origin>;
|
||||
type AnnouncementOrigin: EnsureOrigin<Self::RuntimeOrigin>;
|
||||
|
||||
/// The currency used for deposits.
|
||||
type Currency: ReservableCurrency<Self::AccountId>;
|
||||
|
||||
Reference in New Issue
Block a user