mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-09 12:17: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
@@ -228,11 +228,11 @@ decl_error! {
|
||||
decl_storage! {
|
||||
trait Store for Module<T: Trait> as Assets {
|
||||
/// The number of units of assets held by any given account.
|
||||
Balances: map (T::AssetId, T::AccountId) => T::Balance;
|
||||
Balances: map hasher(blake2_256) (T::AssetId, T::AccountId) => T::Balance;
|
||||
/// The next asset identifier up for grabs.
|
||||
NextAssetId get(fn next_asset_id): T::AssetId;
|
||||
/// The total unit supply of an asset.
|
||||
TotalSupply: map T::AssetId => T::Balance;
|
||||
TotalSupply: map hasher(blake2_256) T::AssetId => T::Balance;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user