From f0980d6d271ef12195d450fb93244ff5babe4ea6 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Wed, 2 Nov 2022 17:12:35 +0100 Subject: [PATCH] e2e: add transfer with memo compatibility tests (#2640) --- .../release-v2.5.x/transfer.json | 15 +++++++++++++++ .../release-v3.4.x/transfer.json | 15 +++++++++++++++ .../release-v4.2.x/incentivized-transfer.json | 15 +++++++++++++++ .../release-v4.2.x/transfer.json | 15 +++++++++++++++ .../release-v5.1.x/incentivized-transfer.json | 15 +++++++++++++++ .../release-v5.1.x/transfer.json | 15 +++++++++++++++ .../release-v6.0.x/transfer.json | 1 + .github/workflows/e2e-compatibility.yaml | 4 ++++ 8 files changed, 95 insertions(+) create mode 100644 .github/compatibility-test-matrices/release-v2.5.x/transfer.json create mode 100644 .github/compatibility-test-matrices/release-v3.4.x/transfer.json create mode 100644 .github/compatibility-test-matrices/release-v4.2.x/incentivized-transfer.json create mode 100644 .github/compatibility-test-matrices/release-v4.2.x/transfer.json create mode 100644 .github/compatibility-test-matrices/release-v5.1.x/incentivized-transfer.json create mode 100644 .github/compatibility-test-matrices/release-v5.1.x/transfer.json diff --git a/.github/compatibility-test-matrices/release-v2.5.x/transfer.json b/.github/compatibility-test-matrices/release-v2.5.x/transfer.json new file mode 100644 index 00000000000..b27928d4979 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v2.5.x/transfer.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["release-v2.5.x", "v5.0.1", "v4.1.1", "v3.3.1", "v2.4.2"], + "chain-b": ["release-v2.5.x", "v5.0.1", "v4.1.1", "v3.3.1", "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/release-v3.4.x/transfer.json b/.github/compatibility-test-matrices/release-v3.4.x/transfer.json new file mode 100644 index 00000000000..24df89f60ed --- /dev/null +++ b/.github/compatibility-test-matrices/release-v3.4.x/transfer.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["release-v3.4.x", "v5.0.1", "v4.1.1", "v3.3.1", "v2.4.2"], + "chain-b": ["release-v3.4.x", "v5.0.1", "v4.1.1", "v3.3.1", "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/release-v4.2.x/incentivized-transfer.json b/.github/compatibility-test-matrices/release-v4.2.x/incentivized-transfer.json new file mode 100644 index 00000000000..5cf6fbf5409 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v4.2.x/incentivized-transfer.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["release-v4.2.x", "v5.0.1", "v4.1.0"], + "chain-b": ["release-v4.2.x", "v5.0.1", "v4.1.0"], + "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/release-v4.2.x/transfer.json b/.github/compatibility-test-matrices/release-v4.2.x/transfer.json new file mode 100644 index 00000000000..ff060a1e7ff --- /dev/null +++ b/.github/compatibility-test-matrices/release-v4.2.x/transfer.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["release-v4.2.x", "v5.0.1", "v4.1.1", "v3.3.1", "v2.4.2"], + "chain-b": ["release-v4.2.x", "v5.0.1", "v4.1.1", "v3.3.1", "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/release-v5.1.x/incentivized-transfer.json b/.github/compatibility-test-matrices/release-v5.1.x/incentivized-transfer.json new file mode 100644 index 00000000000..102c1a8adc2 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v5.1.x/incentivized-transfer.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["release-v5.1.x", "v5.0.1", "v4.1.1"], + "chain-b": ["release-v5.1.x", "v5.0.1", "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/release-v5.1.x/transfer.json b/.github/compatibility-test-matrices/release-v5.1.x/transfer.json new file mode 100644 index 00000000000..064b8ce7a00 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v5.1.x/transfer.json @@ -0,0 +1,15 @@ +{ + "chain-a": ["release-v5.1.x", "v5.0.1", "v4.1.1", "v3.3.1", "v2.4.2"], + "chain-b": ["release-v5.1.x", "v5.0.1", "v4.1.1", "v3.3.1", "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/release-v6.0.x/transfer.json b/.github/compatibility-test-matrices/release-v6.0.x/transfer.json index 44ec116d942..067f1bf3709 100644 --- a/.github/compatibility-test-matrices/release-v6.0.x/transfer.json +++ b/.github/compatibility-test-matrices/release-v6.0.x/transfer.json @@ -6,6 +6,7 @@ "TestMsgTransfer_Succeeds_Nonincentivized", "TestMsgTransfer_Fails_InvalidAddress", "TestMsgTransfer_Timeout_Nonincentivized", + "TestMsgTransfer_WithMemo", "TestSendEnabledParam", "TestReceiveEnabledParam" ], diff --git a/.github/workflows/e2e-compatibility.yaml b/.github/workflows/e2e-compatibility.yaml index 0a3b436f41f..69e4aa86b45 100644 --- a/.github/workflows/e2e-compatibility.yaml +++ b/.github/workflows/e2e-compatibility.yaml @@ -7,7 +7,11 @@ on: required: true type: choice options: + - release/v2.5.x + - release/v3.4.x + - release/v4.2.x - release/v5.0.x + - release/v5.1.x - release/v6.0.x env: