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
+3 -3
View File
@@ -65,9 +65,9 @@ use sc_rpc_api::state::StateClient;
/// decl_storage! {
/// trait Store for Module<T: Trait> as TestRuntime {
/// pub LastActionId: u64;
/// pub Voxels: map Loc => Block;
/// pub Actions: linked_map u64 => Loc;
/// pub Prefab: double_map u128, (i8, i8, i8) => Block;
/// pub Voxels: map hasher(blake2_256) Loc => Block;
/// pub Actions: linked_map hasher(blake2_256) u64 => Loc;
/// pub Prefab: double_map hasher(blake2_256) u128, hasher(blake2_256) (i8, i8, i8) => Block;
/// }
/// }
///