mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 22:41:02 +00:00
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:
committed by
Gavin Wood
parent
f78b83e363
commit
504e2f8bd5
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user