client: refuse to import blocks that revert finality (#3432)

* client: don't import blocks that revert finality

* client: test import of blocks that revert finality

* client: replace tempdir with tempfile in test
This commit is contained in:
André Silva
2019-08-18 18:05:16 +02:00
committed by Gavin Wood
parent 6c5fbe64ca
commit 8eacdb54de
3 changed files with 124 additions and 7 deletions
+1
View File
@@ -4366,6 +4366,7 @@ dependencies = [
"substrate-telemetry 2.0.0",
"substrate-test-runtime-client 2.0.0",
"substrate-trie 2.0.0",
"tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]