From 41949cde6acbe76fc1fa52e415b2102fd1be9652 Mon Sep 17 00:00:00 2001 From: ChiTimesChi <88190723+ChiTimesChi@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:25:29 +0000 Subject: [PATCH] Chore: cleanup --- .../test/InterchainClientV1Test.t.sol | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/contracts-communication/test/InterchainClientV1Test.t.sol b/packages/contracts-communication/test/InterchainClientV1Test.t.sol index f903898627..5742065ee7 100644 --- a/packages/contracts-communication/test/InterchainClientV1Test.t.sol +++ b/packages/contracts-communication/test/InterchainClientV1Test.t.sol @@ -1,13 +1,14 @@ +// 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 {InterchainEntry} from "../contracts/libs/InterchainEntry.sol"; +import {InterchainAppMock} from "./mocks/InterchainAppMock.sol"; import {InterchainModuleMock} from "./mocks/InterchainModuleMock.sol"; -import {InterchainEntry} from "../contracts/libs/InterchainEntry.sol"; +import {Test} from "forge-std/Test.sol"; contract InterchainClientV1Test is Test { InterchainClientV1 icClient; @@ -53,7 +54,9 @@ contract InterchainClientV1Test is Test { icClient.convertAddressToBytes32(msg.sender), block.chainid, receiver, DST_CHAIN_ID, message, nonce ) ); - icClient.interchainSend{value: 1}(receiver, DST_CHAIN_ID, message, srcModules); + icClient.interchainSend{value: totalModuleFees}(receiver, DST_CHAIN_ID, message, srcModules); + // TODO: should check transactionID + transactionID; } function test_interchainReceive() public {