1

I am getting this issue while running node using ./target/release/node-template --dev this command. I try to change GenesisConfig -> balance same as substrate example from here and add GenesisConfig -> staking like this in my node but I am getting issue. Someone please help what is wrong here.

enter image description here

code link

1 Answer 1

2

https://github.com/XcavateBlockchain/MarketplaceMVP_Substrate/blob/b4e1b56ac1a6757f79595d9fe291d5f3fd990798/node/src/chain_spec.rs#L63-L76

// Initial PoA authorities
vec![
    authority_keys_from_seed("Alice"),
    authority_keys_from_seed("Bob"),
    authority_keys_from_seed("Charlie"),
    authority_keys_from_seed("Dave"),
],
// Sudo account
get_account_id_from_seed::<sr25519::Public>("Alice"),
// Pre-funded accounts
vec![
    get_account_id_from_seed::<sr25519::Public>("Alice"),
    get_account_id_from_seed::<sr25519::Public>("Bob"),
],

You only funded Alice and Bob. Hence, Charlie and Dave don't have enough money to bond.


I'm very happy to answer your question. But maybe you should pay more patient with your code? You got a pretty clear code comment, you shouldn't miss it... :)

1
  • thank you I will try to follow what you are saying from now.
    – Ganesh11
    Jun 22, 2023 at 2:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.