10 #ifndef KAGOME_RUNTIME_RUNTIMEPROPERTIESCACHE 11 #define KAGOME_RUNTIME_RUNTIMEPROPERTIESCACHE 29 virtual outcome::result<primitives::Version>
getVersion(
31 std::function<outcome::result<primitives::Version>()> obtainer) = 0;
33 virtual outcome::result<primitives::OpaqueMetadata>
getMetadata(
35 std::function<outcome::result<primitives::OpaqueMetadata>()>
41 #endif // KAGOME_RUNTIME_RUNTIMEPROPERTIESCACHE
virtual ~RuntimePropertiesCache()=default
virtual outcome::result< primitives::Version > getVersion(const common::Hash256 &hash, std::function< outcome::result< primitives::Version >()> obtainer)=0
virtual outcome::result< primitives::OpaqueMetadata > getMetadata(const common::Hash256 &hash, std::function< outcome::result< primitives::OpaqueMetadata >()> obtainer)=0