From 8d3f8034cc847f1cac385ec611140e2bad770866 Mon Sep 17 00:00:00 2001 From: Danilo Tuler Date: Mon, 8 Jul 2024 17:15:14 -0400 Subject: [PATCH] feat(cli): bump sdk to 0.8.0 (new anvil version) --- .changeset/good-kiwis-dance.md | 5 +++++ apps/cli/src/commands/build.ts | 2 +- apps/cli/src/commands/shell.ts | 2 +- apps/cli/src/node/docker-compose-anvil.yaml | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/good-kiwis-dance.md diff --git a/.changeset/good-kiwis-dance.md b/.changeset/good-kiwis-dance.md new file mode 100644 index 00000000..7ec39f9e --- /dev/null +++ b/.changeset/good-kiwis-dance.md @@ -0,0 +1,5 @@ +--- +"@cartesi/cli": minor +--- + +bump sdk to 0.8.0 (new anvil version) diff --git a/apps/cli/src/commands/build.ts b/apps/cli/src/commands/build.ts index 40d3f677..af6cd0ed 100644 --- a/apps/cli/src/commands/build.ts +++ b/apps/cli/src/commands/build.ts @@ -30,7 +30,7 @@ const CARTESI_DEFAULT_RAM_SIZE = "128Mi"; const CARTESI_LABEL_SDK_VERSION = `${CARTESI_LABEL_PREFIX}.sdk_version`; const CARTESI_LABEL_SDK_NAME = `${CARTESI_LABEL_PREFIX}.sdk_name`; -const CARTESI_DEFAULT_SDK_VERSION = "0.6.2"; +const CARTESI_DEFAULT_SDK_VERSION = "0.8.0"; export default class BuildApplication extends BaseCommand< typeof BuildApplication diff --git a/apps/cli/src/commands/shell.ts b/apps/cli/src/commands/shell.ts index ea5060f4..9914c54a 100644 --- a/apps/cli/src/commands/shell.ts +++ b/apps/cli/src/commands/shell.ts @@ -33,7 +33,7 @@ export default class Shell extends BaseCommand { const ext2 = path.join(containerDir, path.basename(ext2Path)); const ramSize = "128Mi"; const driveLabel = "root"; - const sdkImage = "cartesi/sdk:0.6.0"; // XXX: how to resolve sdk version? + const sdkImage = "cartesi/sdk:0.8.0"; // XXX: how to resolve sdk version? const args = [ "run", "--interactive", diff --git a/apps/cli/src/node/docker-compose-anvil.yaml b/apps/cli/src/node/docker-compose-anvil.yaml index d24565b7..4bd8d689 100644 --- a/apps/cli/src/node/docker-compose-anvil.yaml +++ b/apps/cli/src/node/docker-compose-anvil.yaml @@ -1,6 +1,6 @@ services: anvil: - image: cartesi/sdk:0.6.0 + image: cartesi/sdk:0.8.0 command: [ "devnet", @@ -19,7 +19,7 @@ services: - 8545:8545 dapp_deployer: - image: cartesi/sdk:0.6.0 + image: cartesi/sdk:0.8.0 restart: on-failure depends_on: anvil: