From 21d7bebf63ae5dcf5b7f093568038caf4ba3a9b4 Mon Sep 17 00:00:00 2001 From: srdtrk Date: Mon, 2 Dec 2024 17:39:44 +0800 Subject: [PATCH] test: added more tests --- test/solidity-ibc/ICSCoreTest.t.sol | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/solidity-ibc/ICSCoreTest.t.sol b/test/solidity-ibc/ICSCoreTest.t.sol index 3247d003..e15cfc08 100644 --- a/test/solidity-ibc/ICSCoreTest.t.sol +++ b/test/solidity-ibc/ICSCoreTest.t.sol @@ -59,4 +59,14 @@ contract ICSCoreTest is Test { assertEq(fetchedChannel.counterpartyId, counterpartyId, "channel not migrated"); assertEq(fetchedChannel.merklePrefix, randomPrefix, "channel not migrated"); } + + function test_Misbehaviour() public { + bytes memory misbehaviourMsg = "testMisbehaviourMsg"; + icsCore.submitMisbehaviour(clientIdentifier, misbehaviourMsg); + } + + function test_UpgradeClient() public { + bytes memory upgradeMsg = "testUpgradeMsg"; + icsCore.upgradeClient(clientIdentifier, upgradeMsg); + } }