6 #ifndef KAGOME_RUNTIME_IMPL_CORE_HPP 7 #define KAGOME_RUNTIME_IMPL_CORE_HPP 13 class BlockHeaderRepository;
23 std::shared_ptr<Executor> executor,
24 std::shared_ptr<storage::changes_trie::ChangesTracker> changes_tracker,
25 std::shared_ptr<const blockchain::BlockHeaderRepository> header_repo);
27 outcome::result<primitives::Version>
version(
30 outcome::result<primitives::Version>
version()
override;
32 outcome::result<void> execute_block(
35 outcome::result<storage::trie::RootHash> initialize_block(
41 std::shared_ptr<const blockchain::BlockHeaderRepository>
header_repo_;
46 #endif // KAGOME_RUNTIME_IMPL_CORE_HPP Block class represents polkadot block primitive.
std::shared_ptr< storage::changes_trie::ChangesTracker > changes_tracker_
std::shared_ptr< Executor > executor_
std::shared_ptr< const blockchain::BlockHeaderRepository > header_repo_