Skip to content

Commit 549076d

Browse files
Merge pull request #10 from yangby-cryptape/test/more-tests
test: add another test case of real main-chain reorg
2 parents f8a77cd + 62e6a70 commit 549076d

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

tests/data

Submodule data updated from bf2f225 to 5e608d2

tests/src/contracts/ckb_bitcoin_spv_type_lock/reorg.rs

+13
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ fn normal_case_1() {
2727
test_normal(case);
2828
}
2929

30+
#[test]
31+
fn normal_case_2() {
32+
let case = NormalCase {
33+
headers_path: "case-0822528_0830592",
34+
start_height: 828576,
35+
stale_height: 829613,
36+
clients_count: 20,
37+
stale_client_id: 1,
38+
reorg_clients_count: 12,
39+
};
40+
test_normal(case);
41+
}
42+
3043
struct NormalCase<'a> {
3144
headers_path: &'a str,
3245
start_height: u32,

0 commit comments

Comments
 (0)