Trait sp_version::GetRuntimeVersionAt [−][src]
pub trait GetRuntimeVersionAt<Block: BlockT> { 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
fn 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.
Implementations on Foreign Types
Implementors
impl<Block, B, E> GetRuntimeVersionAt<Block> for LocalCallExecutor<Block, B, E> where
B: Backend<Block>,
E: CodeExecutor + RuntimeVersionOf + Clone + 'static,
Block: BlockT,
impl<Block, B, E> GetRuntimeVersionAt<Block> for LocalCallExecutor<Block, B, E> where
B: Backend<Block>,
E: CodeExecutor + RuntimeVersionOf + Clone + 'static,
Block: BlockT,