Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Nov 25, 2024
1 parent 01843ad commit 9836594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DB_PATH=./db.sqlite
RUNTIME_LOG_LEVEL=0
RUNTIME_LOG_LEVEL=5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ For network specific tests that cannot be reused, just add them as normal tests.
Environment variables can be set in `.env` file. The following variables are supported:

- `DB_PATH`: path to the cache database.
- `RUNTIME_LOG_LEVEL`: log level for the runtime. 5 for error, 4 for warn, 3 for info, 2 for debug, 1 for trace. Default is 0.
- `RUNTIME_LOG_LEVEL`: log level for the runtime. 1 for error, 2 for warn, 3 for info, 4 for debug, 5 for trace. Default is 0.

This comment has been minimized.

Copy link
@x3c41a

x3c41a Dec 9, 2024

Contributor

I am wondering where does the default value come from?
For a second I thought it was from the file above but then noticed it was an example config

This comment has been minimized.

Copy link
@xlc

xlc Dec 9, 2024

Author Member

default is coming from smoldot

- `LOG_LEVEL`: log level for Chopstick. Note, use `yarn vitest` instead of `yarn test` to see logs. Options are `error`, `warn`, `info`, `debug`, `trace`. Default is `error`.
- `$(NETWORK_NAME)_BLOCK_NUMBER`: set block number for the chain.
- `$(NETWORK_NAME)_WASM`: path to the chain's wasm file.
Expand Down

0 comments on commit 9836594

Please sign in to comment.