mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +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:
@@ -78,16 +78,16 @@ pub mod pallet {
|
||||
type MaxPeerIdLength: Get<u32>;
|
||||
|
||||
/// The origin which can add a well known node.
|
||||
type AddOrigin: EnsureOrigin<Self::Origin>;
|
||||
type AddOrigin: EnsureOrigin<Self::RuntimeOrigin>;
|
||||
|
||||
/// The origin which can remove a well known node.
|
||||
type RemoveOrigin: EnsureOrigin<Self::Origin>;
|
||||
type RemoveOrigin: EnsureOrigin<Self::RuntimeOrigin>;
|
||||
|
||||
/// The origin which can swap the well known nodes.
|
||||
type SwapOrigin: EnsureOrigin<Self::Origin>;
|
||||
type SwapOrigin: EnsureOrigin<Self::RuntimeOrigin>;
|
||||
|
||||
/// The origin which can reset the well known nodes.
|
||||
type ResetOrigin: EnsureOrigin<Self::Origin>;
|
||||
type ResetOrigin: EnsureOrigin<Self::RuntimeOrigin>;
|
||||
|
||||
/// Weight information for extrinsics in this pallet.
|
||||
type WeightInfo: WeightInfo;
|
||||
|
||||
Reference in New Issue
Block a user