Skip to content

Commit

Permalink
Update authority.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
zeevick10 authored Dec 17, 2024
1 parent 085cc10 commit 776530c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/mandala/src/benchmarking/authority.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ runtime_benchmarks! {
dispatch_as {
}: _(RawOrigin::Root, AuthoritysOriginId::Root, runtime_call())

// schdule a dispatchable to be dispatched at later block.
// schedule a dispatchable to be dispatched at later block.
schedule_dispatch_without_delay {
let call = RuntimeCall::Authority(orml_authority::Call::dispatch_as {
as_origin: AuthoritysOriginId::Root,
call: runtime_call(),
});
}: schedule_dispatch(RawOrigin::Root, DispatchTime::At(2), 0, false, bounded_call(call))

// schdule a dispatchable to be dispatched at later block.
// schedule a dispatchable to be dispatched at later block.
// ensure that the delay is reached when scheduling
schedule_dispatch_with_delay {
let call = RuntimeCall::Authority(orml_authority::Call::dispatch_as {
Expand Down

0 comments on commit 776530c

Please sign in to comment.