Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
amiyatulu committed Aug 27, 2024
1 parent f8b85b1 commit d5a4e5f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
.direnv

.vscode/settings.json

mychain-data
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ persist state:
./target/release/node-template --dev
```

Use base path

```
-d, --base-path <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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion custom-pallets/department-funding/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit d5a4e5f

Please sign in to comment.