diff --git a/.gitignore b/.gitignore index 965d3e6..a99b811 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ .direnv .vscode/settings.json + +mychain-data diff --git a/README.md b/README.md index 0c8dd45..be0c6ce 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,18 @@ persist state: ./target/release/node-template --dev ``` +Use base path + +``` +-d, --base-path + Specify custom base path +``` + +```bash +./target/release/node-template -d mychain-data --dev +``` + + To purge the development chain's state, run the following command: ```sh @@ -118,6 +130,9 @@ $ ls ./my-chain-state/chains/dev db keystore network ``` + + + ### Connect with Polkadot-JS Apps Front-End After you start the node template locally, you can interact with it using the diff --git a/custom-pallets/department-funding/src/lib.rs b/custom-pallets/department-funding/src/lib.rs index c8d1735..b385312 100644 --- a/custom-pallets/department-funding/src/lib.rs +++ b/custom-pallets/department-funding/src/lib.rs @@ -653,7 +653,7 @@ pub mod pallet { let fund_needed = departmentrequiredfund.funding_needed; let released = departmentrequiredfund.released; let department_id = departmentrequiredfund.department_id; - println!("Released: {}", released); + // println!("Released: {}", released); let creator = departmentrequiredfund.creator.clone(); let mut total_funding =