mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 04:41:03 +00:00
grandpa: never overwrite current rounds voter state (#6823)
* grandpa: never overwrite current rounds voter state * grandpa: add test for voter state overwrite
This commit is contained in:
@@ -21,7 +21,6 @@ futures-timer = "3.0.1"
|
||||
log = "0.4.8"
|
||||
parking_lot = "0.10.0"
|
||||
rand = "0.7.2"
|
||||
assert_matches = "1.3.0"
|
||||
parity-scale-codec = { version = "1.3.4", features = ["derive"] }
|
||||
sp-application-crypto = { version = "2.0.0-rc5", path = "../../primitives/application-crypto" }
|
||||
sp-arithmetic = { version = "2.0.0-rc5", path = "../../primitives/arithmetic" }
|
||||
@@ -47,6 +46,7 @@ finality-grandpa = { version = "0.12.3", features = ["derive-codec"] }
|
||||
pin-project = "0.4.6"
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = "1.3.0"
|
||||
finality-grandpa = { version = "0.12.3", features = ["derive-codec", "test-helpers"] }
|
||||
sc-network = { version = "0.8.0-rc5", path = "../network" }
|
||||
sc-network-test = { version = "0.8.0-rc5", path = "../network/test" }
|
||||
|
||||
Reference in New Issue
Block a user