Trait sp_version::GetRuntimeVersionAt
source · pub trait GetRuntimeVersionAt<Block: BlockT> {
// Required method
fn runtime_version(
&self,
at: &BlockId<Block>
) -> Result<RuntimeVersion, String>;
}
Expand description
Something that can provide the runtime version at a given block.
Required Methods§
sourcefn runtime_version(&self, at: &BlockId<Block>) -> Result<RuntimeVersion, String>
fn runtime_version(&self, at: &BlockId<Block>) -> Result<RuntimeVersion, String>
Returns the version of runtime at the given block.