diff --git a/coordinator/src/main.rs b/coordinator/src/main.rs index 708ec9d0..e6768450 100644 --- a/coordinator/src/main.rs +++ b/coordinator/src/main.rs @@ -189,6 +189,8 @@ async fn handle_processor_message( if already_handled == msg.id { return true; } + } else { + assert_eq!(msg.id, 0); } let _hvq_lock = HANDOVER_VERIFY_QUEUE_LOCK.get_or_init(|| Mutex::new(())).lock().await; diff --git a/coordinator/tributary/src/tendermint/mod.rs b/coordinator/tributary/src/tendermint/mod.rs index 82832779..5662c1ed 100644 --- a/coordinator/tributary/src/tendermint/mod.rs +++ b/coordinator/tributary/src/tendermint/mod.rs @@ -365,7 +365,10 @@ impl Network for TendermintNetwork .verify_block::(&block, self.signature_scheme(), false) .map_err(|e| match e { BlockError::NonLocalProvided(_) => TendermintBlockError::Temporal, - _ => TendermintBlockError::Fatal, + _ => { + log::warn!("Tributary Tendermint validate returning BlockError::Fatal due to {e:?}"); + TendermintBlockError::Fatal + } }) }