Only one ParaId variable in the Parachain Template (#6744)
Many problems can occur when building and testing a Parachain caused by misconfiguring the paraid. This can happen when there are 3 different places you need to update! This PR makes it so a SINGLE location is the source of truth for the ParaId.
Showing
- templates/parachain/node/src/chain_spec.rs 4 additions, 10 deletionstemplates/parachain/node/src/chain_spec.rs
- templates/parachain/runtime/src/genesis_config_presets.rs 2 additions, 2 deletionstemplates/parachain/runtime/src/genesis_config_presets.rs
- templates/parachain/runtime/src/lib.rs 1 addition, 0 deletionstemplates/parachain/runtime/src/lib.rs
Please register or sign in to comment