Skip to main content

Questions tagged [chainspec]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
2 answers
431 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 ...
Luke Schoen's user avatar
  • 2,346
5 votes
1 answer
155 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 ...
Muhammed Rasheed's user avatar
6 votes
1 answer
120 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 ...
Luke Schoen's user avatar
  • 2,346
6 votes
2 answers
212 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?
Bruno's user avatar
  • 8,315
3 votes
2 answers
154 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 ...
Niels Vistisen's user avatar
2 votes
0 answers
67 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 ...
Syed Kamran's user avatar
2 votes
4 answers
403 views

Cannot produce and finalize blocks with 2 node peer

I want to connect 2 nodes via custom chain specification via Internet IP public https://docs.substrate.io/tutorials/get-started/trusted-network/ I. STEP 1: Create Aura and grandpa --- NODE 01---- ...
oscar's user avatar
  • 33
2 votes
0 answers
46 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 ...
Mojo's user avatar
  • 95
1 vote
2 answers
112 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 ...
go11li's user avatar
  • 1,241
0 votes
1 answer
48 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 ...
Drew Stone's user avatar
  • 1,194