From c653ba2b6332284120f2d2f49ced795b6f4b70c6 Mon Sep 17 00:00:00 2001 From: themicp Date: Fri, 12 Jan 2024 18:24:02 +0200 Subject: [PATCH] Restore VerifyMessages endpoint that is noop --- contracts/light-client/src/contract.rs | 1 + contracts/light-client/src/msg.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/contracts/light-client/src/contract.rs b/contracts/light-client/src/contract.rs index 5847768..0e5cb6c 100644 --- a/contracts/light-client/src/contract.rs +++ b/contracts/light-client/src/contract.rs @@ -82,6 +82,7 @@ pub fn execute( .map_err(|e| ContractError::Std(StdError::GenericErr { msg: e.to_string() }))?; Ok(Response::new()) } + VerifyMessages { messages: _ } => Ok(Response::new()), } } diff --git a/contracts/light-client/src/msg.rs b/contracts/light-client/src/msg.rs index f01820b..4df2a8a 100644 --- a/contracts/light-client/src/msg.rs +++ b/contracts/light-client/src/msg.rs @@ -19,6 +19,7 @@ pub enum ExecuteMsg { LightClientUpdate(Update), BatchVerificationData(BatchVerificationData), UpdateConfig(Config), + VerifyMessages { messages: Vec }, } #[cw_ownable_query]