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
Showing
- substrate/Cargo.lock 0 additions, 1 deletionsubstrate/Cargo.lock
- substrate/frame/collective/Cargo.toml 0 additions, 3 deletionssubstrate/frame/collective/Cargo.toml
- substrate/frame/collective/src/lib.rs 7 additions, 1183 deletionssubstrate/frame/collective/src/lib.rs
- substrate/frame/collective/src/tests.rs 1007 additions, 0 deletionssubstrate/frame/collective/src/tests.rs
This diff is collapsed.
substrate/frame/collective/src/tests.rs
0 → 100644
This diff is collapsed.
Please register or sign in to comment