mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 22:47:56 +00:00
Stabilize seal_debug_message (#9550)
* Stableize `seal_debug_message` * Update changelog * Enable more tests * Cargo fmt
This commit is contained in:
committed by
GitHub
parent
91929c589f
commit
199b2883af
@@ -249,7 +249,8 @@ pub fn put_storage_value<T: Encode>(module: &[u8], item: &[u8], hash: &[u8], val
|
||||
frame_support::storage::unhashed::put(&key, &value);
|
||||
}
|
||||
|
||||
/// Remove all items under a storage prefix by the `module`, the map's `item` name and the key `hash`.
|
||||
/// Remove all items under a storage prefix by the `module`, the map's `item` name and the key
|
||||
/// `hash`.
|
||||
pub fn remove_storage_prefix(module: &[u8], item: &[u8], hash: &[u8]) {
|
||||
let mut key = vec![0u8; 32 + hash.len()];
|
||||
key[0..16].copy_from_slice(&Twox128::hash(module));
|
||||
|
||||
Reference in New Issue
Block a user