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 Woodandcommand-bot authored and GitHub committed 2023-05-10 09:41:46 +00:00
1 parent 8f6445fb8e
commit bc39bdcb32
2 files changed
+16 -6

No files matched your search

+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.