config: Handle hasher and header

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
Alexandru Vasile
2024-05-08 08:34:52 +00:00
parent a1434a9764
commit 609b701d4d
4 changed files with 125 additions and 8 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
//! ```
mod storage_key;
mod utils;
pub mod utils;
pub mod address;
+2 -1
View File
@@ -11,7 +11,8 @@ use crate::error::{Error, MetadataError};
use crate::metadata::Metadata;
use alloc::borrow::ToOwned;
use alloc::vec::Vec;
use subxt_metadata::{PalletMetadata, StorageEntryMetadata, StorageHasher};
pub use subxt_metadata::StorageHasher;
use subxt_metadata::{PalletMetadata, StorageEntryMetadata};
/// Return the root of a given [`Address`]: hash the pallet name and entry name
/// and append those bytes to the output.