Check block CLI command (#4240)

* Check block operation

* Update client/cli/src/lib.rs

* Update client/cli/src/params.rs
This commit is contained in:
Arkadiy Paronyan authored and Gavin Wood committed 2019-11-28 11:24:28 +00:00
1 parent f78b83e363
commit 504e2f8bd5
22 files changed
+543 -456

No files matched your search

@@ -659,6 +659,7 @@ pub mod tests {
auxiliary: Vec::new(),
fork_choice: ForkChoiceStrategy::LongestChain,
allow_missing_state: true,
import_existing: false,
};
do_import_block::<_, _, _, TestJustification>(
&client,
@@ -975,6 +975,7 @@ fn allows_reimporting_change_blocks() {
auxiliary: Vec::new(),
fork_choice: ForkChoiceStrategy::LongestChain,
allow_missing_state: false,
import_existing: false,
}
};
@@ -1028,6 +1029,7 @@ fn test_bad_justification() {
auxiliary: Vec::new(),
fork_choice: ForkChoiceStrategy::LongestChain,
allow_missing_state: false,
import_existing: false,
}
};
@@ -1738,6 +1740,7 @@ fn imports_justification_for_regular_blocks_on_import() {
auxiliary: Vec::new(),
fork_choice: ForkChoiceStrategy::LongestChain,
allow_missing_state: false,
import_existing: false,
};
assert_eq!(