Skip to content
Snippets Groups Projects
Commit f9699db4 authored by Liu-Cheng Xu's avatar Liu-Cheng Xu Committed by GitHub
Browse files

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
parent 056fd9b8
No related merge requests found
......@@ -5033,7 +5033,6 @@ dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"hex-literal",
"log 0.4.14",
"parity-scale-codec",
"sp-core",
......
......@@ -25,9 +25,6 @@ frame-support = { version = "4.0.0-dev", default-features = false, path = "../su
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
log = { version = "0.4.14", default-features = false }
[dev-dependencies]
hex-literal = "0.3.1"
[features]
default = ["std"]
std = [
......
This diff is collapsed.
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment