diff --git a/evm/tests/src/MockApp.t.sol b/evm/tests/src/MockApp.t.sol index 1472b8e127..608643aef6 100644 --- a/evm/tests/src/MockApp.t.sol +++ b/evm/tests/src/MockApp.t.sol @@ -25,6 +25,11 @@ contract MockApp is IIBCModule { address relayer ) external virtual override {} + function onTimeoutPacket( + IbcCoreChannelV1Packet.Data calldata packet, + address relayer + ) external virtual override {} + function onChanOpenInit( IbcCoreChannelV1GlobalEnums.Order, string[] calldata, diff --git a/evm/tests/src/utils/MockApp.sol b/evm/tests/src/utils/MockApp.sol index c8b713720b..4e6d777f0b 100644 --- a/evm/tests/src/utils/MockApp.sol +++ b/evm/tests/src/utils/MockApp.sol @@ -9,6 +9,7 @@ import {Context} from "@openzeppelin/contracts/utils/Context.sol"; contract MockApp is IIBCModule { event MockPacketRecv(); event MockPacketAck(); + event MockPacketTimeout(); event MockChannelOpenInit(string portId, string channelId); event MockChannelOpenTry(); event MockChannelOpenAck(); @@ -32,6 +33,13 @@ contract MockApp is IIBCModule { emit MockPacketAck(); } + function onTimeoutPacket( + Packet.Data calldata packet, + address relayer + ) external virtual override { + emit MockPacketTimeout(); + } + function onChanOpenInit( ChannelEnums.Order, string[] calldata,