Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 92c767e

Browse files
authored
Allow AuctionAdmin to use Scheduler (#6573)
1 parent 4c0e9ed commit 92c767e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/kusama/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ impl pallet_scheduler::Config for Runtime {
224224
type PalletsOrigin = OriginCaller;
225225
type RuntimeCall = RuntimeCall;
226226
type MaximumWeight = MaximumSchedulerWeight;
227-
type ScheduleOrigin = EnsureRoot<AccountId>;
227+
type ScheduleOrigin = EitherOf<EnsureRoot<AccountId>, AuctionAdmin>;
228228
type MaxScheduledPerBlock = MaxScheduledPerBlock;
229229
type WeightInfo = weights::pallet_scheduler::WeightInfo<Runtime>;
230230
type OriginPrivilegeCmp = OriginPrivilegeCmp;

0 commit comments

Comments
 (0)