pub trait RuntimeVersionOf {
    fn runtime_version(
        &self,
        ext: &mut dyn Externalities,
        runtime_code: &RuntimeCode<'_>
    ) -> Result<RuntimeVersion>; }
Expand description

Extracts the runtime version of a given runtime code.

Required Methods§

Extract RuntimeVersion of the given runtime_code.

Implementors§

impl<B, E, Block> RuntimeVersionOf for LocalCallExecutor<Block, B, E>where
    E: RuntimeVersionOf,
    Block: BlockT,