diff --git a/crates/btcio/Cargo.toml b/crates/btcio/Cargo.toml index a918b7598..637a9b5e1 100644 --- a/crates/btcio/Cargo.toml +++ b/crates/btcio/Cargo.toml @@ -37,8 +37,8 @@ strata-rocksdb = { workspace = true, features = ["test_utils"] } strata-test-utils.workspace = true arbitrary.workspace = true -mockall.workspace = true corepc-node = { version = "0.4.0", features = ["28_0"] } +mockall.workspace = true [features] test_utils = [] diff --git a/crates/consensus-logic/src/csm/client_transition.rs b/crates/consensus-logic/src/csm/client_transition.rs index 638f4cc57..9141c39a2 100644 --- a/crates/consensus-logic/src/csm/client_transition.rs +++ b/crates/consensus-logic/src/csm/client_transition.rs @@ -431,11 +431,11 @@ pub fn filter_verified_checkpoints( let l1_tsn = checkpoint.batch_info().l1_transition; let l2_tsn = checkpoint.batch_info().l2_transition; - if l1_tsn.0 == last_l1_tsn.1 { + if l1_tsn.0 != last_l1_tsn.1 { warn!(obtained = ?l1_tsn.0, expected = ?last_l1_tsn.1, "Received invalid checkpoint l1 transition, ignoring."); continue; } - if l2_tsn.0 == last_l2_tsn.1 { + if l2_tsn.0 != last_l2_tsn.1 { warn!(obtained = ?l2_tsn.0, expected = ?last_l2_tsn.1, "Received invalid checkpoint l2 transition, ignoring."); continue; } diff --git a/functional-tests/fn_resubmit_checkpoint.py b/functional-tests/fn_btcio_resubmit_checkpoint.py similarity index 100% rename from functional-tests/fn_resubmit_checkpoint.py rename to functional-tests/fn_btcio_resubmit_checkpoint.py