Questions tagged [chainspec]
The chainspec tag has no usage guidance.
11
questions with no upvoted or accepted answers
3
votes
1
answer
60
views
Building plain chain spec yields raw output
The command substrate build-spec > plain-chain-spec.json used to generate a human readable version of the chain spec in json. To create the more stable machine friendly version of that chain spec ...
3
votes
1
answer
43
views
create a dev chainspec with specific test users
I'd like to use the Polkadot CLI to create a chainspec with specific user balances pre-seeded. I'd like to be able to do this for any of the dev runtimes.
In the case of the polkadot dev runtime, I ...
2
votes
0
answers
32
views
Cant produce new blocks with custom ChainSpec file
I was using substrate version of 4.0.0-dev-41ad4a6c9d7 and following the Add Trusted Nodes for making a custom account as a Authorites account
here, I can't able to produce new blocks, I don't know ...
2
votes
0
answers
42
views
Having trouble with the `ChainSpec` Type
I've updated the ChainSpec type from:
pub type ChainSpec = sc_service::GenericChainSpec<GenesisConfig, Extensions>;
to
pub type ChainSpec = sc_service::GenericChainSpec<Result<...
2
votes
0
answers
62
views
Export-State produces wrong collators hex
I am experimenting with the export state command. For now I am testing it on my local machine. So, for this purpose, I spin up polkadot relay chain with two validators and connect one collator of my ...
1
vote
1
answer
35
views
Does export-state produces a random collator address?
While running export-state command against my parachain, I observed that the resultant raw parachain specs has a diffirent collator address as compared to the original one.
Does the export-sate ...
1
vote
1
answer
70
views
How to start a GRANDPA blockchain without any initial voters?
I've tried modifying the repository so initial voters for the grandpa pallet. In doing so, I noticed there are many checks to prevent that modification.
The reason why we do not want any initial ...
1
vote
0
answers
41
views
How do I use the Forks feature of the `ChainSpecExtension`?
I've read the rustdocs about ChainSpecExtensions. For example https://paritytech.github.io/substrate/master/sc_service/trait.ChainSpecExtension.html and also several related pages that you can find by ...
1
vote
1
answer
91
views
Change session keys in new chain spec
Chain spec primary_chain is defined under node/src/chain_spec.rs
Steps to reproduce:
generate default chain spec for primary_chain
./collator build-spec --chain primary_chain > spec.json
Edit ...
1
vote
0
answers
101
views
How to include evm chain decimals?
I tried frontier-node-template it's working fine with substrate part but showing less balance in metamask.
I used chainid and RPC it's showing 20 TEST instead of 20M Tokens
What's i am missing? How to ...
0
votes
0
answers
57
views
How to debug chain_spec.rs?
I was trying to have a close look at how chain_spec.rs was constructed, and wanted to output to the console for debugging purposes, but was having some trouble executing print and log::info. So, I ...