Refactoring Checkpoint: (WIP)

This commit is contained in:
2025-12-14 10:29:31 +03:00
parent 09735eb97a
commit c89d7cac55
1424 changed files with 6415 additions and 6064 deletions
+6 -6
View File
@@ -45,7 +45,7 @@ After you build the project, you can use the following command to explore its
parameters and subcommands:
```sh
./target/release/solochain-template-node -h
./target/release/pez-solochain-template-node -h
```
You can generate and view the [Rust
@@ -62,19 +62,19 @@ The following command starts a single-node development chain that doesn't
persist state:
```sh
./target/release/solochain-template-node --dev
./target/release/pez-solochain-template-node --dev
```
To purge the development chain's state, run the following command:
```sh
./target/release/solochain-template-node purge-chain --dev
./target/release/pez-solochain-template-node purge-chain --dev
```
To start the development chain with detailed logging, run the following command:
```sh
RUST_BACKTRACE=1 ./target/release/solochain-template-node -ldebug --dev
RUST_BACKTRACE=1 ./target/release/pez-solochain-template-node -ldebug --dev
```
Development chains:
@@ -94,7 +94,7 @@ similar to the following:
$ mkdir my-chain-state
// Use of that folder to store the chain state
$ ./target/release/solochain-template-node --dev --base-path ./my-chain-state/
$ ./target/release/pez-solochain-template-node --dev --base-path ./my-chain-state/
// Check the folder structure created inside the base path after running the chain
$ ls ./my-chain-state
@@ -153,7 +153,7 @@ following:
`development_config` and `testnet_genesis` functions. These functions are
used to define the genesis state for the local development chain
configuration. These functions identify some [well-known
accounts](https://docs.pezkuwichain.io/reference/command-line-tools/subkey/) and
accounts](https://docs.pezkuwichain.io/reference/command-line-tools/pez_subkey/) and
use them to configure the blockchain's initial state.
- [`service.rs`](./node/src/service.rs): This file defines the node
implementation. Take note of the libraries that this file imports and the