Repository navigation
@cartesi/cli@2.0.0-alpha.42
Pre-release
Pre-release
·
16 commits
to prerelease/v2-alpha
since this release
Minor Changes
- 045ec9c:
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. - 1c5af20:
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. - 8009138: The rollups-node has its own
[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. - 8baed52:
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. - 31d5433:
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. - 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 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. - cdfc144:
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
- 3e6b039:
cartesi run --default-blockno longer acceptspending, which the rollups-node no longer supports. Uselatest,safeorfinalized. - 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, whichCARTESI_CONTRACTS_APPLICATION_FACTORY_ADDRESScan still override. - de862cd:
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. - 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 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.