mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Export VOTER_SET_SIZE and APPROVAL_SET_SIZE in srml elections (#3173)
* Export `VOTER_SET_SIZE` and `APPROVAL_SET_SIZE` in srml elections * Fix compilation
This commit is contained in:
@@ -300,6 +300,11 @@ decl_module! {
|
||||
/// approval voting). A reasonable default value is 24.
|
||||
const DecayRatio: u32 = T::DecayRatio::get();
|
||||
|
||||
/// The chunk size of the voter vector.
|
||||
const VOTER_SET_SIZE: u32 = VOTER_SET_SIZE as u32;
|
||||
/// The chunk size of the approval vector.
|
||||
const APPROVAL_SET_SIZE: u32 = APPROVAL_SET_SIZE as u32;
|
||||
|
||||
fn deposit_event<T>() = default;
|
||||
|
||||
/// Set candidate approvals. Approval slots stay valid as long as candidates in those slots
|
||||
|
||||
Reference in New Issue
Block a user