From 273af81f21c283879e0fbb7d08e1fa0bc18b2de7 Mon Sep 17 00:00:00 2001 From: Danilo Tuler Date: Fri, 18 Oct 2024 10:06:40 -0400 Subject: [PATCH] feat(cli): bump sdk --- .changeset/blue-planes-develop.md | 5 +++++ apps/cli/src/commands/build.ts | 2 +- apps/cli/src/node/docker-compose-anvil.yaml | 7 ++++--- apps/cli/src/node/docker-compose-bundler.yaml | 2 +- apps/cli/src/node/docker-compose-paymaster.yaml | 2 +- packages/mock-verifying-paymaster/docker-compose.yaml | 4 ++-- 6 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 .changeset/blue-planes-develop.md diff --git a/.changeset/blue-planes-develop.md b/.changeset/blue-planes-develop.md new file mode 100644 index 00000000..27476881 --- /dev/null +++ b/.changeset/blue-planes-develop.md @@ -0,0 +1,5 @@ +--- +"@cartesi/cli": major +--- + +bump sdk to 0.12 diff --git a/apps/cli/src/commands/build.ts b/apps/cli/src/commands/build.ts index 47a85dcd..33710810 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.9.0"; +const CARTESI_DEFAULT_SDK_VERSION = "0.12.0-alpha.0"; export default class BuildApplication extends BaseCommand< typeof BuildApplication diff --git a/apps/cli/src/node/docker-compose-anvil.yaml b/apps/cli/src/node/docker-compose-anvil.yaml index 8b507aa8..515c239e 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.10.0 + image: cartesi/sdk:0.12.0-alpha.0 command: [ "devnet", @@ -19,7 +19,7 @@ services: - 8545:8545 dapp_deployer: - image: cartesi/sdk:0.10.0 + image: cartesi/sdk:0.12.0-alpha.0 restart: on-failure depends_on: anvil: @@ -32,9 +32,10 @@ services: "http://anvil:8545", "--private-key", "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80", - "0x9E32e06Fd23675b2DF8eA8e6b0A25c3DF6a60AbC", + "0x4C11C7F82D6D56a726f9B53dd99af031AFd86BB6", "deployContracts(address,address,bytes32,bytes32)", "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266", + "720", "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266", "0x0000000000000000000000000000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000", diff --git a/apps/cli/src/node/docker-compose-bundler.yaml b/apps/cli/src/node/docker-compose-bundler.yaml index 3295d207..25f2b3bb 100644 --- a/apps/cli/src/node/docker-compose-bundler.yaml +++ b/apps/cli/src/node/docker-compose-bundler.yaml @@ -1,6 +1,6 @@ services: alto: - image: cartesi/sdk:0.10.0 + image: cartesi/sdk:0.12.0-alpha.0 command: - "alto" - "--entrypoints" diff --git a/apps/cli/src/node/docker-compose-paymaster.yaml b/apps/cli/src/node/docker-compose-paymaster.yaml index 6829ed3a..952982ad 100644 --- a/apps/cli/src/node/docker-compose-paymaster.yaml +++ b/apps/cli/src/node/docker-compose-paymaster.yaml @@ -1,6 +1,6 @@ services: mock-verifying-paymaster: - image: cartesi/sdk:0.10.0 + image: cartesi/sdk:0.12.0-alpha.0 command: "mock-verifying-paymaster" environment: - ALTO_RPC=http://alto:4337 diff --git a/packages/mock-verifying-paymaster/docker-compose.yaml b/packages/mock-verifying-paymaster/docker-compose.yaml index e38bfa1e..88edbeb0 100644 --- a/packages/mock-verifying-paymaster/docker-compose.yaml +++ b/packages/mock-verifying-paymaster/docker-compose.yaml @@ -1,6 +1,6 @@ services: anvil: - image: cartesi/sdk:0.10.0 + image: cartesi/sdk:0.12.0-alpha.0 command: ["devnet", "--block-time", "${BLOCK_TIME:-5}"] healthcheck: test: ["CMD", "eth_isready"] @@ -13,7 +13,7 @@ services: - 8545:8545 alto: - image: cartesi/sdk:0.10.0 + image: cartesi/sdk:0.12.0-alpha.0 command: [ "alto",