6 #ifndef KAGOME_STORAGE_POLKADOT_TRIE_SERIALIZER 7 #define KAGOME_STORAGE_POLKADOT_TRIE_SERIALIZER 37 virtual outcome::result<std::shared_ptr<PolkadotTrie>>
retrieveTrie(
43 #endif // KAGOME_STORAGE_POLKADOT_TRIE_SERIALIZER Class represents arbitrary (including empty) byte buffer.
virtual outcome::result< RootHash > storeTrie(PolkadotTrie &trie)=0
virtual RootHash getEmptyRootHash() const =0
virtual ~TrieSerializer()=default
virtual outcome::result< std::shared_ptr< PolkadotTrie > > retrieveTrie(const common::Buffer &db_key) const =0