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:
Sergej Sakac
2022-09-21 00:13:09 +02:00
committed by GitHub
parent 986d20b352
commit e4b6f4a66d
221 changed files with 5233 additions and 4200 deletions
+3 -3
View File
@@ -66,7 +66,7 @@ pub mod pallet {
/// The overarching call type.
type RuntimeCall: IsType<<Self as frame_system::Config>::RuntimeCall>
+ Dispatchable<Origin = Self::Origin, PostInfo = PostDispatchInfo>
+ Dispatchable<RuntimeOrigin = Self::RuntimeOrigin, PostInfo = PostDispatchInfo>
+ GetDispatchInfo
+ FullCodec
+ TypeInfo
@@ -74,10 +74,10 @@ pub mod pallet {
+ Parameter;
/// Required origin for whitelisting a call.
type WhitelistOrigin: EnsureOrigin<Self::Origin>;
type WhitelistOrigin: EnsureOrigin<Self::RuntimeOrigin>;
/// Required origin for dispatching whitelisted call with root origin.
type DispatchWhitelistedOrigin: EnsureOrigin<Self::Origin>;
type DispatchWhitelistedOrigin: EnsureOrigin<Self::RuntimeOrigin>;
/// The handler of pre-images.
// NOTE: recipient is only needed for benchmarks.