pub trait CliNodeComponents<N: CliNodeTypes> {
type Evm: ConfigureEvm<Primitives = N::Primitives> + 'static;
type Consensus: FullConsensus<N::Primitives, Error = ConsensusError> + Clone + 'static;
// Required methods
fn evm_config(&self) -> &Self::Evm;
fn consensus(&self) -> &Self::Consensus;
}
Expand description
Helper trait aggregating components required for the CLI.
Required Associated Types§
Required Methods§
Sourcefn evm_config(&self) -> &Self::Evm
fn evm_config(&self) -> &Self::Evm
Returns the configured EVM.