From dc7fc899deb3930bf7c68ebff6d9127388465536 Mon Sep 17 00:00:00 2001 From: Nino Lipartiia Date: Thu, 21 Jul 2022 12:24:45 +0300 Subject: [PATCH] Fix error with yarn purr and updated yarn tasks --- package.json | 2 +- tasks.js | 10 +++++----- yarn.lock | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 274820d..afa43b0 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "axios": "^0.27.2", "chain-registry": "git+https://github.com/cosmos/chain-registry.git", "cosmwasm": "^1.1.1", - "cw-croncat": "git+https://github.com/CronCats/cw-croncat.git#ft/proxy", + "cw-croncat": "git+https://github.com/CronCats/cw-croncat.git#714758611e6e8a76720a8f6d41a7f1818ca1fcab", "cw-purrbox": "git+https://github.com/CronCats/cw-purrbox.git", "dotenv": "^16.0.0" } diff --git a/tasks.js b/tasks.js index 4012e5d..9597747 100644 --- a/tasks.js +++ b/tasks.js @@ -64,7 +64,7 @@ async function main() { // pub interval: Interval, // pub boundary: Boundary, // pub stop_on_fail: bool, - // pub action: CosmosMsg, + // pub actions: Vec, // pub rules: Option>, // } const tasks = [ @@ -82,7 +82,7 @@ async function main() { end: null, }, stop_on_fail: false, - action: sampleActions[1], + actions: [sampleActions[1]], // TODO: setup a rules example too rules: [], }, @@ -92,7 +92,7 @@ async function main() { }, boundary: { start: null, end: null, }, stop_on_fail: false, - action: sampleActions[2], + actions: [sampleActions[2]], rules: [], }, @@ -103,7 +103,7 @@ async function main() { }, boundary: { start: null, end: null, }, stop_on_fail: false, - action: sampleActions[0], + actions: [sampleActions[0]], // rules: [ // { // contract_addr: iftttSimpleContract, @@ -119,7 +119,7 @@ async function main() { // }, // boundary: { start: null, end: null, }, // stop_on_fail: true, - // action: sampleActions[0], + // actions: [sampleActions[0]], // rules: [ // { // contract_addr: iftttSimpleContract, diff --git a/yarn.lock b/yarn.lock index 2a5e221..7d9eab1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -448,9 +448,9 @@ cosmwasm@^1.1.1: "@cosmjs/stargate" "^0.28.3" "@cosmjs/utils" "^0.28.3" -"cw-croncat@git+https://github.com/CronCats/cw-croncat.git#ft/proxy": +"cw-croncat@git+https://github.com/CronCats/cw-croncat.git#714758611e6e8a76720a8f6d41a7f1818ca1fcab": version "0.0.0" - resolved "git+https://github.com/CronCats/cw-croncat.git#9ab52cc9ae2930618251b531f874ec4842b1ed4f" + resolved "git+https://github.com/CronCats/cw-croncat.git#714758611e6e8a76720a8f6d41a7f1818ca1fcab" "cw-purrbox@git+https://github.com/CronCats/cw-purrbox.git": version "0.0.0"