Definition at line 26 of file core_api_factory_impl.cpp.
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 48 of file core_api_factory_impl.cpp.
gsl::span<const uint8_t> kagome::runtime::wavm::OneModuleRepository::code_ |
|
private |
const common::Hash256 kagome::runtime::wavm::OneModuleRepository::code_hash_ |
|
private |
std::shared_ptr<CompartmentWrapper> kagome::runtime::wavm::OneModuleRepository::compartment_ |
|
private |
std::shared_ptr<ModuleInstance> kagome::runtime::wavm::OneModuleRepository::instance_ |
|
private |
std::shared_ptr<IntrinsicModule> kagome::runtime::wavm::OneModuleRepository::intrinsic_module_ |
|
private |
std::shared_ptr<SingleModuleCache> kagome::runtime::wavm::OneModuleRepository::last_compiled_module_ |
|
private |
std::shared_ptr<ModuleParams> kagome::runtime::wavm::OneModuleRepository::module_params_ |
|
private |
The documentation for this class was generated from the following file: