Remove default hasher (#4739)

* remove default hasher from decl_storage!

* fix decl_storage declarations
This commit is contained in:
thiolliere authored and Gavin Wood committed 2020-01-27 18:23:10 +01:00
1 parent 38a01f3c65
commit 76acc96f3a
35 files changed
+193 -141

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ decl_module! {
decl_storage! {
trait Store for Module<T: Trait> as TestRuntime {
ExtrinsicData: map u32 => Vec<u8>;
ExtrinsicData: map hasher(blake2_256) u32 => Vec<u8>;
// The current block number being processed. Set by `execute_block`.
Number get(fn number): Option<BlockNumber>;
ParentHash get(fn parent_hash): Hash;