mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 03:31:05 +00:00
Remove default hasher (#4739)
* remove default hasher from decl_storage! * fix decl_storage declarations
This commit is contained in:
@@ -414,7 +414,8 @@ decl_storage! {
|
||||
|
||||
/// The set of suspended candidates.
|
||||
pub SuspendedCandidates get(suspended_candidate):
|
||||
map T::AccountId => Option<(BalanceOf<T, I>, BidKind<T::AccountId, BalanceOf<T, I>>)>;
|
||||
map hasher(blake2_256) T::AccountId
|
||||
=> Option<(BalanceOf<T, I>, BidKind<T::AccountId, BalanceOf<T, I>>)>;
|
||||
|
||||
/// Amount of our account balance that is specifically for the next round's bid(s).
|
||||
pub Pot get(fn pot) config(): BalanceOf<T, I>;
|
||||
@@ -431,19 +432,19 @@ decl_storage! {
|
||||
}): Vec<T::AccountId>;
|
||||
|
||||
/// The set of suspended members.
|
||||
pub SuspendedMembers get(fn suspended_member): map T::AccountId => bool;
|
||||
pub SuspendedMembers get(fn suspended_member): map hasher(blake2_256) T::AccountId => bool;
|
||||
|
||||
/// The current bids, stored ordered by the value of the bid.
|
||||
Bids: Vec<Bid<T::AccountId, BalanceOf<T, I>>>;
|
||||
|
||||
/// Members currently vouching or banned from vouching again
|
||||
Vouching get(fn vouching): map T::AccountId => Option<VouchingStatus>;
|
||||
Vouching get(fn vouching): map hasher(blake2_256) T::AccountId => Option<VouchingStatus>;
|
||||
|
||||
/// Pending payouts; ordered by block number, with the amount that should be paid out.
|
||||
Payouts: map T::AccountId => Vec<(T::BlockNumber, BalanceOf<T, I>)>;
|
||||
Payouts: map hasher(blake2_256) T::AccountId => Vec<(T::BlockNumber, BalanceOf<T, I>)>;
|
||||
|
||||
/// The ongoing number of losing votes cast by the member.
|
||||
Strikes: map T::AccountId => StrikeCount;
|
||||
Strikes: map hasher(blake2_256) T::AccountId => StrikeCount;
|
||||
|
||||
/// Double map from Candidate -> Voter -> (Maybe) Vote.
|
||||
Votes: double_map
|
||||
|
||||
Reference in New Issue
Block a user