mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-08-08 19:55:44 +00:00
Allow import withouth state verification (#4031)
* Allow import without state verification * Explicit None Co-Authored-By: Robert Habermeier <rphmeier@gmail.com>
This commit is contained in:
committed by
Gavin Wood
parent
021f3a3f06
commit
cca9ab436c
@@ -974,6 +974,7 @@ fn allows_reimporting_change_blocks() {
|
||||
finalized: false,
|
||||
auxiliary: Vec::new(),
|
||||
fork_choice: ForkChoiceStrategy::LongestChain,
|
||||
allow_missing_state: false,
|
||||
}
|
||||
};
|
||||
|
||||
@@ -985,6 +986,7 @@ fn allows_reimporting_change_blocks() {
|
||||
bad_justification: false,
|
||||
needs_finality_proof: false,
|
||||
is_new_best: true,
|
||||
header_only: false,
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -1025,6 +1027,7 @@ fn test_bad_justification() {
|
||||
finalized: false,
|
||||
auxiliary: Vec::new(),
|
||||
fork_choice: ForkChoiceStrategy::LongestChain,
|
||||
allow_missing_state: false,
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1721,6 +1724,7 @@ fn imports_justification_for_regular_blocks_on_import() {
|
||||
finalized: false,
|
||||
auxiliary: Vec::new(),
|
||||
fork_choice: ForkChoiceStrategy::LongestChain,
|
||||
allow_missing_state: false,
|
||||
};
|
||||
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user