Skip to content

Commit

Permalink
test: added more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Dec 2, 2024
1 parent f2926ae commit 21d7beb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/solidity-ibc/ICSCoreTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 21d7beb

Please sign in to comment.