From 0f9c780a3e6daeaff01d787c2854e4c7fc110e18 Mon Sep 17 00:00:00 2001 From: Dmytro Stebaiev Date: Fri, 4 Oct 2024 18:34:00 +0300 Subject: [PATCH] Update message listener --- contracts/IMessageListener.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contracts/IMessageListener.sol b/contracts/IMessageListener.sol index 14fc900..91c7c98 100644 --- a/contracts/IMessageListener.sol +++ b/contracts/IMessageListener.sol @@ -21,6 +21,8 @@ pragma solidity >=0.8.8 <0.9.0; +import {SchainHash} from "./DomainTypes.sol"; + interface IMessageListener { /** @@ -52,7 +54,7 @@ interface IMessageListener { ) external; function postOutgoingMessage( - bytes32 targetChainHash, + SchainHash targetChainHash, address targetContract, bytes memory data ) external;