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/tasty-shoes-dig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/cli": patch
---

adapt to rollups-node:2.0.0-alpha.7
2 changes: 1 addition & 1 deletion apps/cli/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class InvalidStringArrayError extends Error {
*/
const DEFAULT_FORMAT = "ext2";
const DEFAULT_RAM = "128Mi";
export const DEFAULT_SDK_VERSION = "0.12.0-alpha.20";
export const DEFAULT_SDK_VERSION = "0.12.0-alpha.22";
export const DEFAULT_SDK_IMAGE = "cartesi/sdk";
export const PREFERRED_PORT = 6751;

Expand Down
6 changes: 1 addition & 5 deletions apps/cli/src/exec/rollups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,11 +462,7 @@ export const deployApplication = async (options: {
if (consensus) {
deployArgs.push("--consensus", consensus);
} else {
deployArgs.push(
"--epoch-length",
epochLength.toString(),
"--self-hosted",
);
deployArgs.push("--epoch-length", epochLength.toString());
}
if (salt) {
deployArgs.push("--salt", salt);
Expand Down
4 changes: 2 additions & 2 deletions apps/cli/tests/integration/builder/docker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe("when building with the docker builder", () => {
await build("root", drive, image, destination, false);
const filename = path.join(destination, "root.ext2");
const stat = fs.statSync(filename);
expect(stat.size).toEqual(85917696);
expect(stat.size).toEqual(93716480);
},
);

Expand All @@ -88,7 +88,7 @@ describe("when building with the docker builder", () => {
await build("root", drive, image, destination, false);
const filename = path.join(destination, "root.ext2");
const stat = fs.statSync(filename);
expect(stat.size).toEqual(85917696);
expect(stat.size).toEqual(93716480);
});

tmpdirTest.skip("should build a sqfs drive", async ({ tmpdir }) => {
Expand Down
4 changes: 2 additions & 2 deletions apps/cli/tests/integration/builder/fixtures/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=linux/riscv64 ubuntu:24.04@sha256:6015f66923d7afbc53558d7ccffd325d43b4e249f41a6e93eef074c9505d2233 AS test
FROM --platform=linux/riscv64 ubuntu:24.04@sha256:3f83fb03282ef4e453bdf0060e0d83833bb3cf6e6f36f54d9b8517d311d78e03 AS test
ADD ./file2 .

FROM --platform=linux/riscv64 ubuntu:24.04@sha256:6015f66923d7afbc53558d7ccffd325d43b4e249f41a6e93eef074c9505d2233
FROM --platform=linux/riscv64 ubuntu:24.04@sha256:3f83fb03282ef4e453bdf0060e0d83833bb3cf6e6f36f54d9b8517d311d78e03
ADD ./file1 .
Loading