🙂 Expected behavior
CLI should not add in the arguments options flags that is non-existing in the cartesi-machine.
🫠 Actual behavior
There is a no-rollup available to configure. It is passed down when running the cartesi build command.
🧪 Minimal test case
using the latest CLI (alpha.34) and having cartesi-machine installed or at least Docker available.
- Create a simple Application
cartesi create --template=<template_name> <app_name>
cd <app_name>
- create a
cartesi.toml file
- add the following configuration
- Run
cartesi build
Code ref: https://github.com/cartesi/cli/blob/prerelease/v2-alpha/apps/cli/src/machine.ts#L111
cartesi.toml test ref: https://github.com/cartesi/cli/blob/prerelease/v2-alpha/apps/cli/tests/unit/config/fixtures/full.toml#L9
✔️ Possible solutions
- If it is a mistake remove that option from both code and test references
- if it is a typo due to a
--no-rollback exist, replace accordingly.
🙂 Expected behavior
CLI should not add in the arguments options flags that is non-existing in the cartesi-machine.
🫠 Actual behavior
There is a
no-rollupavailable to configure. It is passed down when running thecartesi buildcommand.🧪 Minimal test case
using the latest CLI (alpha.34) and having cartesi-machine installed or at least Docker available.
cartesi create --template=<template_name> <app_name>cd <app_name>cartesi.tomlfilecartesi buildCode ref: https://github.com/cartesi/cli/blob/prerelease/v2-alpha/apps/cli/src/machine.ts#L111
cartesi.tomltest ref: https://github.com/cartesi/cli/blob/prerelease/v2-alpha/apps/cli/tests/unit/config/fixtures/full.toml#L9✔️ Possible solutions
--no-rollbackexist, replace accordingly.