If you wish to do the development by avoiding the timers then you can do the intended calls to K2 directly using these function calls.
To disable timers please set the TIMERS flag in task-node ENV to disable
NOTE : K2 will still have the windows to accept the submission and audit values, so you are expected to make calls in the intended slots of your round time.
console.log(await namespaceWrapper.getTaskState());
const round = await namespaceWrapper.getRound();
console.log("ROUND", round);
import { taskRunner } from "@_koii/taskRunner";
await taskRunner.task();
Preferably you should submit the CID received from IPFS.
import { taskRunner } from "@_koii/taskRunner";
await taskRunner.submitTask(round - 1);
import { taskRunner } from "@_koii/taskRunner";
await taskRunner.auditTask(round - 1);
import { taskRunner } from "@_koii/taskRunner";
await taskRunner.selectAndGenerateDistributionList(10);
import { taskRunner } from "@_koii/taskRunner";
await coreLogic.auditDistribution(round - 2);
const responsePayout = await namespaceWrapper.payoutTrigger();
console.log("RESPONSE TRIGGER", responsePayout);
namespaceWrapper.logger("error", "Internet connection lost");
await namespaceWrapper.logger("warn", "Stakes are running low");
await namespaceWrapper.logger("log", "Task is running");