Skip to content

Version Packages (alpha) - #578

Merged
brunomenezes merged 1 commit into
prerelease/v2-alphafrom
changeset-release/prerelease/v2-alpha
Nov 12, 2026
Merged

brunomenezes merged 1 commit into
prerelease/v2-alphafrom
changeset-release/prerelease/v2-alpha

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to prerelease/v2-alpha, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

prerelease/v2-alpha is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on prerelease/v2-alpha.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@cartesi/cli@2.0.0-alpha.42

Minor Changes

  • 045ec9c: cartesi build and cartesi run now default to SDK 0.12.0-alpha.45, which carries rollups-node 2.0.0-alpha.14 with Dave 3.0.0-alpha.6 and cartesi-machine 0.22. The node's database migration was edited in place, so a database created by an earlier node can't be reused. cartesi run recreates its own on every start, and a node you run yourself needs a fresh one.
  • 1c5af20: cartesi run --prt now runs a sling node for each [prt.nodes.<label>] entry with type = "sling", as container prt-node-<label>, so claims the sentries agree with are accepted without waiting out --claim-staging-period. Pool accounts (devnet 20 to 29) are funded with 10,000 ETH by the CLI. An entry with private_key_file runs on your own key, whose address becomes the entry's, and you fund it. The nodes are stopped before a rebuild and started again for the redeployed application.
  • 8009138: The rollups-node has its own [prt.nodes.<label>] entry, type = "reference", implied when omitted. claim = false on it runs the node in reader mode, following the tournaments and recording settled epochs while sling nodes claim, as production deployments may do. Changing it takes effect on the next cartesi run, not on a shell rebuild.
  • 8baed52: cartesi send and cartesi deposit now default to devnet account 8 instead of account 0, which the node uses to sign its claims. Pass --from to pick another account.
  • 31d5433: cartesi logs and the shell's View logs now show the PRT nodes next to the rollups-node. Name services to pick some, e.g. cartesi logs prt-node-green.
  • 454d24a: Require cartesi-machine 0.22. Machines stored by 0.21 can't be loaded by 0.22: rebuild and redeploy every application.
  • 5c752fe: cartesi run now rejects a CARTESI_BLOCKCHAIN_HTTP_ENDPOINT the rollups-node can't use before starting anything. It must be an http(s) URL with a DNS name or IP address. The error doesn't show the value, which may hold credentials.
  • cdfc144: cartesi run --prt now deploys the application with the PRT sentries set in cartesi.toml. A [prt] section names an optional sentry_manager and one [prt.nodes.<label>] table per node, with sentry = true on the ones to appoint. The sentries are appointed on the consensus in file order. An entry with type = "sling" and no address gets one of the CLI's PRT pool, devnet accounts 20 to 29. An entry with only an address is appointed and run elsewhere. Without --prt the section is ignored.

Patch Changes

  • 3e6b039: cartesi run --default-block no longer accepts pending, which the rollups-node no longer supports. Use latest, safe or finalized.
  • 3a06730: Bump the rollups-explorer service to 2.0.0-alpha.6, which supports rollups-node 2.0.0-alpha.14.
  • 91e6a0d: cartesi run's Build and redeploy no longer fails with "CARTESI_CONTRACTS_APPLICATION_FACTORY_ADDRESS: variable not defined". The CLI now passes the devnet's ApplicationFactory address to the node, which CARTESI_CONTRACTS_APPLICATION_FACTORY_ADDRESS can still override.
  • de862cd: CARTESI_*_FILE key files set on the host now reach the node container as copies the node can read. Before, only the path was forwarded and the node couldn't read the file.
  • 0936380: Use the Dave 3.0.0-alpha.6 PRT contracts. Every PRT address moves, including the devnet DaveAppFactory. The rollups contract addresses are unchanged.
  • 1389b97: Keep $ in the CARTESI_* variables cartesi run forwards to the node and in its --fork-url. Docker Compose read $name in them as a variable, so a value such as a password or an API key in a URL arrived changed.

@github-actions

Copy link
Copy Markdown
Contributor Author

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 88.4% (🎯 0%) 13811 / 15624
🔵 Statements 88.4% 13811 / 15624
🔵 Functions 82.64% 357 / 432
🔵 Branches 0% 0 / 0
📁 File Coverage (20 files)
File Lines Statements Functions Branches Uncovered Lines
apps/cli/src/base.ts 🔴 38.6% 🔴 38.6% 🟡 64.71% 🔴 0% 62, 70-74, 79, 101-174, 200...
apps/cli/src/builder/directory.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/builder/docker.ts 🟢 87.12% 🟢 87.12% 🟡 66.67% 🔴 0% 77-79, 81, 114-116, 174-183
apps/cli/src/builder/empty.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/builder/none.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/builder/nvram.ts 🟢 97.14% 🟢 97.14% 🟢 100% 🔴 0% 38
apps/cli/src/builder/tar.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/commands/foreclose.ts 🔴 49.09% 🔴 49.09% 🔴 50% 🔴 0% 69, 91-145
apps/cli/src/commands/logs.ts 🟡 66.67% 🟡 66.67% 🟡 66.67% 🔴 0% 13-24, 106-124
apps/cli/src/commands/refund.ts 🔴 38.2% 🔴 38.2% 🟡 66.67% 🔴 0% 55-109
apps/cli/src/commands/run.ts 🔴 16.51% 🔴 16.51% 🔴 8.33% 🔴 0% 76-95, 99-278, 282-289, 296...
apps/cli/src/commands/withdraw.ts 🔴 46.58% 🔴 46.58% 🟡 73.33% 🔴 0% 95-123, 277-278, 301-356, 3...
apps/cli/src/compose/anvil.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/compose/builder.ts 🟢 99.79% 🟢 99.79% 🟢 100% 🔴 0% 228
apps/cli/src/compose/bundler.ts 🔴 4.82% 🔴 4.82% 🔴 0% 🔴 0% 8-40, 44-75, 79-92
apps/cli/src/compose/common.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/compose/database.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/compose/explorer.ts 🔴 6.67% 🔴 6.67% 🔴 0% 🔴 0% 10-38, 43-55, 59-72
apps/cli/src/compose/node.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/compose/passkey.ts 🔴 8.33% 🔴 8.33% 🔴 0% 🔴 0% 9-18, 23-42, 46-59

@brunomenezes brunomenezes moved this to 👁 In Review in Rollups Tooling Nov 12, 2026
@brunomenezes
brunomenezes self-requested a review November 12, 2026 19:48
@github-project-automation github-project-automation Bot moved this from 👁 In Review to 👍 Waiting Merge in Rollups Tooling Nov 12, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Waiting Merge in Rollups SDK Nov 12, 2026
@brunomenezes
brunomenezes merged commit b8f9f18 into prerelease/v2-alpha Nov 12, 2026
4 checks passed
@brunomenezes
brunomenezes deleted the changeset-release/prerelease/v2-alpha branch November 12, 2026 19:49
@github-project-automation github-project-automation Bot moved this from Waiting Merge to Done in Rollups SDK Nov 12, 2026
@github-project-automation github-project-automation Bot moved this from 👍 Waiting Merge to 📦 Done in Rollups Tooling Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: 📦 Done

Development

Successfully merging this pull request may close these issues.

1 participant