pub trait ChainSpecProvider: Debug + Send {
type ChainSpec: EthChainSpec + 'static;
// Required method
fn chain_spec(&self) -> Arc<Self::ChainSpec> ⓘ;
}Expand description
A trait for reading the current chainspec.
Required Associated Types§
Sourcetype ChainSpec: EthChainSpec + 'static
type ChainSpec: EthChainSpec + 'static
The chain spec type.