Questions tagged [cli]

The tag has no usage guidance.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
36 views

`check-blocks` command not re-executing the block

I am confused about the behavior of the check-block command. I was expecting it to re-execute the block, but it seems like this is not the case. For example, the following command: ➜ ~ RUST_LOG=...
kianenigma's user avatar
  • 2,349
1 vote
0 answers
26 views

create a dev chainspec with specific test users

I'd like to use the Polkadot CLI to create a chainspec with specific user balances pre-seeded. I'd like to be able to do this for any of the dev runtimes. In the case of the polkadot dev runtime, I ...
Harry Solovay's user avatar
1 vote
0 answers
28 views

RPC enabled? CLI configuration?

I need to determine whether RPCs are enabled in a OCW. I am thinking that I could check rpc_external and/or ws_external in sc_cli::commands::run_cmd but (1) is this the best way and (2) if it is, how ...
Robert La Ferla's user avatar
0 votes
0 answers
23 views

Why can't we pass the path to a database other than RocksDB (e.g. ParityDB) to the Substrate Service?

The Substrate Client has a: Substrate CLI here, where we're given the option to choose to use either RocksDB or ParityDB Substrate Service (sc-service) where here it states: "The RocksDB ...
Luke Schoen's user avatar
  • 1,804
0 votes
1 answer
35 views

Why can we limit the memory the RocksDB database cache can use but not for ParityDB?

In the Substrate CLI why can we limit the memory that the RocksDB database cache can use if we choose to use it here, but we're not given the option to limit the memory that ParityDB uses if we choose ...
Luke Schoen's user avatar
  • 1,804