6 #ifndef KAGOME_CORE_RUNTIME_BINARYEN_INSTANCE_ENVIRONMENT_FACTORY_HPP 7 #define KAGOME_CORE_RUNTIME_BINARYEN_INSTANCE_ENVIRONMENT_FACTORY_HPP 25 class BlockHeaderRepository;
29 class RuntimePropertiesCache;
34 class RuntimeExternalInterface;
38 std::shared_ptr<RuntimeExternalInterface>
rei;
42 :
public std::enable_shared_from_this<InstanceEnvironmentFactory> {
45 std::shared_ptr<storage::trie::TrieStorage> storage,
46 std::shared_ptr<storage::trie::TrieSerializer> serializer,
47 std::shared_ptr<host_api::HostApiFactory> host_api_factory,
48 std::shared_ptr<blockchain::BlockHeaderRepository> block_header_repo,
49 std::shared_ptr<storage::changes_trie::ChangesTracker> changes_tracker,
50 std::shared_ptr<RuntimePropertiesCache> cache);
55 std::shared_ptr<storage::trie::TrieStorage>
storage_;
60 std::shared_ptr<RuntimePropertiesCache>
cache_;
65 #endif // KAGOME_CORE_RUNTIME_BINARYEN_INSTANCE_ENVIRONMENT_FACTORY_HPP
std::shared_ptr< RuntimeExternalInterface > rei
std::shared_ptr< RuntimePropertiesCache > cache_
std::shared_ptr< blockchain::BlockHeaderRepository > block_header_repo_
std::shared_ptr< storage::changes_trie::ChangesTracker > changes_tracker_
std::shared_ptr< storage::trie::TrieStorage > storage_
std::shared_ptr< storage::trie::TrieSerializer > serializer_
std::shared_ptr< host_api::HostApiFactory > host_api_factory_