mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 02:48:03 +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:
@@ -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