Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Sep 27, 2023
1 parent b169866 commit bffefdf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
1 change: 1 addition & 0 deletions integration_tests/contracts/contracts/TestICA.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ contract TestICA {
}

function onPacketResultCallback(uint64 seq, bytes calldata ack) external payable returns (bool) {
// To prevent called by arbitrary user
// require(msg.sender == module_address);
lastAckSeq = seq;
lastAck = ack;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion x/cronos/events/bindings/src/ICA.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ interface IICAModule {
function registerAccount(string calldata connectionID, string calldata version) external payable returns (bool);
function queryAccount(string calldata connectionID, address addr) external view returns (string memory);
function submitMsgs(string calldata connectionID, bytes calldata data, uint256 timeout) external payable returns (uint64);
function onPacketResult(uint64 seq, address packetSenderAddress, bytes calldata ack) external payable returns (bool);
}

0 comments on commit bffefdf

Please sign in to comment.