construct_runtime!: Support parsing struct Runtime (#11932)

* construct_runtime!: Support parsing `struct Runtime`

* FMT
This commit is contained in:
Bastian Köcher
2022-07-29 10:22:49 +01:00
committed by GitHub
parent c4b607d4c9
commit 4b3aced87e
3 changed files with 12 additions and 4 deletions
@@ -272,10 +272,11 @@ impl pallet_template::Config for Runtime {
// Create the runtime by composing the FRAME pallets that were previously configured.
construct_runtime!(
pub enum Runtime where
pub struct Runtime
where
Block = Block,
NodeBlock = opaque::Block,
UncheckedExtrinsic = UncheckedExtrinsic
UncheckedExtrinsic = UncheckedExtrinsic,
{
System: frame_system,
RandomnessCollectiveFlip: pallet_randomness_collective_flip,