Timeout only if the referendum is not queued (#14106)

* Timeout only if the referendum is not queued

* ".git/.scripts/commands/fmt/fmt.sh"

---------

Co-authored-by: command-bot <>
This commit is contained in:
Gavin Wood
2023-05-10 10:41:46 +01:00
committed by GitHub
parent 8f6445fb8e
commit bc39bdcb32
2 changed files with 16 additions and 6 deletions
+2
View File
@@ -190,6 +190,8 @@ fn queueing_works() {
set_balance_proposal_bounded(i),
DispatchTime::After(0),
));
}
for i in [1, 2, 4] {
assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(i), i as u32));
// TODO: decision deposit after some initial votes with a non-highest voted coming
// first.