Skip to content

Commit

Permalink
--dev implies --tmp (paritytech#10828)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi authored and ark0f committed Feb 27, 2023
1 parent 2765da4 commit f2343c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bin/node-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```sh
cargo run --release -- --dev --tmp
cargo run --release -- --dev
```

### Build
Expand Down Expand Up @@ -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).
> At the same time the following accounts will be pre-funded:
> - Alice
> - Bob
> - Bob
> - Alice//stash
> - Bob//stash
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
is ran. The following commands shows how to use a newly created folder as our db base path.

Expand Down
2 changes: 1 addition & 1 deletion frame/contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```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
Expand Down

0 comments on commit f2343c2

Please sign in to comment.