diff --git a/substrate/srml/elections/src/lib.rs b/substrate/srml/elections/src/lib.rs index 0f2bf3df12..9960ef22b7 100644 --- a/substrate/srml/elections/src/lib.rs +++ b/substrate/srml/elections/src/lib.rs @@ -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() = default; /// Set candidate approvals. Approval slots stay valid as long as candidates in those slots