Trait substrate_test_runtime_client::sc_executor::RuntimeVersionOf [−][src]
pub trait RuntimeVersionOf { fn runtime_version(
&self,
ext: &mut dyn Externalities,
runtime_code: &RuntimeCode<'_>
) -> Result<RuntimeVersion, Error>; }
Expand description
Extracts the runtime version of a given runtime code.
Required methods
fn runtime_version(
&self,
ext: &mut dyn Externalities,
runtime_code: &RuntimeCode<'_>
) -> Result<RuntimeVersion, Error>
fn runtime_version(
&self,
ext: &mut dyn Externalities,
runtime_code: &RuntimeCode<'_>
) -> Result<RuntimeVersion, Error>
Extract RuntimeVersion
of the given runtime_code
.