Definition at line 19 of file core_api_factory_impl.cpp.
kagome::runtime::binaryen::OneModuleRepository::OneModuleRepository |
( |
const std::vector< uint8_t > & |
code, |
|
|
std::shared_ptr< const InstanceEnvironmentFactory > |
env_factory, |
|
|
const common::Hash256 & |
code_hash |
|
) |
| |
|
inline |
Returns a module instance for runtime at the.
- block state, loading its code using the provided
- code_provider
- Parameters
-
code_provider | the code provider used to extract the runtime code from the given block |
block | info of the block at which the runtime code should be extracted |
header | of the block at which the runtime code should be extracted |
Implements kagome::runtime::ModuleRepository.
Definition at line 31 of file core_api_factory_impl.cpp.
const std::vector<uint8_t>& kagome::runtime::binaryen::OneModuleRepository::code_ |
|
private |
const common::Hash256 kagome::runtime::binaryen::OneModuleRepository::code_hash_ |
|
private |
std::shared_ptr<ModuleInstance> kagome::runtime::binaryen::OneModuleRepository::instance_ |
|
private |
The documentation for this class was generated from the following file: