Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tired-points-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/cli": major
---

use cartesi/sdk:0.12.0-alpha.11
7 changes: 2 additions & 5 deletions apps/cli/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,7 @@ export const getServiceHealth = async (options: {
return info?.Health;
};

export const parseAddress = (
value: string,
_previous: Address | undefined,
): Address | undefined => {
export const parseAddress = (value: string): Address | undefined => {
if (isAddress(value)) {
return getAddress(value);
} else {
Expand All @@ -130,7 +127,7 @@ export const parseAddress = (
}
};

export const parseHash = (value: string, _previous: Hash): Hash => {
export const parseHash = (value: string): Hash => {
if (isHash(value)) {
return value;
} else {
Expand Down
3 changes: 1 addition & 2 deletions apps/cli/src/commands/rollups/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import { getServiceHealth } from "../../base.js";
import { DEFAULT_SDK } from "../../config.js";
import { RollupsCommandOpts } from "../rollups.js";

const commaSeparatedList = (value: string, _previous: string[]) =>
value.split(",");
const commaSeparatedList = (value: string) => value.split(",");

type Service = {
name: string; // name of the service
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/src/compose/rollups/docker-compose-database.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
database:
image: postgres:16-alpine
image: postgres:16
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres || exit 1"]
start_period: 10s
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/src/compose/rollups/docker-compose-espresso.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
espresso_database_creator:
image: postgres:16-alpine
image: postgres:16
command: ["createdb", "sequencer"]
depends_on:
database:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/src/compose/rollups/docker-compose-explorer.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
database_creator:
image: postgres:16-alpine
image: postgres:16
command: ["createdb", "squid"]
depends_on:
database:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/src/compose/rollups/docker-compose-graphql.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
graphql_database_creator:
image: postgres:16-alpine
image: postgres:16
command: ["createdb", "graphql"]
depends_on:
database:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/src/compose/rollups/docker-compose-paymaster.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
services:
mock-verifying-paymaster:
paymaster:
image: ${CARTESI_SDK_IMAGE}
command: "mock-verifying-paymaster"
environment:
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class InvalidStringArrayError extends Error {
const DEFAULT_FORMAT = "ext2";
const DEFAULT_RAM = "128Mi";
const DEFAULT_RAM_IMAGE = "/usr/share/cartesi-machine/images/linux.bin";
export const DEFAULT_SDK = "cartesi/sdk:0.12.0-alpha.10";
export const DEFAULT_SDK = "cartesi/sdk:0.12.0-alpha.11";

type Builder = "directory" | "docker" | "empty" | "none" | "tar";
type DriveFormat = "ext2" | "sqfs";
Expand Down
Loading