Allow empty values in the storage (#6364)

* Allow empty values in the storage

* Bump trie-bench

* Bump trie-bench
This commit is contained in:
Arkadiy Paronyan authored and GitHub committed 2020-06-18 09:36:52 +02:00
1 parent a43a755a91
commit f05ae63afa
8 files changed
+53 -16

No files matched your search

+1
View File
@@ -51,6 +51,7 @@ pub struct Layout<H>(sp_std::marker::PhantomData<H>);
impl<H: Hasher> TrieLayout for Layout<H> {
const USE_EXTENSION: bool = false;
const ALLOW_EMPTY: bool = true;
type Hash = H;
type Codec = NodeCodec<Self::Hash>;
}