mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
Make parameter types implementation more flexible (#3112)
* Make parameter types implementation more flexible * Bump `impl_version`
This commit is contained in:
committed by
Gavin Wood
parent
9ee79d5c5e
commit
c42d73d302
@@ -1369,16 +1369,9 @@ mod tests {
|
||||
assert_eq!(Elections::next_vote_from(4), 4);
|
||||
assert_eq!(Elections::next_vote_from(5), 8);
|
||||
assert_eq!(Elections::vote_index(), 0);
|
||||
assert_eq!(<Test as Trait>::CandidacyBond::get(), 3);
|
||||
assert_eq!(<Test as Trait>::VotingBond::get(), 0);
|
||||
assert_eq!(<Test as Trait>::VotingFee::get(), 0);
|
||||
assert_eq!(<Test as Trait>::PresentSlashPerVoter::get(), 1);
|
||||
assert_eq!(Elections::presentation_duration(), 2);
|
||||
assert_eq!(<Test as Trait>::InactiveGracePeriod::get(), 1);
|
||||
assert_eq!(<Test as Trait>::VotingPeriod::get(), 4);
|
||||
assert_eq!(Elections::term_duration(), 5);
|
||||
assert_eq!(Elections::desired_seats(), 2);
|
||||
assert_eq!(<Test as Trait>::CarryCount::get(), 2);
|
||||
|
||||
assert_eq!(Elections::members(), vec![]);
|
||||
assert_eq!(Elections::next_tally(), Some(4));
|
||||
|
||||
Reference in New Issue
Block a user