mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 20:35:41 +00:00
--dev implies --tmp (#10828)
This commit is contained in:
@@ -26,7 +26,7 @@ First, complete the [basic Rust setup instructions](./docs/rust-setup.md).
|
|||||||
Use Rust's native `cargo` command to build and launch the template node:
|
Use Rust's native `cargo` command to build and launch the template node:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cargo run --release -- --dev --tmp
|
cargo run --release -- --dev
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
@@ -78,12 +78,12 @@ RUST_BACKTRACE=1 ./target/release/node-template -ldebug --dev
|
|||||||
> [genesis state](https://github.com/substrate-developer-hub/substrate-node-template/blob/main/node/src/chain_spec.rs#L49).
|
> [genesis state](https://github.com/substrate-developer-hub/substrate-node-template/blob/main/node/src/chain_spec.rs#L49).
|
||||||
> At the same time the following accounts will be pre-funded:
|
> At the same time the following accounts will be pre-funded:
|
||||||
> - Alice
|
> - Alice
|
||||||
> - Bob
|
> - Bob
|
||||||
> - Alice//stash
|
> - Alice//stash
|
||||||
> - Bob//stash
|
> - Bob//stash
|
||||||
|
|
||||||
In case of being interested in maintaining the chain' state between runs a base path must be added
|
In case of being interested in maintaining the chain' state between runs a base path must be added
|
||||||
so the db can be stored in the provided folder instead of a temporal one. We could use this folder
|
so the db can be stored in the provided folder instead of a temporal one. We could use this folder
|
||||||
to store different chain databases, as a different folder will be created per different chain that
|
to store different chain databases, as a different folder will be created per different chain that
|
||||||
is ran. The following commands shows how to use a newly created folder as our db base path.
|
is ran. The following commands shows how to use a newly created folder as our db base path.
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ by block production. A good starting point for observing them on the console is
|
|||||||
command line in the root directory of the substrate repository:
|
command line in the root directory of the substrate repository:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo run --release -- --dev --tmp -lerror,runtime::contracts=debug
|
cargo run --release -- --dev -lerror,runtime::contracts=debug
|
||||||
```
|
```
|
||||||
|
|
||||||
This raises the log level of `runtime::contracts` to `debug` and all other targets
|
This raises the log level of `runtime::contracts` to `debug` and all other targets
|
||||||
|
|||||||
Reference in New Issue
Block a user