Closed shawntabrizi closed 2 months ago
Perhaps the solution is to add some additional fields to chain-spec-builder
allowing us to inject these fields. It seems with relay_chain
and para_id
, the chain will run and build blocks.
If so, I am open to taking on this issue.
Yes that is a bit annoying currently, but probably soon fixed!
This is a duplicate of https://github.com/paritytech/polkadot-sdk/issues/4873 There is a fix in the works: https://github.com/paritytech/polkadot-sdk/pull/4889
Hey @shawntabrizi / @skunert, just a small note here. Currently we are not using the chain-spec-builder
as part of zombienet and we will need to integrate in the existing flow. I can work on that (and fill the missing fields internally) or wait for #4889 (with the missing fields issue resolved).
Thanks!
Shall be fixed now in: https://github.com/paritytech/polkadot-sdk/pull/4889
great, ill give it a try soon in my scenarios
How can you use
chain-spec-builder
to compose a chain spec for a parachain compatible with a relay chain / zombienet.For example, end to end scenario for the Polkadot SDK Parachain Template:
We get the error:
So it is missing fields. Also the
para_id
field.When looking at the
polkadot-sdk
repo, it seems that thisrelay_chain
field is getting injected via shell scripts.... is this the expectation of what we should do?