mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 14:01:06 +00:00
Enumeratable dispatches using unhashed index in key. (#4278)
This commit is contained in:
@@ -283,7 +283,7 @@ decl_storage! {
|
||||
map ReferendumIndex => Option<(ReferendumInfo<T::BlockNumber, T::Hash>)>;
|
||||
/// Queue of successful referenda to be dispatched.
|
||||
pub DispatchQueue get(fn dispatch_queue):
|
||||
map T::BlockNumber => Vec<Option<(T::Hash, ReferendumIndex)>>;
|
||||
map hasher(twox_64_concat) T::BlockNumber => Vec<Option<(T::Hash, ReferendumIndex)>>;
|
||||
|
||||
/// Get the voters for the current proposal.
|
||||
pub VotersFor get(fn voters_for): map ReferendumIndex => Vec<T::AccountId>;
|
||||
|
||||
Reference in New Issue
Block a user