diff --git a/operations/cancel-distribution-dev.hcl b/operations/cancel-distribution-dev.hcl index d63dbe1..0437eb5 100644 --- a/operations/cancel-distribution-dev.hcl +++ b/operations/cancel-distribution-dev.hcl @@ -11,7 +11,7 @@ job "cancel-distribution-dev" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npx"] command = "ts-node" args = ["scripts/distribution/cancel-distribution.ts"] diff --git a/operations/cancel-distribution-live.hcl b/operations/cancel-distribution-live.hcl index 0900089..8000b73 100644 --- a/operations/cancel-distribution-live.hcl +++ b/operations/cancel-distribution-live.hcl @@ -11,7 +11,7 @@ job "cancel-distribution-live" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npx"] command = "ts-node" args = ["scripts/distribution/cancel-distribution.ts"] diff --git a/operations/cancel-distribution-stage.hcl b/operations/cancel-distribution-stage.hcl index 536229b..f1ae9a0 100644 --- a/operations/cancel-distribution-stage.hcl +++ b/operations/cancel-distribution-stage.hcl @@ -11,7 +11,7 @@ job "cancel-distribution-stage" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npx"] command = "ts-node" args = ["scripts/distribution/cancel-distribution.ts"] diff --git a/operations/deploy-distribution-dev.hcl b/operations/deploy-distribution-dev.hcl index ab66df9..1ee20d4 100644 --- a/operations/deploy-distribution-dev.hcl +++ b/operations/deploy-distribution-dev.hcl @@ -11,7 +11,7 @@ job "deploy-distribution-dev" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["deploy"] diff --git a/operations/deploy-distribution-live.hcl b/operations/deploy-distribution-live.hcl index 7dcce9a..a764185 100644 --- a/operations/deploy-distribution-live.hcl +++ b/operations/deploy-distribution-live.hcl @@ -11,7 +11,7 @@ job "deploy-distribution-live" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["deploy"] diff --git a/operations/deploy-distribution-stage.hcl b/operations/deploy-distribution-stage.hcl index b97f7ff..b006b02 100644 --- a/operations/deploy-distribution-stage.hcl +++ b/operations/deploy-distribution-stage.hcl @@ -11,7 +11,7 @@ job "deploy-distribution-stage" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["deploy"] diff --git a/operations/deploy-relay-registry-dev.hcl b/operations/deploy-relay-registry-dev.hcl index 598b680..ff004c5 100644 --- a/operations/deploy-relay-registry-dev.hcl +++ b/operations/deploy-relay-registry-dev.hcl @@ -11,7 +11,7 @@ job "deploy-relay-registry-dev" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["deploy"] diff --git a/operations/deploy-relay-registry-live.hcl b/operations/deploy-relay-registry-live.hcl index 99f43b9..0c2f3ce 100644 --- a/operations/deploy-relay-registry-live.hcl +++ b/operations/deploy-relay-registry-live.hcl @@ -11,7 +11,7 @@ job "deploy-relay-registry-live" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["deploy"] diff --git a/operations/deploy-relay-registry-stage.hcl b/operations/deploy-relay-registry-stage.hcl index d4240e6..fca891a 100644 --- a/operations/deploy-relay-registry-stage.hcl +++ b/operations/deploy-relay-registry-stage.hcl @@ -11,7 +11,7 @@ job "deploy-relay-registry-stage" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["deploy"] diff --git a/operations/dev-tests/add-relays-dev.hcl b/operations/dev-tests/add-relays-dev.hcl index 85970ee..ba29cd3 100644 --- a/operations/dev-tests/add-relays-dev.hcl +++ b/operations/dev-tests/add-relays-dev.hcl @@ -11,7 +11,7 @@ job "add-relays-dev" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npx"] command = "ts-node" args = ["scripts/relay-registry/add-relays.ts"] diff --git a/operations/dev-tests/add-relays-stage.hcl b/operations/dev-tests/add-relays-stage.hcl index fe20417..09bc688 100644 --- a/operations/dev-tests/add-relays-stage.hcl +++ b/operations/dev-tests/add-relays-stage.hcl @@ -11,7 +11,7 @@ job "add-relays-stage" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npx"] command = "ts-node" args = ["scripts/relay-registry/add-relays.ts"] diff --git a/operations/dev-tests/add-scores-dev.hcl b/operations/dev-tests/add-scores-dev.hcl index 4186a5c..78bb94f 100644 --- a/operations/dev-tests/add-scores-dev.hcl +++ b/operations/dev-tests/add-scores-dev.hcl @@ -12,7 +12,7 @@ job "add-scores-dev" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npx"] command = "ts-node" args = ["scripts/distribution/add-scores.ts"] diff --git a/operations/dev-tests/add-scores-stage.hcl b/operations/dev-tests/add-scores-stage.hcl index 8dec15b..6b9b8ee 100644 --- a/operations/dev-tests/add-scores-stage.hcl +++ b/operations/dev-tests/add-scores-stage.hcl @@ -12,7 +12,7 @@ job "add-scores-stage" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npx"] command = "ts-node" args = ["scripts/distribution/add-scores.ts"] diff --git a/operations/evolve-distribution-dev.hcl b/operations/evolve-distribution-dev.hcl index 6097e52..ecef6c8 100644 --- a/operations/evolve-distribution-dev.hcl +++ b/operations/evolve-distribution-dev.hcl @@ -11,7 +11,7 @@ job "deploy-distribution-dev" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["evolve"] diff --git a/operations/evolve-distribution-live.hcl b/operations/evolve-distribution-live.hcl index 1d0110e..66da4e9 100644 --- a/operations/evolve-distribution-live.hcl +++ b/operations/evolve-distribution-live.hcl @@ -11,7 +11,7 @@ job "deploy-distribution-live" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["evolve"] diff --git a/operations/evolve-distribution-stage.hcl b/operations/evolve-distribution-stage.hcl index 580a8f4..89c7580 100644 --- a/operations/evolve-distribution-stage.hcl +++ b/operations/evolve-distribution-stage.hcl @@ -11,7 +11,7 @@ job "deploy-distribution-stage" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["evolve"] diff --git a/operations/evolve-relay-registry-dev.hcl b/operations/evolve-relay-registry-dev.hcl index 02ae0a8..6f6fa14 100644 --- a/operations/evolve-relay-registry-dev.hcl +++ b/operations/evolve-relay-registry-dev.hcl @@ -11,7 +11,7 @@ job "evolve-relay-registry-dev" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["evolve"] diff --git a/operations/evolve-relay-registry-live.hcl b/operations/evolve-relay-registry-live.hcl index 274bc24..0aeea2d 100644 --- a/operations/evolve-relay-registry-live.hcl +++ b/operations/evolve-relay-registry-live.hcl @@ -11,7 +11,7 @@ job "evolve-relay-registry-live" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["evolve"] diff --git a/operations/evolve-relay-registry-stage.hcl b/operations/evolve-relay-registry-stage.hcl index 97dc7ff..63555c6 100644 --- a/operations/evolve-relay-registry-stage.hcl +++ b/operations/evolve-relay-registry-stage.hcl @@ -11,7 +11,7 @@ job "evolve-relay-registry-stage" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npm"] command = "run" args = ["evolve"] diff --git a/operations/remove-relays-dev.hcl b/operations/remove-relays-dev.hcl index a07d527..ef2abdc 100644 --- a/operations/remove-relays-dev.hcl +++ b/operations/remove-relays-dev.hcl @@ -11,10 +11,11 @@ job "remove-relays-dev" { config { network_mode = "host" - image = "ghcr.io/ator-development/smart-contracts:0.3.1" + image = "ghcr.io/ator-development/smart-contracts:0.3.2" entrypoint = ["npx"] command = "ts-node" args = ["scripts/relay-registry/remove-relays.ts"] + volumes = [ "data/data.json:/usr/src/app/smartweave/data/data.json" ] } vault { @@ -24,7 +25,7 @@ job "remove-relays-dev" { template { data = <" diff --git a/smartweave/scripts/relay-registry/remove-relays.ts b/smartweave/scripts/relay-registry/remove-relays.ts index 5ceb3db..e6ed634 100644 --- a/smartweave/scripts/relay-registry/remove-relays.ts +++ b/smartweave/scripts/relay-registry/remove-relays.ts @@ -74,7 +74,7 @@ async function main() { const input: RemoveClaimable = { function: 'removeClaimable', fingerprint } - console.log(`Runnning sanity check for ${input}`) + console.log(`Runnning sanity check for ${JSON.stringify(input)}`) try { // NB: Dry-run sanity check const { cachedValue: { state } } = await contract.readState() @@ -89,7 +89,9 @@ async function main() { .connect(signer) .writeInteraction(input) - console.log(`Remove relay ${input} result ${result?.originalTxId}`) + console.log( + `Remove relay ${JSON.stringify(input)} result ${result?.originalTxId}` + ) } catch (error) { console.error(error) console.log('Continuing execution')