mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-31 07:59:49 +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:
1 parent
986d20b352
commit
e4b6f4a66d
221 files changed
+5233
-4200
No files matched your search
@@ -105,12 +105,12 @@ pub mod pallet {
|
||||
|
||||
/// The origin which may forcibly create or destroy an item or otherwise alter privileged
|
||||
/// attributes.
|
||||
type ForceOrigin: EnsureOrigin<Self::Origin>;
|
||||
type ForceOrigin: EnsureOrigin<Self::RuntimeOrigin>;
|
||||
|
||||
/// Standard collection creation is only allowed if the origin attempting it and the
|
||||
/// collection are in this set.
|
||||
type CreateOrigin: EnsureOriginWithArg<
|
||||
Self::Origin,
|
||||
Self::RuntimeOrigin,
|
||||
Self::CollectionId,
|
||||
Success = Self::AccountId,
|
||||
>;
|
||||
|
||||
@@ -49,7 +49,7 @@ impl frame_system::Config for Test {
|
||||
type BaseCallFilter = frame_support::traits::Everything;
|
||||
type BlockWeights = ();
|
||||
type BlockLength = ();
|
||||
type Origin = Origin;
|
||||
type RuntimeOrigin = RuntimeOrigin;
|
||||
type RuntimeCall = RuntimeCall;
|
||||
type Index = u64;
|
||||
type BlockNumber = u64;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user