diff --git a/tasks/index.ts b/tasks/index.ts index f54ce8759..1fb5503d2 100644 --- a/tasks/index.ts +++ b/tasks/index.ts @@ -6,7 +6,9 @@ const jobsController = JobsController(); async function run(job: string = process.argv[2], chain: string = process.argv[3]) { console.log('Running job', job, chain); - if (job === 'sync-pools-v3') { + if (job === 'add-pools-v3') { + return jobsController.addPools(chain); + } else if (job === 'sync-pools-v3') { return jobsController.syncPools(chain); } else if (job === 'sync-join-exits-v3') { return jobsController.syncJoinExitsV3(chain);