From 918b3bfb0f4bb8511d8b3c5d41b97569396a46d9 Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Wed, 30 Nov 2022 09:13:56 +0000 Subject: [PATCH 1/3] chore: adding directory for main tests --- .../main/client-chain-a.json | 10 ++++++++++ .../main/client-chain-b.json | 10 ++++++++++ .../main/connection-chain-a.json | 10 ++++++++++ .../main/connection-chain-b.json | 10 ++++++++++ .../main/ica-gov-chain-a.json | 10 ++++++++++ .../main/ica-groups-chain-a.json | 10 ++++++++++ .../main/incentivized-transfer-chain-a.json | 15 +++++++++++++++ .../main/incentivized-transfer-chain-b.json | 15 +++++++++++++++ .../main/transfer-chain-a.json | 15 +++++++++++++++ .../main/transfer-chain-b.json | 15 +++++++++++++++ .github/workflows/e2e-compatibility.yaml | 3 ++- 11 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 .github/compatibility-test-matrices/main/client-chain-a.json create mode 100644 .github/compatibility-test-matrices/main/client-chain-b.json create mode 100644 .github/compatibility-test-matrices/main/connection-chain-a.json create mode 100644 .github/compatibility-test-matrices/main/connection-chain-b.json create mode 100644 .github/compatibility-test-matrices/main/ica-gov-chain-a.json create mode 100644 .github/compatibility-test-matrices/main/ica-groups-chain-a.json create mode 100644 .github/compatibility-test-matrices/main/incentivized-transfer-chain-a.json create mode 100644 .github/compatibility-test-matrices/main/incentivized-transfer-chain-b.json create mode 100644 .github/compatibility-test-matrices/main/transfer-chain-a.json create mode 100644 .github/compatibility-test-matrices/main/transfer-chain-b.json diff --git a/.github/compatibility-test-matrices/main/client-chain-a.json b/.github/compatibility-test-matrices/main/client-chain-a.json new file mode 100644 index 00000000000..7bec03195cd --- /dev/null +++ b/.github/compatibility-test-matrices/main/client-chain-a.json @@ -0,0 +1,10 @@ +{ + "chain-a": ["main"], + "chain-b": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"], + "entrypoint": ["TestClientTestSuite"], + "test": [ + "TestClientUpdateProposal_Succeeds" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/client-chain-b.json b/.github/compatibility-test-matrices/main/client-chain-b.json new file mode 100644 index 00000000000..ec7a3539054 --- /dev/null +++ b/.github/compatibility-test-matrices/main/client-chain-b.json @@ -0,0 +1,10 @@ +{ + "chain-a": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"], + "chain-b": ["main"], + "entrypoint": ["TestClientTestSuite"], + "test": [ + "TestClientUpdateProposal_Succeeds" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/connection-chain-a.json b/.github/compatibility-test-matrices/main/connection-chain-a.json new file mode 100644 index 00000000000..b0da913249c --- /dev/null +++ b/.github/compatibility-test-matrices/main/connection-chain-a.json @@ -0,0 +1,10 @@ +{ + "chain-a": ["main"], + "chain-b": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"], + "entrypoint": ["TestConnectionTestSuite"], + "test": [ + "TestMaxExpectedTimePerBlockParam" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/connection-chain-b.json b/.github/compatibility-test-matrices/main/connection-chain-b.json new file mode 100644 index 00000000000..d90e3559677 --- /dev/null +++ b/.github/compatibility-test-matrices/main/connection-chain-b.json @@ -0,0 +1,10 @@ +{ + "chain-a": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"], + "chain-b": ["main"], + "entrypoint": ["TestConnectionTestSuite"], + "test": [ + "TestMaxExpectedTimePerBlockParam" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/ica-gov-chain-a.json b/.github/compatibility-test-matrices/main/ica-gov-chain-a.json new file mode 100644 index 00000000000..e2f7c3556dd --- /dev/null +++ b/.github/compatibility-test-matrices/main/ica-gov-chain-a.json @@ -0,0 +1,10 @@ +{ + "chain-a": ["main"], + "chain-b": ["main"], + "entrypoint": ["TestInterchainAccountsGovTestSuite"], + "test": [ + "TestInterchainAccountsGovIntegration" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/ica-groups-chain-a.json b/.github/compatibility-test-matrices/main/ica-groups-chain-a.json new file mode 100644 index 00000000000..10efcc216dc --- /dev/null +++ b/.github/compatibility-test-matrices/main/ica-groups-chain-a.json @@ -0,0 +1,10 @@ +{ + "chain-a": ["main"], + "chain-b": ["main"], + "entrypoint": ["TestInterchainAccountsGroupsTestSuite"], + "test": [ + "TestInterchainAccountsGroupsIntegration" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/main/incentivized-transfer-chain-a.json new file mode 100644 index 00000000000..94c28444c6b --- /dev/null +++ b/.github/compatibility-test-matrices/main/incentivized-transfer-chain-a.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["main"], + "chain-b": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1"], + "entrypoint": ["TestIncentivizedTransferTestSuite"], + "test": [ + "TestMsgPayPacketFee_AsyncSingleSender_Succeeds", + "TestMsgPayPacketFee_InvalidReceiverAccount", + "TestMultiMsg_MsgPayPacketFeeSingleSender", + "TestMsgPayPacketFee_SingleSender_TimesOut", + "TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress", + "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/main/incentivized-transfer-chain-b.json new file mode 100644 index 00000000000..6553269b9a2 --- /dev/null +++ b/.github/compatibility-test-matrices/main/incentivized-transfer-chain-b.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1"], + "chain-b": ["main"], + "entrypoint": ["TestIncentivizedTransferTestSuite"], + "test": [ + "TestMsgPayPacketFee_AsyncSingleSender_Succeeds", + "TestMsgPayPacketFee_InvalidReceiverAccount", + "TestMultiMsg_MsgPayPacketFeeSingleSender", + "TestMsgPayPacketFee_SingleSender_TimesOut", + "TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress", + "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/transfer-chain-a.json b/.github/compatibility-test-matrices/main/transfer-chain-a.json new file mode 100644 index 00000000000..99b607e12da --- /dev/null +++ b/.github/compatibility-test-matrices/main/transfer-chain-a.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["main"], + "chain-b": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"], + "entrypoint": ["TestTransferTestSuite"], + "test": [ + "TestMsgTransfer_Succeeds_Nonincentivized", + "TestMsgTransfer_Fails_InvalidAddress", + "TestMsgTransfer_Timeout_Nonincentivized", + "TestMsgTransfer_WithMemo", + "TestSendEnabledParam", + "TestReceiveEnabledParam" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/transfer-chain-b.json b/.github/compatibility-test-matrices/main/transfer-chain-b.json new file mode 100644 index 00000000000..d64f0be8ffe --- /dev/null +++ b/.github/compatibility-test-matrices/main/transfer-chain-b.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"], + "chain-b": ["main"], + "entrypoint": ["TestTransferTestSuite"], + "test": [ + "TestMsgTransfer_Succeeds_Nonincentivized", + "TestMsgTransfer_Fails_InvalidAddress", + "TestMsgTransfer_Timeout_Nonincentivized", + "TestMsgTransfer_WithMemo", + "TestSendEnabledParam", + "TestReceiveEnabledParam" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/workflows/e2e-compatibility.yaml b/.github/workflows/e2e-compatibility.yaml index 14445aba1b9..bdcba73d5d8 100644 --- a/.github/workflows/e2e-compatibility.yaml +++ b/.github/workflows/e2e-compatibility.yaml @@ -13,6 +13,7 @@ on: - release/v5.0.x - release/v5.1.x - release/v6.0.x + - main env: REGISTRY: ghcr.io @@ -161,4 +162,4 @@ jobs: uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml with: test-file-directory: "${{ needs.determine-test-directory.outputs.test-directory }}" - test-suite: "ica-gov-chain-a" \ No newline at end of file + test-suite: "ica-gov-chain-a" From 09eef758d48a89e63eef43a45693a3f23da3da37 Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Wed, 30 Nov 2022 09:17:10 +0000 Subject: [PATCH 2/3] chore: adding main branch to list that gets iterated over --- .github/workflows/e2e-compatibility.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/e2e-compatibility.yaml b/.github/workflows/e2e-compatibility.yaml index bdcba73d5d8..d77edbb12c3 100644 --- a/.github/workflows/e2e-compatibility.yaml +++ b/.github/workflows/e2e-compatibility.yaml @@ -46,6 +46,7 @@ jobs: - release/v5.0.x - release/v5.1.x - release/v6.0.x + - main steps: - uses: actions/checkout@v3 if: env.RELEASE_BRANCH == matrix.release-branch From 63899924a27f184b6a65e04574a845e3df73fc53 Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Wed, 30 Nov 2022 10:37:30 +0000 Subject: [PATCH 3/3] chore: addressing PR feedback --- .../main/ica-chain-a.json | 12 ++++++++++++ .../main/incentivized-ica-chain-a.json | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/compatibility-test-matrices/main/ica-chain-a.json create mode 100644 .github/compatibility-test-matrices/main/incentivized-ica-chain-a.json diff --git a/.github/compatibility-test-matrices/main/ica-chain-a.json b/.github/compatibility-test-matrices/main/ica-chain-a.json new file mode 100644 index 00000000000..e3d639c1db2 --- /dev/null +++ b/.github/compatibility-test-matrices/main/ica-chain-a.json @@ -0,0 +1,12 @@ +{ + "chain-a": ["main"], + "chain-b": ["main"], + "entrypoint": ["TestInterchainAccountsTestSuite"], + "test": [ + "TestMsgSendTx_SuccessfulTransfer", + "TestMsgSendTx_FailedTransfer_InsufficientFunds", + "TestMsgSubmitTx_SuccessfulTransfer_AfterReopeningICA" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +} diff --git a/.github/compatibility-test-matrices/main/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/main/incentivized-ica-chain-a.json new file mode 100644 index 00000000000..9899cf46895 --- /dev/null +++ b/.github/compatibility-test-matrices/main/incentivized-ica-chain-a.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["main"], + "chain-b": ["main"], + "entrypoint": ["TestIncentivizedInterchainAccountsTestSuite"], + "test": [ + "TestMsgSendTx_SuccessfulBankSend_Incentivized", + "TestMsgSendTx_FailedBankSend_Incentivized" + ], + "chain-binary": ["simd"], + "chain-image": ["ghcr.io/cosmos/ibc-go-simd"] +}