Repository navigation
Version Packages (alpha) - #578
Merged
brunomenezes merged 1 commit intoNov 12, 2026
Merged
Conversation
Contributor
Author
Coverage Report
📁 File Coverage (20 files)
|
brunomenezes
self-requested a review
November 12, 2026 19:48
brunomenezes
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-alphais currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonprerelease/v2-alpha.Releases
@cartesi/cli@2.0.0-alpha.42
Minor Changes
cartesi buildandcartesi runnow 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 runrecreates its own on every start, and a node you run yourself needs a fresh one.cartesi run --prtnow runs a sling node for each[prt.nodes.<label>]entry withtype = "sling", as containerprt-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 withprivate_key_fileruns 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.[prt.nodes.<label>]entry,type = "reference", implied when omitted.claim = falseon 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 nextcartesi run, not on a shell rebuild.cartesi sendandcartesi depositnow default to devnet account 8 instead of account 0, which the node uses to sign its claims. Pass--fromto pick another account.cartesi logsand 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.cartesi runnow rejects aCARTESI_BLOCKCHAIN_HTTP_ENDPOINTthe 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.cartesi run --prtnow deploys the application with the PRT sentries set incartesi.toml. A[prt]section names an optionalsentry_managerand one[prt.nodes.<label>]table per node, withsentry = trueon the ones to appoint. The sentries are appointed on the consensus in file order. An entry withtype = "sling"and noaddressgets one of the CLI's PRT pool, devnet accounts 20 to 29. An entry with only anaddressis appointed and run elsewhere. Without--prtthe section is ignored.Patch Changes
cartesi run --default-blockno longer acceptspending, which the rollups-node no longer supports. Uselatest,safeorfinalized.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, whichCARTESI_CONTRACTS_APPLICATION_FACTORY_ADDRESScan still override.CARTESI_*_FILEkey 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.$in theCARTESI_*variablescartesi runforwards to the node and in its--fork-url. Docker Compose read$namein them as a variable, so a value such as a password or an API key in a URL arrived changed.