Trait reth_chainspec::ChainSpecProvider
source · pub trait ChainSpecProvider: Send + Sync {
type ChainSpec: EthChainSpec;
// Required method
fn chain_spec(&self) -> Arc<Self::ChainSpec>;
}
Expand description
A trait for reading the current ChainSpec
.
Required Associated Types§
sourcetype ChainSpec: EthChainSpec
type ChainSpec: EthChainSpec
The chain spec type.