Skip to content

Commit

Permalink
e2e: add compatibility tests for v7.5.x and v8.3.x (#6228)
Browse files Browse the repository at this point in the history
* e2e: add compatibility tests for v7.5.x and v8.3.x

* add ica queries test for main

* add v7.5 as version that supports unordered ICA channels

* SDK supports transaction event querying since v0.50

* fix if statement

* add missing tests

* verifying the response of the ICA query is only possible if the chain support the --query flag

* try --events flag for querying txs by events

* remove unused variable

* hopefully this does the trick to make the query work

* add logging

* remove logging

---------

Co-authored-by: Damian Nolan <damiannolan@gmail.com>
  • Loading branch information
crodriguezvega and damiannolan committed May 10, 2024
1 parent 055351f commit 5279120
Show file tree
Hide file tree
Showing 59 changed files with 1,145 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .github/compatibility-test-matrices/main/ica-queries-chain-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"chain-a": [
"main"
],
"chain-b": [
"main"
],
"entrypoint": [
"TestInterchainAccountsQueryTestSuite"
],
"test": [
"TestInterchainAccountsQuery"
],
"relayer-type": [
"hermes"
]
}
17 changes: 17 additions & 0 deletions .github/compatibility-test-matrices/main/ica-queries-chain-b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"chain-a": [
"main"
],
"chain-b": [
"main"
],
"entrypoint": [
"TestInterchainAccountsQueryTestSuite"
],
"test": [
"TestInterchainAccountsQuery"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestClientTestSuite"
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestConnectionTestSuite"
],
"test": [
"TestMaxExpectedTimePerBlockParam"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsTestSuite"
],
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"chain-a": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsTestSuite"
],
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestHostEnabledParam"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsGovTestSuite"
],
"test": [
"TestInterchainAccountsGovIntegration"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"chain-a": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsGovTestSuite"
],
"test": [
"TestInterchainAccountsGovIntegration"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsGroupsTestSuite"
],
"test": [
"TestInterchainAccountsGroupsIntegration"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"chain-a": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsGroupsTestSuite"
],
"test": [
"TestInterchainAccountsGroupsIntegration"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsQueryTestSuite"
],
"test": [
"TestInterchainAccountsQuery"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsQueryTestSuite"
],
"test": [
"TestInterchainAccountsQuery"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"v8.2.0",
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsTestSuite"
],
"test": [
"TestMsgSendTx_SuccessfulTransfer_UnorderedChannel"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"chain-a": [
"v8.2.0",
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestInterchainAccountsTestSuite"
],
"test": [
"TestMsgSendTx_SuccessfulTransfer_UnorderedChannel"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"release-v7.5.x"
],
"entrypoint": [
"TestIncentivizedInterchainAccountsTestSuite"
],
"test": [
"TestMsgSendTx_SuccessfulBankSend_Incentivized",
"TestMsgSendTx_FailedBankSend_Incentivized"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"chain-a": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestIncentivizedInterchainAccountsTestSuite"
],
"test": [
"TestMsgSendTx_SuccessfulBankSend_Incentivized",
"TestMsgSendTx_FailedBankSend_Incentivized"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"chain-a": [
"release-v7.5.x"
],
"chain-b": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"v5.4.0",
"v4.6.0",
"release-v7.5.x"
],
"entrypoint": [
"TestIncentivizedTransferTestSuite"
],
"test": [
"TestMsgPayPacketFee_AsyncSingleSender_Succeeds",
"TestMsgPayPacketFee_InvalidReceiverAccount",
"TestMultiMsg_MsgPayPacketFeeSingleSender",
"TestMsgPayPacketFee_SingleSender_TimesOut",
"TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress",
"TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds"
],
"relayer-type": [
"hermes"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"chain-a": [
"v8.2.0",
"v7.4.0",
"v6.3.0",
"v5.4.0",
"v4.6.0",
"release-v7.5.x"
],
"chain-b": [
"release-v7.5.x"
],
"entrypoint": [
"TestIncentivizedTransferTestSuite"
],
"test": [
"TestMsgPayPacketFee_AsyncSingleSender_Succeeds",
"TestMsgPayPacketFee_InvalidReceiverAccount",
"TestMultiMsg_MsgPayPacketFeeSingleSender",
"TestMsgPayPacketFee_SingleSender_TimesOut",
"TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress",
"TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds"
],
"relayer-type": [
"hermes"
]
}
Loading

0 comments on commit 5279120

Please sign in to comment.