You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Create new runtime folder devnet
Set spec_name for devnet
set impl_name for devnet
set Cargo.toml name for devnet
Create new runtime folder mainnet
Set spec_name for mainnet
set impl_name for mainnet
set Cargo.toml name for mainnet
Create new runtime folder common
Update command.rs and chain_spec.rs to include devnet and mainnet
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.
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.
devnet
mainnet
common
RuntimeResolver
to client to choose between devnet and mainnet- Watr-Protocol/watr@b285217
- Watr-Protocol/watr@ce31560
The text was updated successfully, but these errors were encountered: