diff --git a/javascript/packages/orchestrator/src/paras.ts b/javascript/packages/orchestrator/src/paras.ts index 1896e430a..d5e02e452 100644 --- a/javascript/packages/orchestrator/src/paras.ts +++ b/javascript/packages/orchestrator/src/paras.ts @@ -108,6 +108,11 @@ export async function generateParachainFiles( if (plainData.relay_chain) plainData.relay_chain = relayChainSpec.id; if (plainData.genesis.runtime?.parachainInfo?.parachainId) plainData.genesis.runtime.parachainInfo.parachainId = parachain.id; + else if ( + plainData.genesis.runtimeGenesisConfigPatch?.parachainInfo?.parachainId + ) + plainData.genesis.runtimeGenesisConfigPatch.parachainInfo.parachainId = + parachain.id; writeChainSpec(chainSpecFullPathPlain, plainData);