sc_chain_spec

Function resolve_state_version_from_wasm

source
pub fn resolve_state_version_from_wasm<E, H>(
    storage: &Storage,
    executor: &E,
) -> Result<StateVersion>
where E: RuntimeVersionOf, H: HashT,
Expand description

Return the state version given the genesis storage and executor.