diff --git a/integration_tests/contracts/contracts/TestICA.sol b/integration_tests/contracts/contracts/TestICA.sol index a1d7797493..ee7359e582 100644 --- a/integration_tests/contracts/contracts/TestICA.sol +++ b/integration_tests/contracts/contracts/TestICA.sol @@ -103,7 +103,8 @@ contract TestICA { } function onPacketResultCallback(uint64 seq, bytes calldata ack) external payable returns (bool) { - // require(msg.sender == module_address); + // To prevent called by arbitrary user + require(msg.sender == module_address); lastAckSeq = seq; lastAck = ack; acknowledgement[seq] = ack;