mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-15 15:17:07 +00:00
Fix tests.
This commit is contained in:
1 parent
c29313c618
commit
262dd7bc55
3 files changed
+103
-9
No files matched your search
@@ -9,6 +9,8 @@ pub trait Storable {
|
||||
fn store(&self, key: &[u8]);
|
||||
}
|
||||
|
||||
// TODO: consider using blake256 to avoid possible eclipse attack.
|
||||
|
||||
pub fn kill(key: &[u8]) { runtime_support::set_storage(&twox_128(key)[..], b""); }
|
||||
|
||||
impl<T: Default + Sized + EndianSensitive> Storable for T {
|
||||
|
||||
Reference in new issue
Block a user