paritytech / extended-parachain-template

Node template to build parachains with all the required pallets. Slightly opinionated based on what majority of parachain teams are using.
The Unlicense
27 stars 19 forks source link

Separate Devnet and Mainnet #10

Closed peterwht closed 11 months ago

peterwht commented 1 year ago

Most parachains will have separate runtimes for Devnet and Mainnet. This template should come prebuilt with this separation to reduce friction for new parachain teams.

weezy20 commented 1 year ago

Is a #[cfg(feature)] gated solution out of the question? Has anyone tried it before? I am experimenting with it (having two runtimes as two crates) but I find some annoyances like both runtimes are being compiled even if I pass in feature flags to compile just one of them.

weezy20 commented 1 year ago

Implemented in ~#30~ #44

stiiifff commented 11 months ago

Closed by #44