mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-01 08:29:49 +00:00
InMemoryBackend: Make it generic over the key hasher (#11488)
* InMemoryBackend: Make it generic over the key hasher * Update primitives/state-machine/src/in_memory_backend.rs Co-authored-by: cheme <emericchevalier.pro@gmail.com> * Update primitives/state-machine/src/in_memory_backend.rs Co-authored-by: cheme <emericchevalier.pro@gmail.com> * FMT Co-authored-by: cheme <emericchevalier.pro@gmail.com>
This commit is contained in:
1 parent
87de1e7e0d
commit
dcb8a8504e
4 files changed
+47
-26
No files matched your search
@@ -31,9 +31,8 @@ pub use error::Error;
|
||||
/// Various re-exports from the `hash-db` crate.
|
||||
pub use hash_db::{HashDB as HashDBT, EMPTY_PREFIX};
|
||||
use hash_db::{Hasher, Prefix};
|
||||
pub use memory_db::prefixed_key;
|
||||
/// Various re-exports from the `memory-db` crate.
|
||||
pub use memory_db::KeyFunction;
|
||||
pub use memory_db::{prefixed_key, HashKey, KeyFunction, PrefixedKey};
|
||||
/// The Substrate format implementation of `NodeCodec`.
|
||||
pub use node_codec::NodeCodec;
|
||||
use sp_std::{borrow::Borrow, boxed::Box, marker::PhantomData, vec::Vec};
|
||||
|
||||
Reference in new issue
Block a user