mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 20:15:40 +00:00
Allow AuctionAdmin to use Scheduler (#6573)
This commit is contained in:
@@ -224,7 +224,7 @@ impl pallet_scheduler::Config for Runtime {
|
|||||||
type PalletsOrigin = OriginCaller;
|
type PalletsOrigin = OriginCaller;
|
||||||
type RuntimeCall = RuntimeCall;
|
type RuntimeCall = RuntimeCall;
|
||||||
type MaximumWeight = MaximumSchedulerWeight;
|
type MaximumWeight = MaximumSchedulerWeight;
|
||||||
type ScheduleOrigin = EnsureRoot<AccountId>;
|
type ScheduleOrigin = EitherOf<EnsureRoot<AccountId>, AuctionAdmin>;
|
||||||
type MaxScheduledPerBlock = MaxScheduledPerBlock;
|
type MaxScheduledPerBlock = MaxScheduledPerBlock;
|
||||||
type WeightInfo = weights::pallet_scheduler::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_scheduler::WeightInfo<Runtime>;
|
||||||
type OriginPrivilegeCmp = OriginPrivilegeCmp;
|
type OriginPrivilegeCmp = OriginPrivilegeCmp;
|
||||||
|
|||||||
Reference in New Issue
Block a user