Skip to content

Commit

Permalink
Chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Feb 19, 2024
1 parent 0192d56 commit 980d1ea
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions packages/contracts-communication/test/InterchainClientV1Test.t.sol
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

import "forge-std/Test.sol";
import {InterchainClientV1} from "../contracts/InterchainClientV1.sol";
import "../contracts/InterchainDB.sol";
import {InterchainAppMock} from "./mocks/InterchainAppMock.sol";
import {InterchainDB} from "../contracts/InterchainDB.sol";

import {InterchainModuleMock} from "./mocks/InterchainModuleMock.sol";
import {InterchainEntry} from "../contracts/libs/InterchainEntry.sol";

import {TypeCasts} from "../contracts/libs/TypeCasts.sol";

import {OptionsLib} from "../contracts/libs/Options.sol";
import {TypeCasts} from "../contracts/libs/TypeCasts.sol";

import {InterchainClientV1Harness} from "./harnesses/InterchainClientV1Harness.sol";

import {InterchainAppMock} from "./mocks/InterchainAppMock.sol";
import {InterchainModuleMock} from "./mocks/InterchainModuleMock.sol";

import {Test} from "forge-std/Test.sol";

contract InterchainClientV1Test is Test {
InterchainClientV1Harness icClient;
InterchainDB icDB;
Expand Down Expand Up @@ -109,7 +110,9 @@ contract InterchainClientV1Test is Test {
bytes32 transactionID = keccak256(
abi.encode(TypeCasts.addressToBytes32(msg.sender), block.chainid, receiver, DST_CHAIN_ID, message, nonce)
);
icClient.interchainSend{value: 1}(receiver, DST_CHAIN_ID, message, options, srcModules);
icClient.interchainSend{value: totalModuleFees}(receiver, DST_CHAIN_ID, message, options, srcModules);
// TODO: should check the transaction ID?
transactionID;
}

function test_interchainReceive() public {
Expand Down

0 comments on commit 980d1ea

Please sign in to comment.