mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
allow to specify schedule time as a relative value (#6578)
* allow to specify schedule time as a relative value * bump version * line width * fix benchmarks * rename and updates
This commit is contained in:
@@ -39,7 +39,7 @@ fn fill_schedule<T: Trait> (when: T::BlockNumber, n: u32) -> Result<(), &'static
|
||||
// Named schedule is strictly heavier than anonymous
|
||||
Scheduler::<T>::do_schedule_named(
|
||||
i.encode(),
|
||||
when,
|
||||
DispatchTime::At(when),
|
||||
// Add periodicity
|
||||
Some((T::BlockNumber::one(), 100)),
|
||||
// HARD_DEADLINE priority means it gets executed no matter what
|
||||
|
||||
Reference in New Issue
Block a user