6 #ifndef KAGOME_CORE_RUNTIME_BINARYEN_MODULE_MODULE_FACTORY_IMPL_HPP 7 #define KAGOME_CORE_RUNTIME_BINARYEN_MODULE_MODULE_FACTORY_IMPL_HPP 12 class TrieStorageProvider;
28 class BlockHeaderRepository;
37 class InstanceEnvironmentFactory;
42 std::shared_ptr<storage::trie::TrieStorage> storage,
43 std::shared_ptr<crypto::Hasher> hasher);
45 outcome::result<std::unique_ptr<Module>> make(
46 gsl::span<const uint8_t> code)
const override;
50 std::shared_ptr<storage::trie::TrieStorage>
storage_;
56 #endif // KAGOME_CORE_RUNTIME_BINARYEN_MODULE_MODULE_FACTORY_IMPL_HPP
std::shared_ptr< InstanceEnvironmentFactory > env_factory_
std::shared_ptr< storage::trie::TrieStorage > storage_
std::shared_ptr< crypto::Hasher > hasher_