Remove default hasher (#4739)

* remove default hasher from decl_storage!

* fix decl_storage declarations
This commit is contained in:
thiolliere
2020-01-27 18:23:10 +01:00
committed by Gavin Wood
parent 38a01f3c65
commit 76acc96f3a
35 changed files with 193 additions and 141 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ decl_storage! {
CurrentSetId get(fn current_set_id) build(|_| fg_primitives::SetId::default()): SetId;
/// A mapping from grandpa set ID to the index of the *most recent* session for which its members were responsible.
SetIdSession get(fn session_for_set): map SetId => Option<SessionIndex>;
SetIdSession get(fn session_for_set): map hasher(blake2_256) SetId => Option<SessionIndex>;
}
add_extra_genesis {
config(authorities): AuthorityList;