mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-04 09:51:07 +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
@@ -163,9 +163,9 @@ pub trait Trait: frame_system::Trait + pallet_timestamp::Trait {
|
||||
|
||||
decl_storage! {
|
||||
trait Store for Module<T: Trait> as Example {
|
||||
Accounts get(fn accounts) config(): map H160 => Account;
|
||||
AccountCodes: map H160 => Vec<u8>;
|
||||
AccountStorages: double_map H160, H256 => H256;
|
||||
Accounts get(fn accounts) config(): map hasher(blake2_256) H160 => Account;
|
||||
AccountCodes: map hasher(blake2_256) H160 => Vec<u8>;
|
||||
AccountStorages: double_map hasher(blake2_256) H160, hasher(blake2_256) H256 => H256;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user