From 239949cb9cb4518c29d225fcdfa214da0ceb7113 Mon Sep 17 00:00:00 2001 From: Jun Kimura Date: Fri, 2 Feb 2024 18:41:46 +0900 Subject: [PATCH] fix misbehaviour data decoding Signed-off-by: Jun Kimura --- modules/commitments/src/message.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/commitments/src/message.rs b/modules/commitments/src/message.rs index 07e71f8b..6aebe6b1 100644 --- a/modules/commitments/src/message.rs +++ b/modules/commitments/src/message.rs @@ -179,6 +179,7 @@ impl EthABIEncoder for Message { match message_type { MESSAGE_TYPE_UPDATE_CLIENT => Ok(UpdateClientMessage::ethabi_decode(&message)?.into()), MESSAGE_TYPE_STATE => Ok(VerifyMembershipMessage::ethabi_decode(&message)?.into()), + MESSAGE_TYPE_MISBEHAVIOUR => Ok(MisbehaviourMessage::ethabi_decode(&message)?.into()), _ => Err(Error::invalid_abi(format!( "invalid message type: {}", message_type