pub trait GetRuntimeVersion<Block: BlockT> {
    fn native_version(&self) -> &NativeVersion;
fn runtime_version(
        &self,
        at: &BlockId<Block>
    ) -> Result<RuntimeVersion, String>; }
Expand description

Something that can provide the runtime version at a given block and the native runtime version.

Required methods

Returns the version of the native runtime.

Returns the version of runtime at the given block.

Implementations on Foreign Types

Implementors