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 authored and GitHub committed 2022-09-20 22:13:09 +00:00
1 parent 986d20b352
commit e4b6f4a66d
221 files changed
+5233 -4200

No files matched your search

+2 -2
View File
@@ -138,7 +138,7 @@ use sp_std::{marker::PhantomData, prelude::*};
pub type CheckedOf<E, C> = <E as Checkable<C>>::Checked;
pub type CallOf<E, C> = <CheckedOf<E, C> as Applyable>::Call;
pub type OriginOf<E, C> = <CallOf<E, C> as Dispatchable>::Origin;
pub type OriginOf<E, C> = <CallOf<E, C> as Dispatchable>::RuntimeOrigin;
/// Main entry point for certain runtime actions as e.g. `execute_block`.
///
@@ -789,7 +789,7 @@ mod tests {
type BlockWeights = BlockWeights;
type BlockLength = ();
type DbWeight = ();
type Origin = Origin;
type RuntimeOrigin = RuntimeOrigin;
type Index = u64;
type RuntimeCall = RuntimeCall;
type BlockNumber = u64;