From 4bbfe3e14b42f4a94e9d5588815f274d6789450b Mon Sep 17 00:00:00 2001 From: gcranju <075bct064.ranju@pcampus.edu.np> Date: Thu, 12 Sep 2024 10:22:44 +0545 Subject: [PATCH] fix: call executed event added in persistent type --- contracts/evm/contracts/xcall/CallService.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/evm/contracts/xcall/CallService.sol b/contracts/evm/contracts/xcall/CallService.sol index 3c978280..1489bb93 100644 --- a/contracts/evm/contracts/xcall/CallService.sol +++ b/contracts/evm/contracts/xcall/CallService.sol @@ -289,6 +289,7 @@ contract CallService is IBSH, ICallService, IFeeManage, Initializable { tryExecuteCall(_reqId, dapp, req.from, _data, protocols); } else if (req.messageType == Types.PERSISTENT_MESSAGE_TYPE) { this.executeMessage(dapp, req.from, _data, protocols); + emit CallExecuted(_reqId, Types.CS_RESP_SUCCESS, ""); } else if (req.messageType == Types.CALL_MESSAGE_ROLLBACK_TYPE) { replyState = req; int256 code = tryExecuteCall(