mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-01 23:07:05 +00:00
Remove default hasher (#4739)
* remove default hasher from decl_storage! * fix decl_storage declarations
This commit is contained in:
1 parent
38a01f3c65
commit
76acc96f3a
35 files changed
+193
-141
No files matched your search
@@ -233,12 +233,14 @@ decl_storage! {
|
||||
|
||||
/// For each session index, we keep a mapping of `AuthIndex`
|
||||
/// to `offchain::OpaqueNetworkState`.
|
||||
ReceivedHeartbeats get(fn received_heartbeats): double_map SessionIndex, AuthIndex
|
||||
ReceivedHeartbeats get(fn received_heartbeats):
|
||||
double_map hasher(blake2_256) SessionIndex, hasher(blake2_256) AuthIndex
|
||||
=> Option<Vec<u8>>;
|
||||
|
||||
/// For each session index, we keep a mapping of `T::ValidatorId` to the
|
||||
/// number of blocks authored by the given authority.
|
||||
AuthoredBlocks get(fn authored_blocks): double_map SessionIndex, T::ValidatorId => u32;
|
||||
AuthoredBlocks get(fn authored_blocks):
|
||||
double_map hasher(blake2_256) SessionIndex, hasher(blake2_256) T::ValidatorId => u32;
|
||||
}
|
||||
add_extra_genesis {
|
||||
config(keys): Vec<T::AuthorityId>;
|
||||
|
||||
Reference in new issue
Block a user