git.delta.rocks / unique-network / refs/commits / c6878e8a456d

difftreelog

fix scheduler playgrounds

Daniel Shiposha2022-10-20parent: #d1cb9dc.patch.diff
in: master

2 files changed

modifiedtests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth
312 await this.helper.wait.noScheduledTasks();312 await this.helper.wait.noScheduledTasks();
313313
314 function makeId(slider: number) {314 function makeId(slider: number) {
315 const scheduledIdSize = 32;315 const scheduledIdSize = 64;
316 const hexId = slider.toString(16);316 const hexId = slider.toString(16);
317 const prefixSize = scheduledIdSize - hexId.length;317 const prefixSize = scheduledIdSize - hexId.length;
318318
modifiedtests/src/util/playgrounds/unique.tsdiffbeforeafterboth
2908 this.blocksNum,2908 this.blocksNum,
2909 this.options.periodic ? [this.options.periodic.period, this.options.periodic.repetitions] : null,2909 this.options.periodic ? [this.options.periodic.period, this.options.periodic.repetitions] : null,
2910 this.options.priority ?? null,2910 this.options.priority ?? null,
2911 {Value: scheduledTx},2911 scheduledTx,
2912 ],2912 ],
2913 expectSuccess,2913 expectSuccess,
2914 );2914 );