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
2021-09-13 11:12:37 +08:00
committed by GitHub
parent 056fd9b8a8
commit f9699db41c
4 changed files with 1014 additions and 1187 deletions
File diff suppressed because it is too large Load Diff