-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Description
I copied and pasted the pallets/charity into another node in order to use it and I was having this issue:
elioprifti@Elios-MacBook-Air substrate-node-template % cargo run -- --dev --tmp
warning: /Users/elioprifti/substrate-node-template/Cargo.toml: unused manifest key: workspace.librocksdb-sys
Compiling node-template v3.0.0 (/Users/elioprifti/substrate-node-template/node)
error[E0063]: missing field `charity` in initializer of `GenesisConfig`
--> node/src/chain_spec.rs:136:2
|
136 | GenesisConfig {
| ^^^^^^^^^^^^^ missing `charity`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0063`.
error: could not compile `node-template`
To learn more, run the command again with --verbose.
elioprifti@Elios-MacBook-Air substrate-node-template %
I had to add this charity: Some(Default::default()), line of code inside GenesisConfig brackets to make charity pallet working.
I think we should include information in recipes documentation that some pallets need to be initialized from Genesis.
Reply to this issue with some hints and let me create a PR for this missing information.
Thank you!
@JoshOrndorff
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels