Questions tagged [chainspec]
The chainspec tag has no usage guidance.
9
questions
6
votes
2
answers
363
views
How to overwrite endowed account balances using additional accounts and balances from a JSON file for genesis block inclusion?
My goal is to allocate a balance in the genesis block to both:
A list of endowed accounts already included in the chain specification
chain_spec.rs
A list of further accounts and balances included in ...
5
votes
1
answer
93
views
adding an account
I just want to simply add an account in the development config but have no idea how to do it, i tried simply adding the seed in the development_config function but it dosent work, what can i do to add ...
6
votes
1
answer
108
views
When are you required to change the `authoring_version` for forkless runtime upgrades?
In the Substrate documentation here and the Substrate reference documentation here it says the authoring_version "is the version of the authorship interface. An authoring node will not attempt to ...
6
votes
2
answers
189
views
What is `codeSubstitutes` in the chain spec?
I have seen mention of codeSubstitutes in the chain spec before.
What is this? And when is it applicable?
3
votes
2
answers
138
views
Is it possible to specify parachains in the Polkadot chain specification for local testing?
I noticed that the chain specification for Polkadot contains a paras field that is empty. I have not been able to find any documentation on what it is used for or if I can specify parachains there to ...
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 ...
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 ...
1
vote
2
answers
88
views
Can't able to peer two different node on different computers
We wan't to run multiple node on multiple devices. We use substrate-node-template to do that. We build the project using cargo build --release and follow this Add trusted node tutorial. We were able ...
0
votes
1
answer
36
views
Newer nodes unable to execute genesis chainspec, "unknown field `phantom`"
We've been running a testnet and have executed a number of runtime upgrades. We've also upgraded the node across a variety of changes. New validators are trying to join the network and yet they cannot ...