Skip to content

Commit

Permalink
feat(cli): bump sdk to 0.8.0 (new anvil version)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed Jul 23, 2024
1 parent e0e7700 commit 8d3f803
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-kiwis-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/cli": minor
---

bump sdk to 0.8.0 (new anvil version)
2 changes: 1 addition & 1 deletion apps/cli/src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/src/commands/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class Shell extends BaseCommand<typeof Shell> {
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",
Expand Down
4 changes: 2 additions & 2 deletions apps/cli/src/node/docker-compose-anvil.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
anvil:
image: cartesi/sdk:0.6.0
image: cartesi/sdk:0.8.0
command:
[
"devnet",
Expand All @@ -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:
Expand Down

0 comments on commit 8d3f803

Please sign in to comment.