pub trait Group: Clone + Sized { type Fork: Fork<Base = Self>; fn to_fork(self) -> Self::Fork; }
A ChainSpec extension.
ChainSpec
This trait is implemented automatically by ChainSpecGroup macro.
ChainSpecGroup
An associated type containing fork definition.
Convert to fork type.