Trait sc_chain_spec::Group

source ·
pub trait Group: Clone + Sized {
    type Fork: Fork<Base = Self>;

    fn to_fork(self) -> Self::Fork;
}
Expand description

A ChainSpec extension.

This trait is implemented automatically by ChainSpecGroup macro.

Required Associated Types§

An associated type containing fork definition.

Required Methods§

Convert to fork type.

Implementations on Foreign Types§

Implementors§