Skip to content

Commit 6a68e5f

Browse files
committed
feat(cli): change verbose behavior
1 parent bbb281d commit 6a68e5f

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.changeset/kind-chicken-take.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cartesi/cli": major
3+
---
4+
5+
change verbose behavior

apps/cli/src/commands/rollups/start.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,9 @@ export const createStartCommand = () => {
199199

200200
// setup the environment variable used in docker compose
201201
const env: NodeJS.ProcessEnv = {
202-
ANVIL_VERBOSITY: verbose ? "--steps-tracing" : "--silent",
203202
BLOCK_TIME: blockTime.toString(),
204203
CARTESI_BLOCKCHAIN_DEFAULT_BLOCK: defaultBlock,
205-
CARTESI_LOG_LEVEL: verbose ? "info" : "error",
204+
CARTESI_LOG_LEVEL: verbose ? "debug" : "info",
206205
CARTESI_BIN_PATH: binPath,
207206
CARTESI_LISTEN_PORT: port.toString(),
208207
CARTESI_ROLLUPS_NODE_CPUS: cpus?.toString(),

apps/cli/src/compose/rollups/docker-compose-anvil.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
services:
22
anvil:
33
image: ${CARTESI_SDK_IMAGE}
4-
command:
5-
[
6-
"devnet",
7-
"--block-time",
8-
"${BLOCK_TIME:-5}",
9-
"${ANVIL_VERBOSITY:---silent}",
10-
]
4+
command: ["devnet", "--block-time", "${BLOCK_TIME:-5}"]
115
healthcheck:
126
test: ["CMD", "eth_isready"]
137
start_period: 10s

0 commit comments

Comments
 (0)