mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-29 07:57:24 +00:00
Switch srml-session keys to decl_storage! (#3184)
* Switch `srml-session` keys to `decl_storage!` * Expose `DEDUP_KEY_PREFIX` in constants * Fix test * Bump spec version
This commit is contained in:
committed by
Gavin Wood
parent
c8dab27f35
commit
5d58d583e3
@@ -34,8 +34,8 @@ use sr_std::borrow::Borrow;
|
||||
///
|
||||
/// Hasher are implemented in derive_key* methods.
|
||||
pub trait StorageDoubleMapWithHasher {
|
||||
type Key1: Codec;
|
||||
type Key2: Codec;
|
||||
type Key1: Encode;
|
||||
type Key2: Encode;
|
||||
type Value: Codec + Default;
|
||||
|
||||
const PREFIX: &'static [u8];
|
||||
|
||||
Reference in New Issue
Block a user