mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 14:35:40 +00:00
Allow empty values in the storage (#6364)
* Allow empty values in the storage * Bump trie-bench * Bump trie-bench
This commit is contained in:
@@ -20,13 +20,13 @@ harness = false
|
||||
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false }
|
||||
sp-std = { version = "2.0.0-rc3", default-features = false, path = "../std" }
|
||||
hash-db = { version = "0.15.2", default-features = false }
|
||||
trie-db = { version = "0.20.1", default-features = false }
|
||||
trie-db = { version = "0.21.0", default-features = false }
|
||||
trie-root = { version = "0.16.0", default-features = false }
|
||||
memory-db = { version = "0.20.0", default-features = false }
|
||||
memory-db = { version = "0.21.0", default-features = false }
|
||||
sp-core = { version = "2.0.0-rc3", default-features = false, path = "../core" }
|
||||
|
||||
[dev-dependencies]
|
||||
trie-bench = "0.21.0"
|
||||
trie-bench = "0.22.0"
|
||||
trie-standardmap = "0.15.2"
|
||||
criterion = "0.2.11"
|
||||
hex-literal = "0.2.1"
|
||||
|
||||
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user