Skip to main content

Questions tagged [chainspec]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
2 answers

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 A list of further accounts and balances included in ...
Luke Schoen's user avatar
  • 2,346
5 votes
1 answer

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 ...
Muhammed Rasheed's user avatar
6 votes
1 answer

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 ...
Luke Schoen's user avatar
  • 2,346
6 votes
2 answers

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?
Bruno's user avatar
  • 8,315
3 votes
2 answers

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 ...
Niels Vistisen's user avatar
2 votes
0 answers

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 ...
Syed Kamran's user avatar
2 votes
4 answers

Cannot produce and finalize blocks with 2 node peer

I want to connect 2 nodes via custom chain specification via Internet IP public I. STEP 1: Create Aura and grandpa --- NODE 01---- ...
oscar's user avatar
  • 33
2 votes
0 answers

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 ...
Mojo's user avatar
  • 95
1 vote
2 answers

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 ...
go11li's user avatar
  • 1,241
0 votes
1 answer

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 ...
Drew Stone's user avatar
  • 1,194