Trait sp_version::GetRuntimeVersion [−][src]
Something that can provide the runtime version at a given block and the native runtime version.
Required methods
fn native_version(&self) -> &NativeVersion
[src]
Returns the version of the native runtime.
fn runtime_version(&self, at: &BlockId<Block>) -> Result<RuntimeVersion, String>
[src]
Returns the version of runtime at the given block.