Use the precise number of approvals when constructing RawOrgin::Members (#9647)

* Use the precise number of approvals when constructing RawOrgin::Members

Close #9604

* Split out tests.rs

* Add a test for dispatching with yes votes instead of voting threshold

* Simplify tests

- Also add copyright header.

* Remove unused hex_literal::hex in collective tests

* Extract the helper function record()

* Try fixing ci

* Add a test case with only two votes

* Nit

* Fix typo
This commit is contained in:
Liu-Cheng Xu authored and GitHub committed 2021-09-13 03:12:37 +00:00
1 parent 056fd9b8a8
commit f9699db41c
4 files changed
+1014 -1187

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff