diff --git a/.github/compatibility-test-matrices/main/client-chain-a.json b/.github/compatibility-test-matrices/main/client-chain-a.json index abdf4f8843f..620663fc5a3 100644 --- a/.github/compatibility-test-matrices/main/client-chain-a.json +++ b/.github/compatibility-test-matrices/main/client-chain-a.json @@ -3,22 +3,15 @@ "main" ], "chain-b": [ - "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v5.0.1", - "v4.4.2" + "main" ], "entrypoint": [ "TestClientTestSuite" ], "test": [ + "TestClientUpdateProposal_Succeeds", "TestRecoverClient_Succeeds", + "TestScheduleIBCUpgrade_Succeeds", "TestClient_Update_Misbehaviour", "TestAllowedClientsParam" ], diff --git a/.github/compatibility-test-matrices/main/client-chain-b.json b/.github/compatibility-test-matrices/main/client-chain-b.json deleted file mode 100644 index f0a60be6d76..00000000000 --- a/.github/compatibility-test-matrices/main/client-chain-b.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "chain-a": [ - "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v5.0.1", - "v4.4.2" - ], - "chain-b": [ - "main" - ], - "entrypoint": [ - "TestClientTestSuite" - ], - "test": [ - "TestRecoverClient_Succeeds", - "TestClient_Update_Misbehaviour" - ], - "relayer-type": [ - "hermes" - ] -} diff --git a/.github/compatibility-test-matrices/main/connection-chain-a.json b/.github/compatibility-test-matrices/main/connection-chain-a.json index ce93e6c3417..8f77a8492ae 100644 --- a/.github/compatibility-test-matrices/main/connection-chain-a.json +++ b/.github/compatibility-test-matrices/main/connection-chain-a.json @@ -3,16 +3,7 @@ "main" ], "chain-b": [ - "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v5.0.1", - "v4.4.2" + "main" ], "entrypoint": [ "TestConnectionTestSuite" diff --git a/.github/compatibility-test-matrices/main/genesis-chain-a.json b/.github/compatibility-test-matrices/main/genesis-chain-a.json new file mode 100644 index 00000000000..26698315ea4 --- /dev/null +++ b/.github/compatibility-test-matrices/main/genesis-chain-a.json @@ -0,0 +1,17 @@ +{ + "chain-a": [ + "main" + ], + "chain-b": [ + "main" + ], + "entrypoint": [ + "TestGenesisTestSuite" + ], + "test": [ + "TestIBCGenesis" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/ica-chain-a.json b/.github/compatibility-test-matrices/main/ica-chain-a.json index d960aa0139d..dd454dba341 100644 --- a/.github/compatibility-test-matrices/main/ica-chain-a.json +++ b/.github/compatibility-test-matrices/main/ica-chain-a.json @@ -4,11 +4,10 @@ ], "chain-b": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "entrypoint": [ "TestInterchainAccountsTestSuite" @@ -22,4 +21,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/ica-chain-b.json b/.github/compatibility-test-matrices/main/ica-chain-b.json index dc30d704176..270db66703c 100644 --- a/.github/compatibility-test-matrices/main/ica-chain-b.json +++ b/.github/compatibility-test-matrices/main/ica-chain-b.json @@ -1,11 +1,10 @@ { "chain-a": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "chain-b": [ "main" @@ -22,4 +21,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/ica-gov-chain-a.json b/.github/compatibility-test-matrices/main/ica-gov-chain-a.json index 1e60c30e10c..b1ca5870d61 100644 --- a/.github/compatibility-test-matrices/main/ica-gov-chain-a.json +++ b/.github/compatibility-test-matrices/main/ica-gov-chain-a.json @@ -4,11 +4,10 @@ ], "chain-b": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "entrypoint": [ "TestInterchainAccountsGovTestSuite" @@ -19,4 +18,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/ica-gov-chain-b.json b/.github/compatibility-test-matrices/main/ica-gov-chain-b.json index 812e45d043d..e70675867d2 100644 --- a/.github/compatibility-test-matrices/main/ica-gov-chain-b.json +++ b/.github/compatibility-test-matrices/main/ica-gov-chain-b.json @@ -1,11 +1,10 @@ { "chain-a": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "chain-b": [ "main" @@ -19,4 +18,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/ica-groups-chain-a.json b/.github/compatibility-test-matrices/main/ica-groups-chain-a.json index 24ed5558b17..c5464057f50 100644 --- a/.github/compatibility-test-matrices/main/ica-groups-chain-a.json +++ b/.github/compatibility-test-matrices/main/ica-groups-chain-a.json @@ -4,11 +4,10 @@ ], "chain-b": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "entrypoint": [ "TestInterchainAccountsGroupsTestSuite" @@ -19,4 +18,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/ica-groups-chain-b.json b/.github/compatibility-test-matrices/main/ica-groups-chain-b.json index 2c9ae25af04..776ee1ffcba 100644 --- a/.github/compatibility-test-matrices/main/ica-groups-chain-b.json +++ b/.github/compatibility-test-matrices/main/ica-groups-chain-b.json @@ -1,11 +1,10 @@ { "chain-a": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "chain-b": [ "main" @@ -19,4 +18,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/main/incentivized-ica-chain-a.json index 606c3323388..66d22a959af 100644 --- a/.github/compatibility-test-matrices/main/incentivized-ica-chain-a.json +++ b/.github/compatibility-test-matrices/main/incentivized-ica-chain-a.json @@ -4,11 +4,10 @@ ], "chain-b": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "entrypoint": [ "TestIncentivizedInterchainAccountsTestSuite" @@ -20,4 +19,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/incentivized-ica-chain-b.json b/.github/compatibility-test-matrices/main/incentivized-ica-chain-b.json index 8e5cc41cfde..34d5248a0d1 100644 --- a/.github/compatibility-test-matrices/main/incentivized-ica-chain-b.json +++ b/.github/compatibility-test-matrices/main/incentivized-ica-chain-b.json @@ -1,11 +1,10 @@ { "chain-a": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "chain-b": [ "main" @@ -20,4 +19,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/main/incentivized-transfer-chain-a.json index f9eebd8ab5a..ee41555f4dd 100644 --- a/.github/compatibility-test-matrices/main/incentivized-transfer-chain-a.json +++ b/.github/compatibility-test-matrices/main/incentivized-transfer-chain-a.json @@ -4,15 +4,10 @@ ], "chain-b": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v5.0.1", - "v4.4.2" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "entrypoint": [ "TestIncentivizedTransferTestSuite" @@ -28,4 +23,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/main/incentivized-transfer-chain-b.json index 1d4d77af20a..9636af33aed 100644 --- a/.github/compatibility-test-matrices/main/incentivized-transfer-chain-b.json +++ b/.github/compatibility-test-matrices/main/incentivized-transfer-chain-b.json @@ -1,15 +1,10 @@ { "chain-a": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v5.0.1", - "v4.4.2" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "chain-b": [ "main" @@ -28,4 +23,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/localhost-ica-chain-a.json b/.github/compatibility-test-matrices/main/localhost-ica-chain-a.json index 772e6e79ac5..58c6623ee26 100644 --- a/.github/compatibility-test-matrices/main/localhost-ica-chain-a.json +++ b/.github/compatibility-test-matrices/main/localhost-ica-chain-a.json @@ -1,9 +1,8 @@ { "chain-a": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0" + "v7.3.1", + "v7.2.2" ], "chain-b": [ "main" @@ -18,4 +17,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/localhost-ica-chain-b.json b/.github/compatibility-test-matrices/main/localhost-ica-chain-b.json index f1298526f19..c94a25d5ef6 100644 --- a/.github/compatibility-test-matrices/main/localhost-ica-chain-b.json +++ b/.github/compatibility-test-matrices/main/localhost-ica-chain-b.json @@ -4,9 +4,8 @@ ], "chain-b": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0" + "v7.3.1", + "v7.2.2" ], "entrypoint": [ "LocalhostInterchainAccountsTestSuite" @@ -18,4 +17,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/localhost-transfer-chain-a.json b/.github/compatibility-test-matrices/main/localhost-transfer-chain-a.json index dc59a9c39e1..7bdb858cae5 100644 --- a/.github/compatibility-test-matrices/main/localhost-transfer-chain-a.json +++ b/.github/compatibility-test-matrices/main/localhost-transfer-chain-a.json @@ -1,9 +1,8 @@ { "chain-a": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0" + "v7.3.1", + "v7.2.2" ], "chain-b": [ "main" @@ -17,4 +16,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/localhost-transfer-chain-b.json b/.github/compatibility-test-matrices/main/localhost-transfer-chain-b.json index b4615810e87..66e0b67079b 100644 --- a/.github/compatibility-test-matrices/main/localhost-transfer-chain-b.json +++ b/.github/compatibility-test-matrices/main/localhost-transfer-chain-b.json @@ -4,9 +4,8 @@ ], "chain-b": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0" + "v7.3.1", + "v7.2.2" ], "entrypoint": [ "LocalhostTransferTestSuite" @@ -17,4 +16,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/transfer-authz-chain-a.json b/.github/compatibility-test-matrices/main/transfer-authz-chain-a.json index 4401586fb27..8ad1f5456de 100644 --- a/.github/compatibility-test-matrices/main/transfer-authz-chain-a.json +++ b/.github/compatibility-test-matrices/main/transfer-authz-chain-a.json @@ -4,10 +4,9 @@ ], "chain-b": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0" + "v7.3.1", + "v7.2.2", + "v6.2.1" ], "entrypoint": [ "TestAuthzTransferTestSuite" @@ -19,4 +18,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/transfer-authz-chain-b.json b/.github/compatibility-test-matrices/main/transfer-authz-chain-b.json index 738e97fcf07..bc3952f8674 100644 --- a/.github/compatibility-test-matrices/main/transfer-authz-chain-b.json +++ b/.github/compatibility-test-matrices/main/transfer-authz-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0" + "v7.3.1", + "v7.2.2", + "v6.2.1" ], "chain-b": [ "main" @@ -19,4 +18,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/transfer-chain-a.json b/.github/compatibility-test-matrices/main/transfer-chain-a.json index 28402cb7bff..3ece4bc68dd 100644 --- a/.github/compatibility-test-matrices/main/transfer-chain-a.json +++ b/.github/compatibility-test-matrices/main/transfer-chain-a.json @@ -4,15 +4,10 @@ ], "chain-b": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v5.0.1", - "v4.4.2" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "entrypoint": [ "TestTransferTestSuite" @@ -28,4 +23,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/main/transfer-chain-b.json b/.github/compatibility-test-matrices/main/transfer-chain-b.json index f0ff70749c2..571d9b077e9 100644 --- a/.github/compatibility-test-matrices/main/transfer-chain-b.json +++ b/.github/compatibility-test-matrices/main/transfer-chain-b.json @@ -1,15 +1,10 @@ { "chain-a": [ "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v5.0.1", - "v4.4.2" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2" ], "chain-b": [ "main" @@ -26,4 +21,4 @@ "relayer-type": [ "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v4.4.x/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v4.4.x/incentivized-transfer-chain-a.json deleted file mode 100644 index 62306b05e70..00000000000 --- a/.github/compatibility-test-matrices/release-v4.4.x/incentivized-transfer-chain-a.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "chain-a": [ - "release-v4.4.x" - ], - "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v4.4.x" - ], - "entrypoint": [ - "TestIncentivizedTransferTestSuite" - ], - "test": [ - "TestMsgPayPacketFee_AsyncSingleSender_Succeeds", - "TestMsgPayPacketFee_InvalidReceiverAccount", - "TestMultiMsg_MsgPayPacketFeeSingleSender", - "TestMsgPayPacketFee_SingleSender_TimesOut", - "TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress", - "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v4.4.x/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/release-v4.4.x/incentivized-transfer-chain-b.json deleted file mode 100644 index e90e88a1ff2..00000000000 --- a/.github/compatibility-test-matrices/release-v4.4.x/incentivized-transfer-chain-b.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v4.4.x" - ], - "chain-b": [ - "release-v4.4.x" - ], - "entrypoint": [ - "TestIncentivizedTransferTestSuite" - ], - "test": [ - "TestMsgPayPacketFee_AsyncSingleSender_Succeeds", - "TestMsgPayPacketFee_InvalidReceiverAccount", - "TestMultiMsg_MsgPayPacketFeeSingleSender", - "TestMsgPayPacketFee_SingleSender_TimesOut", - "TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress", - "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v4.4.x/transfer-chain-a.json b/.github/compatibility-test-matrices/release-v4.4.x/transfer-chain-a.json deleted file mode 100644 index 42b06bd1bab..00000000000 --- a/.github/compatibility-test-matrices/release-v4.4.x/transfer-chain-a.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "chain-a": [ - "release-v4.4.x" - ], - "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v4.4.x" - ], - "entrypoint": [ - "TestTransferTestSuite" - ], - "test": [ - "TestMsgTransfer_Succeeds_Nonincentivized", - "TestMsgTransfer_Fails_InvalidAddress", - "TestMsgTransfer_Timeout_Nonincentivized", - "TestMsgTransfer_WithMemo", - "TestSendEnabledParam", - "TestReceiveEnabledParam" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v4.4.x/transfer-chain-b.json b/.github/compatibility-test-matrices/release-v4.4.x/transfer-chain-b.json deleted file mode 100644 index c4f351a7a5a..00000000000 --- a/.github/compatibility-test-matrices/release-v4.4.x/transfer-chain-b.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v4.4.x" - ], - "chain-b": [ - "release-v4.4.x" - ], - "entrypoint": [ - "TestTransferTestSuite" - ], - "test": [ - "TestMsgTransfer_Succeeds_Nonincentivized", - "TestMsgTransfer_Fails_InvalidAddress", - "TestMsgTransfer_Timeout_Nonincentivized", - "TestMsgTransfer_WithMemo" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v4.5.x/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/release-v4.5.x/incentivized-transfer-chain-b.json deleted file mode 100644 index c2ada12d3f0..00000000000 --- a/.github/compatibility-test-matrices/release-v4.5.x/incentivized-transfer-chain-b.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v4.5.x" - ], - "chain-b": [ - "release-v4.5.x" - ], - "entrypoint": [ - "TestIncentivizedTransferTestSuite" - ], - "test": [ - "TestMsgPayPacketFee_AsyncSingleSender_Succeeds", - "TestMsgPayPacketFee_InvalidReceiverAccount", - "TestMultiMsg_MsgPayPacketFeeSingleSender", - "TestMsgPayPacketFee_SingleSender_TimesOut", - "TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress", - "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v4.5.x/transfer-chain-b.json b/.github/compatibility-test-matrices/release-v4.5.x/transfer-chain-b.json deleted file mode 100644 index 7affd93f257..00000000000 --- a/.github/compatibility-test-matrices/release-v4.5.x/transfer-chain-b.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v4.5.x" - ], - "chain-b": [ - "release-v4.5.x" - ], - "entrypoint": [ - "TestTransferTestSuite" - ], - "test": [ - "TestMsgTransfer_Succeeds_Nonincentivized", - "TestMsgTransfer_Fails_InvalidAddress", - "TestMsgTransfer_Timeout_Nonincentivized", - "TestMsgTransfer_WithMemo" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v5.2.x/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v5.2.x/incentivized-transfer-chain-a.json deleted file mode 100644 index 0085d483878..00000000000 --- a/.github/compatibility-test-matrices/release-v5.2.x/incentivized-transfer-chain-a.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "chain-a": [ - "release-v5.2.x" - ], - "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v5.2.x" - ], - "entrypoint": [ - "TestIncentivizedTransferTestSuite" - ], - "test": [ - "TestMsgPayPacketFee_AsyncSingleSender_Succeeds", - "TestMsgPayPacketFee_InvalidReceiverAccount", - "TestMultiMsg_MsgPayPacketFeeSingleSender", - "TestMsgPayPacketFee_SingleSender_TimesOut", - "TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress", - "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v5.2.x/transfer-chain-a.json b/.github/compatibility-test-matrices/release-v5.2.x/transfer-chain-a.json deleted file mode 100644 index c9188fd853c..00000000000 --- a/.github/compatibility-test-matrices/release-v5.2.x/transfer-chain-a.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "chain-a": [ - "release-v5.2.x" - ], - "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v5.2.x" - ], - "entrypoint": [ - "TestTransferTestSuite" - ], - "test": [ - "TestMsgTransfer_Succeeds_Nonincentivized", - "TestMsgTransfer_Fails_InvalidAddress", - "TestMsgTransfer_Timeout_Nonincentivized", - "TestMsgTransfer_WithMemo", - "TestSendEnabledParam", - "TestReceiveEnabledParam" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v5.3.x/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v5.3.x/incentivized-transfer-chain-a.json deleted file mode 100644 index b5ec731bd79..00000000000 --- a/.github/compatibility-test-matrices/release-v5.3.x/incentivized-transfer-chain-a.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "chain-a": [ - "release-v5.3.x" - ], - "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v5.3.x" - ], - "entrypoint": [ - "TestIncentivizedTransferTestSuite" - ], - "test": [ - "TestMsgPayPacketFee_AsyncSingleSender_Succeeds", - "TestMsgPayPacketFee_InvalidReceiverAccount", - "TestMultiMsg_MsgPayPacketFeeSingleSender", - "TestMsgPayPacketFee_SingleSender_TimesOut", - "TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress", - "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v5.3.x/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/release-v5.3.x/incentivized-transfer-chain-b.json deleted file mode 100644 index 1d7a8480061..00000000000 --- a/.github/compatibility-test-matrices/release-v5.3.x/incentivized-transfer-chain-b.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v5.3.x" - ], - "chain-b": [ - "release-v5.3.x" - ], - "entrypoint": [ - "TestIncentivizedTransferTestSuite" - ], - "test": [ - "TestMsgPayPacketFee_AsyncSingleSender_Succeeds", - "TestMsgPayPacketFee_InvalidReceiverAccount", - "TestMultiMsg_MsgPayPacketFeeSingleSender", - "TestMsgPayPacketFee_SingleSender_TimesOut", - "TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress", - "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v5.3.x/transfer-chain-a.json b/.github/compatibility-test-matrices/release-v5.3.x/transfer-chain-a.json deleted file mode 100644 index 9ba72efbd1d..00000000000 --- a/.github/compatibility-test-matrices/release-v5.3.x/transfer-chain-a.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "chain-a": [ - "release-v5.3.x" - ], - "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v5.3.x" - ], - "entrypoint": [ - "TestTransferTestSuite" - ], - "test": [ - "TestMsgTransfer_Succeeds_Nonincentivized", - "TestMsgTransfer_Fails_InvalidAddress", - "TestMsgTransfer_Timeout_Nonincentivized", - "TestMsgTransfer_WithMemo", - "TestSendEnabledParam", - "TestReceiveEnabledParam" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v5.3.x/transfer-chain-b.json b/.github/compatibility-test-matrices/release-v5.3.x/transfer-chain-b.json deleted file mode 100644 index fbb13a8b5e9..00000000000 --- a/.github/compatibility-test-matrices/release-v5.3.x/transfer-chain-b.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v5.3.x" - ], - "chain-b": [ - "release-v5.3.x" - ], - "entrypoint": [ - "TestTransferTestSuite" - ], - "test": [ - "TestMsgTransfer_Succeeds_Nonincentivized", - "TestMsgTransfer_Fails_InvalidAddress", - "TestMsgTransfer_Timeout_Nonincentivized", - "TestMsgTransfer_WithMemo" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v6.1.x/client-chain-a.json b/.github/compatibility-test-matrices/release-v6.1.x/client-chain-a.json index 46d4a629f02..8bee74e8d7b 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/client-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/client-chain-a.json @@ -3,25 +3,16 @@ "release-v6.1.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", "release-v6.1.x" ], "entrypoint": [ "TestClientTestSuite" ], "test": [ - "TestRecoverClient_Succeeds", - "TestClient_Update_Misbehaviour", - "TestAllowedClientsParam" + "TestClientUpdateProposal_Succeeds", + "TestClient_Update_Misbehaviour" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v6.1.x/client-chain-b.json b/.github/compatibility-test-matrices/release-v6.1.x/client-chain-b.json deleted file mode 100644 index 7577150f0e9..00000000000 --- a/.github/compatibility-test-matrices/release-v6.1.x/client-chain-b.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v6.1.x" - ], - "chain-b": [ - "release-v6.1.x" - ], - "entrypoint": [ - "TestClientTestSuite" - ], - "test": [ - "TestRecoverClient_Succeeds", - "TestClient_Update_Misbehaviour" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v6.1.x/connection-chain-a.json b/.github/compatibility-test-matrices/release-v6.1.x/connection-chain-a.json index 5f365be0680..7f08475a30f 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/connection-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/connection-chain-a.json @@ -3,14 +3,6 @@ "release-v6.1.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", "release-v6.1.x" ], "entrypoint": [ @@ -20,6 +12,6 @@ "TestMaxExpectedTimePerBlockParam" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v6.1.x/connection-chain-b.json b/.github/compatibility-test-matrices/release-v6.1.x/connection-chain-b.json deleted file mode 100644 index b7a12151ee0..00000000000 --- a/.github/compatibility-test-matrices/release-v6.1.x/connection-chain-b.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v6.1.x" - ], - "chain-b": [ - "release-v6.1.x" - ], - "entrypoint": [ - "TestConnectionTestSuite" - ], - "test": [ - "TestMaxExpectedTimePerBlockParam" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v6.1.x/ica-chain-a.json b/.github/compatibility-test-matrices/release-v6.1.x/ica-chain-a.json index 841442ddcc6..f36b97da1bd 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/ica-chain-a.json @@ -3,11 +3,10 @@ "release-v6.1.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "entrypoint": [ @@ -20,6 +19,6 @@ "TestControllerEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/ica-chain-b.json b/.github/compatibility-test-matrices/release-v6.1.x/ica-chain-b.json index 56365ed6a60..b91f79a05d7 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/ica-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/ica-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "chain-b": [ @@ -20,6 +19,6 @@ "TestHostEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/ica-gov-chain-a.json b/.github/compatibility-test-matrices/release-v6.1.x/ica-gov-chain-a.json index 0906d92327b..31ed3721128 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/ica-gov-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/ica-gov-chain-a.json @@ -1,13 +1,12 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", "release-v6.1.x" ], "chain-b": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGovIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/ica-gov-chain-b.json b/.github/compatibility-test-matrices/release-v6.1.x/ica-gov-chain-b.json index cb2c3cc979d..d3d733d665d 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/ica-gov-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/ica-gov-chain-b.json @@ -1,13 +1,12 @@ { "chain-a": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", "release-v6.1.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGovIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/ica-groups-chain-a.json b/.github/compatibility-test-matrices/release-v6.1.x/ica-groups-chain-a.json index d1771da3e65..c4bbe211fb1 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/ica-groups-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/ica-groups-chain-a.json @@ -3,11 +3,10 @@ "release-v6.1.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGroupsIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/ica-groups-chain-b.json b/.github/compatibility-test-matrices/release-v6.1.x/ica-groups-chain-b.json index 6ac6acb9256..fb79b76d69b 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/ica-groups-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/ica-groups-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "chain-b": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGroupsIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/release-v6.1.x/incentivized-ica-chain-a.json index 7a3e35f7113..2907e9be15b 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/incentivized-ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/incentivized-ica-chain-a.json @@ -3,11 +3,10 @@ "release-v6.1.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "entrypoint": [ @@ -18,6 +17,6 @@ "TestMsgSendTx_FailedBankSend_Incentivized" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/incentivized-ica-chain-b.json b/.github/compatibility-test-matrices/release-v6.1.x/incentivized-ica-chain-b.json index 295303b4373..2a124197602 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/incentivized-ica-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/incentivized-ica-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "chain-b": [ @@ -18,6 +17,6 @@ "TestMsgSendTx_FailedBankSend_Incentivized" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v6.1.x/incentivized-transfer-chain-a.json index 5fd57a30a31..9edbd3d901d 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/incentivized-transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/incentivized-transfer-chain-a.json @@ -3,14 +3,10 @@ "release-v6.1.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "entrypoint": [ @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/release-v6.1.x/incentivized-transfer-chain-b.json index f8205415b2a..f93331d2275 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/incentivized-transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/incentivized-transfer-chain-b.json @@ -1,13 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "chain-b": [ @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/transfer-chain-a.json b/.github/compatibility-test-matrices/release-v6.1.x/transfer-chain-a.json index 5a2b1e94a16..1362ca570f4 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/transfer-chain-a.json @@ -3,14 +3,10 @@ "release-v6.1.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "entrypoint": [ @@ -25,6 +21,6 @@ "TestReceiveEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.1.x/transfer-chain-b.json b/.github/compatibility-test-matrices/release-v6.1.x/transfer-chain-b.json index 47a1103398a..eba66af564f 100644 --- a/.github/compatibility-test-matrices/release-v6.1.x/transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.1.x/transfer-chain-b.json @@ -1,13 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.1.x" ], "chain-b": [ @@ -23,6 +19,6 @@ "TestMsgTransfer_WithMemo" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/client-chain-a.json b/.github/compatibility-test-matrices/release-v6.2.x/client-chain-a.json index 03b7d4419d2..0d7da086fd8 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/client-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/client-chain-a.json @@ -3,25 +3,16 @@ "release-v6.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", "release-v6.2.x" ], "entrypoint": [ "TestClientTestSuite" ], "test": [ - "TestRecoverClient_Succeeds", - "TestClient_Update_Misbehaviour", - "TestAllowedClientsParam" + "TestClientUpdateProposal_Succeeds", + "TestClient_Update_Misbehaviour" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v6.2.x/client-chain-b.json b/.github/compatibility-test-matrices/release-v6.2.x/client-chain-b.json deleted file mode 100644 index 26f59eab2f5..00000000000 --- a/.github/compatibility-test-matrices/release-v6.2.x/client-chain-b.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v6.2.x" - ], - "chain-b": [ - "release-v6.2.x" - ], - "entrypoint": [ - "TestClientTestSuite" - ], - "test": [ - "TestRecoverClient_Succeeds", - "TestClient_Update_Misbehaviour" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v6.2.x/connection-chain-a.json b/.github/compatibility-test-matrices/release-v6.2.x/connection-chain-a.json index 64684375b2f..cc77980f7d7 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/connection-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/connection-chain-a.json @@ -3,14 +3,6 @@ "release-v6.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", "release-v6.2.x" ], "entrypoint": [ @@ -20,6 +12,6 @@ "TestMaxExpectedTimePerBlockParam" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v6.2.x/connection-chain-b.json b/.github/compatibility-test-matrices/release-v6.2.x/connection-chain-b.json deleted file mode 100644 index 396f7f35f4f..00000000000 --- a/.github/compatibility-test-matrices/release-v6.2.x/connection-chain-b.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v6.2.x" - ], - "chain-b": [ - "release-v6.2.x" - ], - "entrypoint": [ - "TestConnectionTestSuite" - ], - "test": [ - "TestMaxExpectedTimePerBlockParam" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v6.2.x/ica-chain-a.json b/.github/compatibility-test-matrices/release-v6.2.x/ica-chain-a.json index bdbb382580a..6fce19cd91d 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/ica-chain-a.json @@ -3,11 +3,10 @@ "release-v6.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "entrypoint": [ @@ -20,6 +19,6 @@ "TestControllerEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/ica-chain-b.json b/.github/compatibility-test-matrices/release-v6.2.x/ica-chain-b.json index f4ebc2c4c2f..c9ee28f6c26 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/ica-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/ica-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "chain-b": [ @@ -20,6 +19,6 @@ "TestHostEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/ica-gov-chain-a.json b/.github/compatibility-test-matrices/release-v6.2.x/ica-gov-chain-a.json index a9042fce3fb..ac88ef68115 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/ica-gov-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/ica-gov-chain-a.json @@ -1,13 +1,12 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", "release-v6.2.x" ], "chain-b": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGovIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/ica-gov-chain-b.json b/.github/compatibility-test-matrices/release-v6.2.x/ica-gov-chain-b.json index 258c49767df..2727fd9bf15 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/ica-gov-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/ica-gov-chain-b.json @@ -1,13 +1,12 @@ { "chain-a": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", "release-v6.2.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGovIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/ica-groups-chain-a.json b/.github/compatibility-test-matrices/release-v6.2.x/ica-groups-chain-a.json index 3b3e5b2ff93..a891a80b51f 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/ica-groups-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/ica-groups-chain-a.json @@ -3,11 +3,10 @@ "release-v6.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGroupsIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/ica-groups-chain-b.json b/.github/compatibility-test-matrices/release-v6.2.x/ica-groups-chain-b.json index bf7f1578ee8..92a83490d00 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/ica-groups-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/ica-groups-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "chain-b": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGroupsIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/release-v6.2.x/incentivized-ica-chain-a.json index 2259ca98a6d..3d81377a125 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/incentivized-ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/incentivized-ica-chain-a.json @@ -3,11 +3,10 @@ "release-v6.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "entrypoint": [ @@ -18,6 +17,6 @@ "TestMsgSendTx_FailedBankSend_Incentivized" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/incentivized-ica-chain-b.json b/.github/compatibility-test-matrices/release-v6.2.x/incentivized-ica-chain-b.json index 40418938c0c..7911bd887e4 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/incentivized-ica-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/incentivized-ica-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "chain-b": [ @@ -18,6 +17,6 @@ "TestMsgSendTx_FailedBankSend_Incentivized" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v6.2.x/incentivized-transfer-chain-a.json index cdc476e6499..80d1ad6de4b 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/incentivized-transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/incentivized-transfer-chain-a.json @@ -3,14 +3,10 @@ "release-v6.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "entrypoint": [ @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/release-v6.2.x/incentivized-transfer-chain-b.json index 00b19b989ea..1fd5d07dc0c 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/incentivized-transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/incentivized-transfer-chain-b.json @@ -1,13 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "chain-b": [ @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/transfer-authz-chain-a.json b/.github/compatibility-test-matrices/release-v6.2.x/transfer-authz-chain-a.json index 6da7db5443a..eddffcf6c0c 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/transfer-authz-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/transfer-authz-chain-a.json @@ -3,10 +3,9 @@ "release-v6.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", + "v7.3.1", + "v7.2.2", + "v6.2.1", "release-v6.2.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestAuthz_InvalidTransferAuthorizations" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/transfer-authz-chain-b.json b/.github/compatibility-test-matrices/release-v6.2.x/transfer-authz-chain-b.json index 62b73d08fde..0849d7f70ab 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/transfer-authz-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/transfer-authz-chain-b.json @@ -1,9 +1,8 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", + "v7.3.1", + "v7.2.2", + "v6.2.1", "release-v6.2.x" ], "chain-b": [ @@ -17,6 +16,6 @@ "TestAuthz_InvalidTransferAuthorizations" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/transfer-chain-a.json b/.github/compatibility-test-matrices/release-v6.2.x/transfer-chain-a.json index 3eec15d0ca2..a718b84d382 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/transfer-chain-a.json @@ -3,14 +3,10 @@ "release-v6.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "entrypoint": [ @@ -25,6 +21,6 @@ "TestReceiveEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v6.2.x/transfer-chain-b.json b/.github/compatibility-test-matrices/release-v6.2.x/transfer-chain-b.json index 0dc87583578..6b301ec5974 100644 --- a/.github/compatibility-test-matrices/release-v6.2.x/transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v6.2.x/transfer-chain-b.json @@ -1,13 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v6.2.x" ], "chain-b": [ @@ -23,6 +19,6 @@ "TestMsgTransfer_WithMemo" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/client-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/client-chain-a.json index b967403da81..b71cc49edc9 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/client-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/client-chain-a.json @@ -3,25 +3,17 @@ "release-v7.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", "release-v7.2.x" ], "entrypoint": [ "TestClientTestSuite" ], "test": [ - "TestRecoverClient_Succeeds", + "TestClientUpdateProposal_Succeeds", "TestClient_Update_Misbehaviour", "TestAllowedClientsParam" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v7.2.x/client-chain-b.json b/.github/compatibility-test-matrices/release-v7.2.x/client-chain-b.json deleted file mode 100644 index 962f4a3630c..00000000000 --- a/.github/compatibility-test-matrices/release-v7.2.x/client-chain-b.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v7.2.x" - ], - "chain-b": [ - "release-v7.2.x" - ], - "entrypoint": [ - "TestClientTestSuite" - ], - "test": [ - "TestRecoverClient_Succeeds", - "TestClient_Update_Misbehaviour" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v7.2.x/connection-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/connection-chain-a.json index 4a4cb2eba21..e74afb32de7 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/connection-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/connection-chain-a.json @@ -3,14 +3,6 @@ "release-v7.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", "release-v7.2.x" ], "entrypoint": [ @@ -20,6 +12,6 @@ "TestMaxExpectedTimePerBlockParam" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v7.2.x/connection-chain-b.json b/.github/compatibility-test-matrices/release-v7.2.x/connection-chain-b.json deleted file mode 100644 index 7b08ed06402..00000000000 --- a/.github/compatibility-test-matrices/release-v7.2.x/connection-chain-b.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v7.2.x" - ], - "chain-b": [ - "release-v7.2.x" - ], - "entrypoint": [ - "TestConnectionTestSuite" - ], - "test": [ - "TestMaxExpectedTimePerBlockParam" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v7.2.x/ica-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/ica-chain-a.json index 1b67773e2a4..7cb11dc6065 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/ica-chain-a.json @@ -3,11 +3,10 @@ "release-v7.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "entrypoint": [ @@ -20,6 +19,6 @@ "TestControllerEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/ica-chain-b.json b/.github/compatibility-test-matrices/release-v7.2.x/ica-chain-b.json index f869b0ca1b0..1f1ad0aecac 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/ica-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/ica-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "chain-b": [ @@ -20,6 +19,6 @@ "TestHostEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/ica-gov-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/ica-gov-chain-a.json index 74f50c753ac..a488fdc58ca 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/ica-gov-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/ica-gov-chain-a.json @@ -1,13 +1,12 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", "release-v7.2.x" ], "chain-b": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGovIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/ica-gov-chain-b.json b/.github/compatibility-test-matrices/release-v7.2.x/ica-gov-chain-b.json index 634a459c5c8..0c34acf12cd 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/ica-gov-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/ica-gov-chain-b.json @@ -1,13 +1,12 @@ { "chain-a": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", "release-v7.2.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGovIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/ica-groups-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/ica-groups-chain-a.json index 569e1165da2..436afd85d9b 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/ica-groups-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/ica-groups-chain-a.json @@ -3,11 +3,10 @@ "release-v7.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGroupsIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/ica-groups-chain-b.json b/.github/compatibility-test-matrices/release-v7.2.x/ica-groups-chain-b.json index e56416efd52..404421ad8d7 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/ica-groups-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/ica-groups-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "chain-b": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGroupsIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/incentivized-ica-chain-a.json index a39e0125812..6476607392d 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/incentivized-ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/incentivized-ica-chain-a.json @@ -3,11 +3,10 @@ "release-v7.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "entrypoint": [ @@ -18,6 +17,6 @@ "TestMsgSendTx_FailedBankSend_Incentivized" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/incentivized-ica-chain-b.json b/.github/compatibility-test-matrices/release-v7.2.x/incentivized-ica-chain-b.json index 27bcaf73c73..3ab227a4b20 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/incentivized-ica-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/incentivized-ica-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "chain-b": [ @@ -18,6 +17,6 @@ "TestMsgSendTx_FailedBankSend_Incentivized" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/incentivized-transfer-chain-a.json index de1d1343410..adfdb694a79 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/incentivized-transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/incentivized-transfer-chain-a.json @@ -3,14 +3,10 @@ "release-v7.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "entrypoint": [ @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/release-v7.2.x/incentivized-transfer-chain-b.json index f08b1041a93..e66a1fe1cb7 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/incentivized-transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/incentivized-transfer-chain-b.json @@ -1,13 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "chain-b": [ @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/localhost-ica-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/localhost-ica-chain-a.json index 37bcdbe235d..5c109eb5211 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/localhost-ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/localhost-ica-chain-a.json @@ -13,6 +13,6 @@ "TestInterchainAccounts_ReopenChannel_Localhost" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v7.2.x/localhost-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/localhost-transfer-chain-a.json index 03c1d6f456b..6e6c99396c7 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/localhost-transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/localhost-transfer-chain-a.json @@ -12,6 +12,6 @@ "TestMsgTransfer_Localhost" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v7.2.x/transfer-authz-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/transfer-authz-chain-a.json index dce028b6b44..da8079c4a3d 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/transfer-authz-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/transfer-authz-chain-a.json @@ -3,10 +3,9 @@ "release-v7.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", + "v7.3.1", + "v7.2.2", + "v6.2.1", "release-v7.2.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestAuthz_InvalidTransferAuthorizations" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/transfer-authz-chain-b.json b/.github/compatibility-test-matrices/release-v7.2.x/transfer-authz-chain-b.json index 5cc9e21b75b..fb8384184d3 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/transfer-authz-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/transfer-authz-chain-b.json @@ -1,9 +1,8 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", + "v7.3.1", + "v7.2.2", + "v6.2.1", "release-v7.2.x" ], "chain-b": [ @@ -17,6 +16,6 @@ "TestAuthz_InvalidTransferAuthorizations" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/transfer-chain-a.json b/.github/compatibility-test-matrices/release-v7.2.x/transfer-chain-a.json index 7a5865ca6a8..abe8f1a8362 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/transfer-chain-a.json @@ -3,14 +3,10 @@ "release-v7.2.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "entrypoint": [ @@ -25,6 +21,6 @@ "TestReceiveEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.2.x/transfer-chain-b.json b/.github/compatibility-test-matrices/release-v7.2.x/transfer-chain-b.json index 79aeabd8de5..ac9c66f1c7a 100644 --- a/.github/compatibility-test-matrices/release-v7.2.x/transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.2.x/transfer-chain-b.json @@ -1,13 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.2.x" ], "chain-b": [ @@ -23,6 +19,6 @@ "TestMsgTransfer_WithMemo" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/client-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/client-chain-a.json index 3f8dbebb91d..232376b5f6b 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/client-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/client-chain-a.json @@ -3,25 +3,17 @@ "release-v7.3.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", "release-v7.3.x" ], "entrypoint": [ "TestClientTestSuite" ], "test": [ - "TestRecoverClient_Succeeds", + "TestClientUpdateProposal_Succeeds", "TestClient_Update_Misbehaviour", "TestAllowedClientsParam" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v7.3.x/client-chain-b.json b/.github/compatibility-test-matrices/release-v7.3.x/client-chain-b.json deleted file mode 100644 index dc2ba0207ff..00000000000 --- a/.github/compatibility-test-matrices/release-v7.3.x/client-chain-b.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v7.3.x" - ], - "chain-b": [ - "release-v7.3.x" - ], - "entrypoint": [ - "TestClientTestSuite" - ], - "test": [ - "TestRecoverClient_Succeeds", - "TestClient_Update_Misbehaviour" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v7.3.x/connection-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/connection-chain-a.json index 081592b66a5..813007e52a2 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/connection-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/connection-chain-a.json @@ -3,14 +3,6 @@ "release-v7.3.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", "release-v7.3.x" ], "entrypoint": [ @@ -20,6 +12,6 @@ "TestMaxExpectedTimePerBlockParam" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v7.3.x/connection-chain-b.json b/.github/compatibility-test-matrices/release-v7.3.x/connection-chain-b.json deleted file mode 100644 index 89bc792ff2c..00000000000 --- a/.github/compatibility-test-matrices/release-v7.3.x/connection-chain-b.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v7.3.x" - ], - "chain-b": [ - "release-v7.3.x" - ], - "entrypoint": [ - "TestConnectionTestSuite" - ], - "test": [ - "TestMaxExpectedTimePerBlockParam" - ], - "relayer-type": [ - "rly" - ] -} diff --git a/.github/compatibility-test-matrices/release-v7.3.x/ica-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/ica-chain-a.json index 0c93d39a839..5dc69a3f892 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/ica-chain-a.json @@ -3,11 +3,10 @@ "release-v7.3.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "entrypoint": [ @@ -20,6 +19,6 @@ "TestControllerEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/ica-chain-b.json b/.github/compatibility-test-matrices/release-v7.3.x/ica-chain-b.json index b30269a4d4e..979a658f460 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/ica-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/ica-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "chain-b": [ @@ -20,6 +19,6 @@ "TestHostEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/ica-gov-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/ica-gov-chain-a.json index 31a6f5f26a5..64bc11d2a6c 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/ica-gov-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/ica-gov-chain-a.json @@ -1,13 +1,12 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", "release-v7.3.x" ], "chain-b": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGovIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/ica-gov-chain-b.json b/.github/compatibility-test-matrices/release-v7.3.x/ica-gov-chain-b.json index 9fc30a684fb..0b5a011b2f1 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/ica-gov-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/ica-gov-chain-b.json @@ -1,13 +1,12 @@ { "chain-a": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", "release-v7.3.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGovIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/ica-groups-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/ica-groups-chain-a.json index 6a806d74be8..c41f8800935 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/ica-groups-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/ica-groups-chain-a.json @@ -3,11 +3,10 @@ "release-v7.3.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGroupsIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/ica-groups-chain-b.json b/.github/compatibility-test-matrices/release-v7.3.x/ica-groups-chain-b.json index 6ba27dec63e..c040caa9ce6 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/ica-groups-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/ica-groups-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "chain-b": [ @@ -17,6 +16,6 @@ "TestInterchainAccountsGroupsIntegration" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/incentivized-ica-chain-a.json index 2992865135d..160a4535fb0 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/incentivized-ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/incentivized-ica-chain-a.json @@ -3,11 +3,10 @@ "release-v7.3.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "entrypoint": [ @@ -18,6 +17,6 @@ "TestMsgSendTx_FailedBankSend_Incentivized" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/incentivized-ica-chain-b.json b/.github/compatibility-test-matrices/release-v7.3.x/incentivized-ica-chain-b.json index 379a60c2bfe..f5477ec766d 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/incentivized-ica-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/incentivized-ica-chain-b.json @@ -1,10 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "chain-b": [ @@ -18,6 +17,6 @@ "TestMsgSendTx_FailedBankSend_Incentivized" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/incentivized-transfer-chain-a.json index 27fee582838..9d1fb66539f 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/incentivized-transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/incentivized-transfer-chain-a.json @@ -3,14 +3,10 @@ "release-v7.3.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "entrypoint": [ @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/release-v7.3.x/incentivized-transfer-chain-b.json index bdf8dd6fb68..1a0453cb237 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/incentivized-transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/incentivized-transfer-chain-b.json @@ -1,13 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "chain-b": [ @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/localhost-ica-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/localhost-ica-chain-a.json index afc1b0f5444..68c4e7b8d89 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/localhost-ica-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/localhost-ica-chain-a.json @@ -13,6 +13,6 @@ "TestInterchainAccounts_ReopenChannel_Localhost" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v7.3.x/localhost-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/localhost-transfer-chain-a.json index 32013d9a848..624fac9e1b2 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/localhost-transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/localhost-transfer-chain-a.json @@ -12,6 +12,6 @@ "TestMsgTransfer_Localhost" ], "relayer-type": [ - "rly" + "hermes" ] } diff --git a/.github/compatibility-test-matrices/release-v7.3.x/transfer-authz-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/transfer-authz-chain-a.json index 4d5b9b7d351..0ce8df49d72 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/transfer-authz-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/transfer-authz-chain-a.json @@ -3,10 +3,9 @@ "release-v7.3.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", + "v7.3.1", + "v7.2.2", + "v6.2.1", "release-v7.3.x" ], "entrypoint": [ @@ -17,6 +16,6 @@ "TestAuthz_InvalidTransferAuthorizations" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/transfer-authz-chain-b.json b/.github/compatibility-test-matrices/release-v7.3.x/transfer-authz-chain-b.json index 31cb1395f23..97314aea1cc 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/transfer-authz-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/transfer-authz-chain-b.json @@ -1,9 +1,8 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", + "v7.3.1", + "v7.2.2", + "v6.2.1", "release-v7.3.x" ], "chain-b": [ @@ -17,6 +16,6 @@ "TestAuthz_InvalidTransferAuthorizations" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/transfer-chain-a.json b/.github/compatibility-test-matrices/release-v7.3.x/transfer-chain-a.json index b372cd04e15..f0abdb04f8b 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/transfer-chain-a.json @@ -3,14 +3,10 @@ "release-v7.3.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "entrypoint": [ @@ -25,6 +21,6 @@ "TestReceiveEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v7.3.x/transfer-chain-b.json b/.github/compatibility-test-matrices/release-v7.3.x/transfer-chain-b.json index 2ed79a855fd..980443384fe 100644 --- a/.github/compatibility-test-matrices/release-v7.3.x/transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v7.3.x/transfer-chain-b.json @@ -1,13 +1,9 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", "release-v7.3.x" ], "chain-b": [ @@ -23,6 +19,6 @@ "TestMsgTransfer_WithMemo" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/client-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/client-chain-a.json new file mode 100644 index 00000000000..d86c2a43168 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/client-chain-a.json @@ -0,0 +1,21 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "TestClientTestSuite" + ], + "test": [ + "TestClientUpdateProposal_Succeeds", + "TestRecoverClient_Succeeds", + "TestScheduleIBCUpgrade_Succeeds", + "TestClient_Update_Misbehaviour", + "TestAllowedClientsParam" + ], + "relayer-type": [ + "hermes" + ] +} diff --git a/.github/compatibility-test-matrices/main/connection-chain-b.json b/.github/compatibility-test-matrices/release-v8.0.x/connection-chain-a.json similarity index 56% rename from .github/compatibility-test-matrices/main/connection-chain-b.json rename to .github/compatibility-test-matrices/release-v8.0.x/connection-chain-a.json index 196420b102b..5cb2aea9fc4 100644 --- a/.github/compatibility-test-matrices/main/connection-chain-b.json +++ b/.github/compatibility-test-matrices/release-v8.0.x/connection-chain-a.json @@ -1,18 +1,9 @@ { "chain-a": [ - "main", - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v5.0.1", - "v4.4.2" + "release-v8.0.x" ], "chain-b": [ - "main" + "release-v8.0.x" ], "entrypoint": [ "TestConnectionTestSuite" diff --git a/.github/compatibility-test-matrices/release-v8.0.x/genesis-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/genesis-chain-a.json new file mode 100644 index 00000000000..b7b3a30bf0c --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/genesis-chain-a.json @@ -0,0 +1,17 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "TestGenesisTestSuite" + ], + "test": [ + "TestIBCGenesis" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/ica-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/ica-chain-a.json new file mode 100644 index 00000000000..4c34abe5141 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/ica-chain-a.json @@ -0,0 +1,24 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" + ], + "entrypoint": [ + "TestInterchainAccountsTestSuite" + ], + "test": [ + "TestMsgSendTx_SuccessfulTransfer", + "TestMsgSendTx_FailedTransfer_InsufficientFunds", + "TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA", + "TestControllerEnabledParam" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/ica-chain-b.json b/.github/compatibility-test-matrices/release-v8.0.x/ica-chain-b.json new file mode 100644 index 00000000000..0d33191e479 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/ica-chain-b.json @@ -0,0 +1,24 @@ +{ + "chain-a": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "TestInterchainAccountsTestSuite" + ], + "test": [ + "TestMsgSendTx_SuccessfulTransfer", + "TestMsgSendTx_FailedTransfer_InsufficientFunds", + "TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA", + "TestHostEnabledParam" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/ica-gov-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/ica-gov-chain-a.json new file mode 100644 index 00000000000..bd245714b65 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/ica-gov-chain-a.json @@ -0,0 +1,21 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" + ], + "entrypoint": [ + "TestInterchainAccountsGovTestSuite" + ], + "test": [ + "TestInterchainAccountsGovIntegration" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/ica-gov-chain-b.json b/.github/compatibility-test-matrices/release-v8.0.x/ica-gov-chain-b.json new file mode 100644 index 00000000000..ec922a1af3e --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/ica-gov-chain-b.json @@ -0,0 +1,21 @@ +{ + "chain-a": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "TestInterchainAccountsGovTestSuite" + ], + "test": [ + "TestInterchainAccountsGovIntegration" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/ica-groups-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/ica-groups-chain-a.json new file mode 100644 index 00000000000..55067f0bba9 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/ica-groups-chain-a.json @@ -0,0 +1,21 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" + ], + "entrypoint": [ + "TestInterchainAccountsGroupsTestSuite" + ], + "test": [ + "TestInterchainAccountsGroupsIntegration" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/ica-groups-chain-b.json b/.github/compatibility-test-matrices/release-v8.0.x/ica-groups-chain-b.json new file mode 100644 index 00000000000..c07b5511f38 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/ica-groups-chain-b.json @@ -0,0 +1,21 @@ +{ + "chain-a": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "TestInterchainAccountsGroupsTestSuite" + ], + "test": [ + "TestInterchainAccountsGroupsIntegration" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/incentivized-ica-chain-a.json new file mode 100644 index 00000000000..34d1722cca3 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/incentivized-ica-chain-a.json @@ -0,0 +1,22 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" + ], + "entrypoint": [ + "TestIncentivizedInterchainAccountsTestSuite" + ], + "test": [ + "TestMsgSendTx_SuccessfulBankSend_Incentivized", + "TestMsgSendTx_FailedBankSend_Incentivized" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/incentivized-ica-chain-b.json b/.github/compatibility-test-matrices/release-v8.0.x/incentivized-ica-chain-b.json new file mode 100644 index 00000000000..49195a9587d --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/incentivized-ica-chain-b.json @@ -0,0 +1,22 @@ +{ + "chain-a": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "TestIncentivizedInterchainAccountsTestSuite" + ], + "test": [ + "TestMsgSendTx_SuccessfulBankSend_Incentivized", + "TestMsgSendTx_FailedBankSend_Incentivized" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v4.5.x/incentivized-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/incentivized-transfer-chain-a.json similarity index 73% rename from .github/compatibility-test-matrices/release-v4.5.x/incentivized-transfer-chain-a.json rename to .github/compatibility-test-matrices/release-v8.0.x/incentivized-transfer-chain-a.json index 5ebfbf126c9..a0a857df50a 100644 --- a/.github/compatibility-test-matrices/release-v4.5.x/incentivized-transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v8.0.x/incentivized-transfer-chain-a.json @@ -1,17 +1,13 @@ { "chain-a": [ - "release-v4.5.x" + "release-v8.0.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v4.5.x" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" ], "entrypoint": [ "TestIncentivizedTransferTestSuite" @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v5.2.x/incentivized-transfer-chain-b.json b/.github/compatibility-test-matrices/release-v8.0.x/incentivized-transfer-chain-b.json similarity index 73% rename from .github/compatibility-test-matrices/release-v5.2.x/incentivized-transfer-chain-b.json rename to .github/compatibility-test-matrices/release-v8.0.x/incentivized-transfer-chain-b.json index 67428a82301..c1d0ce4e2ce 100644 --- a/.github/compatibility-test-matrices/release-v5.2.x/incentivized-transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v8.0.x/incentivized-transfer-chain-b.json @@ -1,17 +1,13 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v5.2.x" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" ], "chain-b": [ - "release-v5.2.x" + "release-v8.0.x" ], "entrypoint": [ "TestIncentivizedTransferTestSuite" @@ -25,6 +21,6 @@ "TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/localhost-ica-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/localhost-ica-chain-a.json new file mode 100644 index 00000000000..2ff2171aff8 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/localhost-ica-chain-a.json @@ -0,0 +1,18 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "LocalhostInterchainAccountsTestSuite" + ], + "test": [ + "TestInterchainAccounts_Localhost", + "TestInterchainAccounts_ReopenChannel_Localhost" + ], + "relayer-type": [ + "hermes" + ] +} diff --git a/.github/compatibility-test-matrices/release-v8.0.x/localhost-transfer-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/localhost-transfer-chain-a.json new file mode 100644 index 00000000000..476845f7dd4 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/localhost-transfer-chain-a.json @@ -0,0 +1,17 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "LocalhostTransferTestSuite" + ], + "test": [ + "TestMsgTransfer_Localhost" + ], + "relayer-type": [ + "hermes" + ] +} diff --git a/.github/compatibility-test-matrices/release-v8.0.x/transfer-authz-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/transfer-authz-chain-a.json new file mode 100644 index 00000000000..466c1e903d4 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/transfer-authz-chain-a.json @@ -0,0 +1,21 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "release-v8.0.x" + ], + "entrypoint": [ + "TestAuthzTransferTestSuite" + ], + "test": [ + "TestAuthz_MsgTransfer_Succeeds", + "TestAuthz_InvalidTransferAuthorizations" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v8.0.x/transfer-authz-chain-b.json b/.github/compatibility-test-matrices/release-v8.0.x/transfer-authz-chain-b.json new file mode 100644 index 00000000000..4d8bfc2f683 --- /dev/null +++ b/.github/compatibility-test-matrices/release-v8.0.x/transfer-authz-chain-b.json @@ -0,0 +1,21 @@ +{ + "chain-a": [ + "v7.3.1", + "v7.2.2", + "v6.2.1", + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "TestAuthzTransferTestSuite" + ], + "test": [ + "TestAuthz_MsgTransfer_Succeeds", + "TestAuthz_InvalidTransferAuthorizations" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v4.5.x/transfer-chain-a.json b/.github/compatibility-test-matrices/release-v8.0.x/transfer-chain-a.json similarity index 68% rename from .github/compatibility-test-matrices/release-v4.5.x/transfer-chain-a.json rename to .github/compatibility-test-matrices/release-v8.0.x/transfer-chain-a.json index e855fd7499a..5f6cd8a7868 100644 --- a/.github/compatibility-test-matrices/release-v4.5.x/transfer-chain-a.json +++ b/.github/compatibility-test-matrices/release-v8.0.x/transfer-chain-a.json @@ -1,17 +1,13 @@ { "chain-a": [ - "release-v4.5.x" + "release-v8.0.x" ], "chain-b": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v4.5.x" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" ], "entrypoint": [ "TestTransferTestSuite" @@ -25,6 +21,6 @@ "TestReceiveEnabledParam" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/release-v5.2.x/transfer-chain-b.json b/.github/compatibility-test-matrices/release-v8.0.x/transfer-chain-b.json similarity index 64% rename from .github/compatibility-test-matrices/release-v5.2.x/transfer-chain-b.json rename to .github/compatibility-test-matrices/release-v8.0.x/transfer-chain-b.json index c00d0232577..1070fcc9494 100644 --- a/.github/compatibility-test-matrices/release-v5.2.x/transfer-chain-b.json +++ b/.github/compatibility-test-matrices/release-v8.0.x/transfer-chain-b.json @@ -1,17 +1,13 @@ { "chain-a": [ - "v7.3.0", - "v7.2.1", - "v7.2.0", - "v6.2.0", - "v6.1.1", - "v5.3.1", - "v5.2.1", - "v4.4.2", - "release-v5.2.x" + "v7.3.1", + "v7.2.2", + "v6.2.1", + "v6.1.2", + "release-v8.0.x" ], "chain-b": [ - "release-v5.2.x" + "release-v8.0.x" ], "entrypoint": [ "TestTransferTestSuite" @@ -23,6 +19,6 @@ "TestMsgTransfer_WithMemo" ], "relayer-type": [ - "rly" + "hermes" ] -} +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/unreleased/client.json b/.github/compatibility-test-matrices/unreleased/client.json index 37279977112..60dd836b253 100644 --- a/.github/compatibility-test-matrices/unreleased/client.json +++ b/.github/compatibility-test-matrices/unreleased/client.json @@ -1,29 +1,25 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "entrypoint": [ "TestClientTestSuite" ], "test": [ + "TestClientUpdateProposal_Succeeds", "TestRecoverClient_Succeeds", + "TestScheduleIBCUpgrade_Succeeds", "TestClient_Update_Misbehaviour", "TestAllowedClientsParam" ], diff --git a/.github/compatibility-test-matrices/unreleased/connection.json b/.github/compatibility-test-matrices/unreleased/connection.json index 65650b6bf3a..23a5b9054ba 100644 --- a/.github/compatibility-test-matrices/unreleased/connection.json +++ b/.github/compatibility-test-matrices/unreleased/connection.json @@ -1,23 +1,17 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "entrypoint": [ "TestConnectionTestSuite" diff --git a/.github/compatibility-test-matrices/unreleased/genesis.json b/.github/compatibility-test-matrices/unreleased/genesis.json new file mode 100644 index 00000000000..b7b3a30bf0c --- /dev/null +++ b/.github/compatibility-test-matrices/unreleased/genesis.json @@ -0,0 +1,17 @@ +{ + "chain-a": [ + "release-v8.0.x" + ], + "chain-b": [ + "release-v8.0.x" + ], + "entrypoint": [ + "TestGenesisTestSuite" + ], + "test": [ + "TestIBCGenesis" + ], + "relayer-type": [ + "hermes" + ] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/unreleased/ica-gov.json b/.github/compatibility-test-matrices/unreleased/ica-gov.json index 70b1131d898..4747c4b0960 100644 --- a/.github/compatibility-test-matrices/unreleased/ica-gov.json +++ b/.github/compatibility-test-matrices/unreleased/ica-gov.json @@ -1,11 +1,13 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", diff --git a/.github/compatibility-test-matrices/unreleased/ica-groups.json b/.github/compatibility-test-matrices/unreleased/ica-groups.json index e7742853db2..96b75a78264 100644 --- a/.github/compatibility-test-matrices/unreleased/ica-groups.json +++ b/.github/compatibility-test-matrices/unreleased/ica-groups.json @@ -1,11 +1,13 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", diff --git a/.github/compatibility-test-matrices/unreleased/ica.json b/.github/compatibility-test-matrices/unreleased/ica.json index bafb6e764a0..5a83b5c34a9 100644 --- a/.github/compatibility-test-matrices/unreleased/ica.json +++ b/.github/compatibility-test-matrices/unreleased/ica.json @@ -1,11 +1,13 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", diff --git a/.github/compatibility-test-matrices/unreleased/incentivized-ica.json b/.github/compatibility-test-matrices/unreleased/incentivized-ica.json index 37821cdcdd0..4e2079018cf 100644 --- a/.github/compatibility-test-matrices/unreleased/incentivized-ica.json +++ b/.github/compatibility-test-matrices/unreleased/incentivized-ica.json @@ -1,11 +1,13 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", diff --git a/.github/compatibility-test-matrices/unreleased/incentivized-transfer-1.json b/.github/compatibility-test-matrices/unreleased/incentivized-transfer-1.json index 05f640ffd2f..908fc6c3c60 100644 --- a/.github/compatibility-test-matrices/unreleased/incentivized-transfer-1.json +++ b/.github/compatibility-test-matrices/unreleased/incentivized-transfer-1.json @@ -1,23 +1,17 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "entrypoint": [ "TestIncentivizedTransferTestSuite" diff --git a/.github/compatibility-test-matrices/unreleased/incentivized-transfer-2.json b/.github/compatibility-test-matrices/unreleased/incentivized-transfer-2.json index a1d85fa5655..c221a139dde 100644 --- a/.github/compatibility-test-matrices/unreleased/incentivized-transfer-2.json +++ b/.github/compatibility-test-matrices/unreleased/incentivized-transfer-2.json @@ -1,23 +1,17 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "entrypoint": [ "TestIncentivizedTransferTestSuite" diff --git a/.github/compatibility-test-matrices/unreleased/incentivized-transfer-3.json b/.github/compatibility-test-matrices/unreleased/incentivized-transfer-3.json index c91c54c74e6..6b4a614029f 100644 --- a/.github/compatibility-test-matrices/unreleased/incentivized-transfer-3.json +++ b/.github/compatibility-test-matrices/unreleased/incentivized-transfer-3.json @@ -1,23 +1,17 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "entrypoint": [ "TestIncentivizedTransferTestSuite" diff --git a/.github/compatibility-test-matrices/unreleased/localhost-ica.json b/.github/compatibility-test-matrices/unreleased/localhost-ica.json index d5454bb7197..cdb3e9da66e 100644 --- a/.github/compatibility-test-matrices/unreleased/localhost-ica.json +++ b/.github/compatibility-test-matrices/unreleased/localhost-ica.json @@ -1,9 +1,11 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x" ], diff --git a/.github/compatibility-test-matrices/unreleased/localhost-transfer.json b/.github/compatibility-test-matrices/unreleased/localhost-transfer.json index 50a720eaa6f..78dc48268a9 100644 --- a/.github/compatibility-test-matrices/unreleased/localhost-transfer.json +++ b/.github/compatibility-test-matrices/unreleased/localhost-transfer.json @@ -1,9 +1,11 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x" ], diff --git a/.github/compatibility-test-matrices/unreleased/transfer-1.json b/.github/compatibility-test-matrices/unreleased/transfer-1.json index 80309e2aa5e..e84c7fb5931 100644 --- a/.github/compatibility-test-matrices/unreleased/transfer-1.json +++ b/.github/compatibility-test-matrices/unreleased/transfer-1.json @@ -1,23 +1,17 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "entrypoint": [ "TestTransferTestSuite" diff --git a/.github/compatibility-test-matrices/unreleased/transfer-2.json b/.github/compatibility-test-matrices/unreleased/transfer-2.json index 321f59f6f2d..0f63915225f 100644 --- a/.github/compatibility-test-matrices/unreleased/transfer-2.json +++ b/.github/compatibility-test-matrices/unreleased/transfer-2.json @@ -1,23 +1,17 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "entrypoint": [ "TestTransferTestSuite" diff --git a/.github/compatibility-test-matrices/unreleased/transfer-3.json b/.github/compatibility-test-matrices/unreleased/transfer-3.json index 5db63342822..a2a455f5dc7 100644 --- a/.github/compatibility-test-matrices/unreleased/transfer-3.json +++ b/.github/compatibility-test-matrices/unreleased/transfer-3.json @@ -1,23 +1,17 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x", - "release-v6.1.x", - "release-v5.3.x", - "release-v5.2.x", - "release-v4.5.x", - "release-v4.4.x" + "release-v6.1.x" ], "entrypoint": [ "TestTransferTestSuite" diff --git a/.github/compatibility-test-matrices/unreleased/transfer-authz.json b/.github/compatibility-test-matrices/unreleased/transfer-authz.json index ec8370e0a42..d5949cfeb99 100644 --- a/.github/compatibility-test-matrices/unreleased/transfer-authz.json +++ b/.github/compatibility-test-matrices/unreleased/transfer-authz.json @@ -1,10 +1,12 @@ { "chain-a": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x" ], "chain-b": [ + "release-v8.0.x", "release-v7.3.x", "release-v7.2.x", "release-v6.2.x" diff --git a/.github/mergify.yml b/.github/mergify.yml index d5228ffd826..9bfe35aa877 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -42,38 +42,6 @@ pull_request_rules: backport: branches: - callbacks/release/v0.2.x+ibc-go-v7.3.x - - name: backport patches to v4.4.x branch - conditions: - - base=main - - label=backport-to-v4.4.x - actions: - backport: - branches: - - release/v4.4.x - - name: backport patches to v4.5.x branch - conditions: - - base=main - - label=backport-to-v4.5.x - actions: - backport: - branches: - - release/v4.5.x - - name: backport patches to v5.2.x branch - conditions: - - base=main - - label=backport-to-v5.2.x - actions: - backport: - branches: - - release/v5.2.x - - name: backport patches to v5.3.x branch - conditions: - - base=main - - label=backport-to-v5.3.x - actions: - backport: - branches: - - release/v5.3.x - name: backport patches to v6.1.x branch conditions: - base=main @@ -106,3 +74,11 @@ pull_request_rules: backport: branches: - release/v7.3.x + - name: backport patches to v8.0.x branch + conditions: + - base=main + - label=backport-to-v8.0.x + actions: + backport: + branches: + - release/v8.0.x diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index e91f189d7e2..ed555064039 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 cache: npm diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index a28545ceb79..8ca86f48e45 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 cache: npm diff --git a/.github/workflows/discord-notify.yml b/.github/workflows/discord-notify.yml new file mode 100644 index 00000000000..efc8d40559e --- /dev/null +++ b/.github/workflows/discord-notify.yml @@ -0,0 +1,16 @@ +name: Notify Discord on Release + +on: + release: + types: [published] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Send Notification to Discord + uses: Ilshidur/action-discord@2.4.0 + with: + args: "A new release of ibc-go has been tagged! View it here: ${{ github.event.release.html_url }}" + webhook: ${{ secrets.DISCORD_WEBHOOK }} + diff --git a/.github/workflows/e2e-compatibility-unreleased.yaml b/.github/workflows/e2e-compatibility-unreleased.yaml index ef73960ca54..082d23e7a54 100644 --- a/.github/workflows/e2e-compatibility-unreleased.yaml +++ b/.github/workflows/e2e-compatibility-unreleased.yaml @@ -12,14 +12,11 @@ jobs: strategy: matrix: release-branch: - - release/v4.4.x - - release/v4.5.x - - release/v5.2.x - - release/v5.3.x - release/v6.1.x - release/v6.2.x - release/v7.2.x - release/v7.3.x + - release/v8.0.x steps: - uses: actions/checkout@v4 with: @@ -82,6 +79,14 @@ jobs: test-file-directory: "unreleased" test-suite: "client" + genesis: + needs: + - build-release-images + uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml + with: + test-file-directory: "unreleased" + test-suite: "genesis" + ica-gov: needs: - build-release-images @@ -130,7 +135,6 @@ jobs: test-file-directory: "unreleased" test-suite: "incentivized-transfer-3" - localhost-ica: needs: - build-release-images diff --git a/.github/workflows/e2e-compatibility.yaml b/.github/workflows/e2e-compatibility.yaml index 0a8e100c785..5189a6aa8f6 100644 --- a/.github/workflows/e2e-compatibility.yaml +++ b/.github/workflows/e2e-compatibility.yaml @@ -7,14 +7,11 @@ on: required: true type: choice options: - - release/v4.4.x - - release/v4.5.x - - release/v5.2.x - - release/v5.3.x - release/v6.1.x - release/v6.2.x - release/v7.2.x - release/v7.3.x + - release/v8.0.x - main ibc-go-version: description: 'The version of ibc-go that is going to be released' @@ -47,14 +44,11 @@ jobs: strategy: matrix: release-branch: - - release/v4.4.x - - release/v4.5.x - - release/v5.2.x - - release/v5.3.x - release/v6.1.x - release/v6.2.x - release/v7.2.x - release/v7.3.x + - release/v8.0.x - main steps: - uses: actions/checkout@v4 @@ -126,15 +120,6 @@ jobs: test-file-directory: "${{ needs.determine-test-directory.outputs.test-directory }}" test-suite: "connection-chain-a" - connection-chain-b: - needs: - - build-release-images - - determine-test-directory - uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml - with: - test-file-directory: "${{ needs.determine-test-directory.outputs.test-directory }}" - test-suite: "connection-chain-b" - client-chain-a: needs: - build-release-images @@ -144,15 +129,6 @@ jobs: test-file-directory: "${{ needs.determine-test-directory.outputs.test-directory }}" test-suite: "client-chain-a" - client-chain-b: - needs: - - build-release-images - - determine-test-directory - uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml - with: - test-file-directory: "${{ needs.determine-test-directory.outputs.test-directory }}" - test-suite: "client-chain-b" - incentivized-transfer-chain-a: needs: - build-release-images @@ -260,3 +236,12 @@ jobs: with: test-file-directory: "${{ needs.determine-test-directory.outputs.test-directory }}" test-suite: "localhost-ica-chain-a" + + genesis-chain-a: + needs: + - build-release-images + - determine-test-directory + uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml + with: + test-file-directory: "${{ needs.determine-test-directory.outputs.test-directory }}" + test-suite: "genesis-chain-a" diff --git a/.github/workflows/e2e-fork.yml b/.github/workflows/e2e-fork.yml index 0a885dde732..cfdd70ef277 100644 --- a/.github/workflows/e2e-fork.yml +++ b/.github/workflows/e2e-fork.yml @@ -32,6 +32,7 @@ jobs: CHAIN_A_TAG: latest CHAIN_B_TAG: latest CHAIN_IMAGE: ibc-go-simd + RELAYER_ID: "hermes" # by default use hermes for fork e2es. if: ${{ github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch' }} needs: - build-test-matrix diff --git a/.github/workflows/e2e-manual-simd.yaml b/.github/workflows/e2e-manual-simd.yaml index 5a97fbb0f7a..eab9664ac1a 100644 --- a/.github/workflows/e2e-manual-simd.yaml +++ b/.github/workflows/e2e-manual-simd.yaml @@ -35,33 +35,25 @@ on: default: main options: - main - - v7.3.0 - - v7.2.1 - - v7.2.0 - - v6.2.0 - - v6.1.1 - - v5.2.1 - - v5.3.1 - - v4.4.2 + - v7.3.1 + - v7.2.2 + - v6.2.1 + - v6.1.2 chain-a-tag-override: description: 'Specify an arbitrary tag for chain A' required: false type: string chain-b-tag: - default: v7.3.0 + default: v7.3.1 description: 'The tag to use for chain B' required: true type: choice options: - main - - v7.3.0 - - v7.2.1 - - v7.2.0 - - v6.2.0 - - v6.1.1 - - v5.2.1 - - v5.3.1 - - v4.4.2 + - v7.3.1 + - v7.2.2 + - v6.2.1 + - v6.1.2 chain-b-tag-override: description: 'Specify an arbitrary tag for chain B' required: false diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml index 89d00d2d28c..8a73d58d4c9 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: tj-actions/changed-files@v39 + - uses: tj-actions/changed-files@v40 id: changed-files with: files: '**/*.md' diff --git a/.github/workflows/proto-registry.yml b/.github/workflows/proto-registry.yml index c1f467d94dd..411f74edd9c 100644 --- a/.github/workflows/proto-registry.yml +++ b/.github/workflows/proto-registry.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: bufbuild/buf-setup-action@v1.26.1 + - uses: bufbuild/buf-setup-action@v1.27.2 - uses: bufbuild/buf-push-action@v1 with: input: "proto" diff --git a/CHANGELOG.md b/CHANGELOG.md index c0186d41e75..4e935fb069e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (apps/29-fee) [\#4290](https://github.com/cosmos/ibc-go/pull/4290) Use `types.MetadataFromVersion` helper function for callback handlers. * (core/04-channel) [\#4155](https://github.com/cosmos/ibc-go/pull/4155) Adding `IsOpen` and `IsClosed` methods to `Channel` type. * (core/03-connection) [\#4110](https://github.com/cosmos/ibc-go/pull/4110) Remove `Version` interface and casting functions from 03-connection. +* (core) [\#4835](https://github.com/cosmos/ibc-go/pull/4835) Use expected interface for legacy params subspace parameter of keeper constructor functions. ### Features @@ -122,6 +123,20 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (apps/transfer, apps/29-fee) [\#4570](https://github.com/cosmos/ibc-go/pull/4570) Remove `GetSignBytes` from 29-fee and transfer msgs. * [\#3630](https://github.com/cosmos/ibc-go/pull/3630) Add annotation to Msg service. +## [v7.3.1](https://github.com/cosmos/ibc-go/releases/tag/v7.3.1) - 2023-10-20 + +### Dependencies + +* [\#4539](https://github.com/cosmos/ibc-go/pull/4539) Update Cosmos SDK to v0.47.5. + +### Improvements + +* (apps/27-interchain-accounts) [\#4537](https://github.com/cosmos/ibc-go/pull/4537) Add argument to `generate-packet-data` cli to choose the encoding format for the messages in the ICA packet data. + +### Bug Fixes + +* (apps/transfer) [\#4709](https://github.com/cosmos/ibc-go/pull/4709) Order query service RPCs to fix availability of denom traces endpoint when no args are provided. + ## [v7.3.0](https://github.com/cosmos/ibc-go/releases/tag/v7.3.0) - 2023-08-31 ### Dependencies @@ -145,6 +160,16 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (04-channel) [\#4476](https://github.com/cosmos/ibc-go/pull/4476) Use UTC time in log messages for packet timeout error. * (testing) [\#4483](https://github.com/cosmos/ibc-go/pull/4483) Use the correct revision height when querying trusted validator set. +## [v7.2.2](https://github.com/cosmos/ibc-go/releases/tag/v7.2.2) - 2023-10-20 + +### Dependencies + +* [\#4539](https://github.com/cosmos/ibc-go/pull/4539) Update Cosmos SDK to v0.47.5. + +### Bug Fixes + +* (apps/transfer) [\#4709](https://github.com/cosmos/ibc-go/pull/4709) Order query service RPCs to fix availability of denom traces endpoint when no args are provided. + ## [v7.2.1](https://github.com/cosmos/ibc-go/releases/tag/v7.2.1) - 2023-08-31 ### Bug Fixes @@ -289,6 +314,13 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (light-clients/07-tendermint) [\#3022](https://github.com/cosmos/ibc-go/pull/3022) Correctly close iterator in `07-tendermint` store. * (core/02-client) [\#3010](https://github.com/cosmos/ibc-go/pull/3010) Update `Paginate` to use `FilterPaginate` in `ClientStates` and `ConnectionChannels` grpc queries. +## [v6.2.1](https://github.com/cosmos/ibc-go/releases/tag/v6.2.1) - 2023-10-20 + +### Bug Fixes + +* (apps/transfer) [\#3045](https://github.com/cosmos/ibc-go/pull/3045) allow value with slashes in URL template for `denom_traces` and `denom_hashes` queries. +* (apps/transfer) [\#4709](https://github.com/cosmos/ibc-go/pull/4709) Order query service RPCs to fix availability of denom traces endpoint when no args are provided. + ## [v6.2.0](https://github.com/cosmos/ibc-go/releases/tag/v6.2.0) - 2023-05-31 ### Dependencies @@ -308,6 +340,13 @@ Ref: https://keepachangelog.com/en/1.0.0/ * [\#3346](https://github.com/cosmos/ibc-go/pull/3346) Properly handle ordered channels in `UnreceivedPackets` query. +## [v6.1.2](https://github.com/cosmos/ibc-go/releases/tag/v6.1.2) - 2023-10-20 + +### Bug Fixes + +* (apps/transfer) [\#3045](https://github.com/cosmos/ibc-go/pull/3045) allow value with slashes in URL template for `denom_traces` and `denom_hashes` queries. +* (apps/transfer) [\#4709](https://github.com/cosmos/ibc-go/pull/4709) Order query service RPCs to fix availability of denom traces endpoint when no args are provided. + ## [v6.1.1](https://github.com/cosmos/ibc-go/releases/tag/v6.1.1) - 2023-05-25 ### Bug Fixes @@ -384,6 +423,13 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (apps/transfer) [\#2679](https://github.com/cosmos/ibc-go/pull/2679) Check `x/bank` send enabled. * (modules/core/keeper) [\#2745](https://github.com/cosmos/ibc-go/pull/2745) Fix request wiring for `UpgradedConsensusState` in core query server. +## [v5.3.2](https://github.com/cosmos/ibc-go/releases/tag/v5.3.2) - 2023-10-20 + +### Bug Fixes + +* (apps/transfer) [\#3045](https://github.com/cosmos/ibc-go/pull/3045) allow value with slashes in URL template for `denom_traces` and `denom_hashes` queries. +* (apps/transfer) [\#4709](https://github.com/cosmos/ibc-go/pull/4709) Order query service RPCs to fix availability of denom traces endpoint when no args are provided. + ## [v5.3.1](https://github.com/cosmos/ibc-go/releases/tag/v5.3.1) - 2023-05-25 ### Bug Fixes @@ -479,6 +525,27 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (makefile) [\#1785](https://github.com/cosmos/ibc-go/pull/1785) Fetch the correct versions of protocol buffers dependencies from tendermint, cosmos-sdk, and ics23. * (modules/core/04-channel)[\#1919](https://github.com/cosmos/ibc-go/pull/1919) Fixed formatting of sequence for packet "acknowledgement written" logs. +## [v4.5.1](https://github.com/cosmos/ibc-go/releases/tag/v4.5.1) - 2023-10-20 + +### Bug Fixes + +* (apps/transfer) [\#3045](https://github.com/cosmos/ibc-go/pull/3045) allow value with slashes in URL template for `denom_traces` and `denom_hashes` queries. +* (apps/transfer) [\#4709](https://github.com/cosmos/ibc-go/pull/4709) Order query service RPCs to fix availability of denom traces endpoint when no args are provided. + +## [v4.5.0](https://github.com/cosmos/ibc-go/releases/tag/v4.5.0) - 2023-10-03 + +### Dependencies + +* [\#4738](https://github.com/cosmos/ibc-go/pull/4738) Bump Cosmos SDK to v0.45.16. +* [\#4782](https://github.com/cosmos/ibc-go/pull/4782) Bump ics23 to v0.9.1. + +## [v4.4.3](https://github.com/cosmos/ibc-go/releases/tag/v4.4.3) - 2023-10-20 + +### Bug Fixes + +* (apps/transfer) [\#3045](https://github.com/cosmos/ibc-go/pull/3045) allow value with slashes in URL template for `denom_traces` and `denom_hashes` queries. +* (apps/transfer) [\#4709](https://github.com/cosmos/ibc-go/pull/4709) Order query service RPCs to fix availability of denom traces endpoint when no args are provided. + ## [v4.4.2](https://github.com/cosmos/ibc-go/releases/tag/v4.4.2) - 2023-05-25 ### Bug Fixes diff --git a/Makefile b/Makefile index 43c68464ae4..a0e2a5c29f7 100644 --- a/Makefile +++ b/Makefile @@ -178,6 +178,13 @@ endif ### Tests & Simulation ### ############################################################################### +# make init-simapp initializes a single local node network +# it is useful for testing and development +# Usage: make install && make init-simapp && simd start +# Warning: make init-simapp will remove all data in simapp home directory +init-simapp: + ./scripts/init-simapp.sh + test: test-unit test-all: test-unit test-ledger-mock test-race test-cover diff --git a/README.md b/README.md index 36e26e90cff..c5080287971 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ For the latest information on the progress of the work or the decisions made tha ## Releases -The release lines currently supported are v4, v5, v6 and v7. +The release lines currently supported are v6 and v7. Please refer to the [Stable Release Policy section of RELEASES.md](https://github.com/cosmos/ibc-go/blob/main/RELEASES.md#stable-release-policy) for more details. diff --git a/RELEASES.md b/RELEASES.md index 816e383f730..c99c057548e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -69,9 +69,6 @@ Only the following major release series have a stable release status. All missin |Release|End of Life Date| |-------|----------------| -|`v4.4.x`|October 31, 2023| -|`v5.2.x`|September 28, 2023| -|`v5.3.x`|October 31, 2023| |`v6.1.x`|December 09, 2023| |`v6.2.x`|December 09, 2023| |`v7.2.x`|March 17, 2024| @@ -81,7 +78,7 @@ Only the following major release series have a stable release status. All missin |Release|End of Life Date| |-------|----------------| -|`v0.1.x-ibc-go-v7.3.x`|August 31, 2024| +|`v0.1.x-ibc-go-v7.3.x`|March 17, 2024| ### What pull requests will be included in stable patch-releases? @@ -112,15 +109,15 @@ Versions of Golang, Cosmos SDK and CometBFT used by ibc-go in the currently acti | Go | ibc-go | Cosmos SDK | Tendermint/CometBFT | |----|--------|------------|---------------------| -| 1.19 | v4.4.1 | v0.45.15 | v0.34.27 | -| 1.19 | v4.4.2 | v0.45.15 | v0.34.27 | -| 1.18 | v5.2.1 | v0.46.7 | v0.34.24 | -| 1.19 | v5.3.1 | v0.46.12 | v0.34.27 | | 1.18 | v6.1.1 | v0.46.7 | v0.34.24 | +| 1.18 | v6.1.2 | v0.46.7 | v0.34.24 | | 1.19 | v6.2.0 | v0.46.12 | v0.34.27 | +| 1.19 | v6.2.1 | v0.46.12 | v0.34.27 | | 1.19 | v7.2.0 | v0.47.3 | v0.37.2 | | 1.19 | v7.2.1 | v0.47.3 | v0.37.2 | +| 1.19 | v7.2.2 | v0.47.5 | v0.37.2 | | 1.19 | v7.3.0 | v0.47.4 | v0.37.2 | +| 1.19 | v7.3.1 | v0.47.5 | v0.37.2 | ### Callbacks middleware diff --git a/docs/docs/05-migrations/11-v7-to-v8.md b/docs/docs/05-migrations/11-v7-to-v8.md index c6af160e945..53c53e66f89 100644 --- a/docs/docs/05-migrations/11-v7-to-v8.md +++ b/docs/docs/05-migrations/11-v7-to-v8.md @@ -13,7 +13,15 @@ There are four sections based on the four potential user groups of this document - [Migrating from v7 to v8](#migrating-from-v7-to-v8) - [Chains](#chains) + - [Cosmos SDK v0.50 upgrade](#cosmos-sdk-v050-upgrade) + - [Authority](#authority) + - [Testing package](#testing-package) + - [Params migration](#params-migration) + - [Governance V1 migration](#governance-v1-migration) + - [Transfer migration](#transfer-migration) - [IBC Apps](#ibc-apps) + - [ICS20 - Transfer](#ics20---transfer) + - [ICS27 - Interchain Accounts](#ics27---interchain-accounts) - [Relayers](#relayers) - [IBC Light Clients](#ibc-light-clients) @@ -54,7 +62,7 @@ Version `v8.0.0` of ibc-go upgrades to Cosmos SDK v0.50. Please follow the [Cosm An authority identifier (e.g. an address) needs to be passed in the `NewKeeper` functions of the following keepers: -- You must pass the `authority` to the ica/host keeper. ([#3520](https://github.com/cosmos/ibc-go/pull/3520)) See [diff](https://github.com/cosmos/ibc-go/pull/3520/files#diff-d18972debee5e64f16e40807b2ae112ddbe609504a93ea5e1c80a5d489c3a08a). +- You must pass the `authority` to the ica/host keeper (implemented in [#3520](https://github.com/cosmos/ibc-go/pull/3520)). See [diff](https://github.com/cosmos/ibc-go/pull/3520/files#diff-d18972debee5e64f16e40807b2ae112ddbe609504a93ea5e1c80a5d489c3a08a): ```diff // app.go @@ -69,7 +77,7 @@ app.ICAHostKeeper = icahostkeeper.NewKeeper( ) ``` -- You must pass the `authority` to the ica/controller keeper. ([#3590](https://github.com/cosmos/ibc-go/pull/3590)) See [diff](https://github.com/cosmos/ibc-go/pull/3590/files#diff-d18972debee5e64f16e40807b2ae112ddbe609504a93ea5e1c80a5d489c3a08a). +- You must pass the `authority` to the ica/controller keeper (implemented in [#3590](https://github.com/cosmos/ibc-go/pull/3590)). See [diff](https://github.com/cosmos/ibc-go/pull/3590/files#diff-d18972debee5e64f16e40807b2ae112ddbe609504a93ea5e1c80a5d489c3a08a): ```diff // app.go @@ -84,7 +92,7 @@ app.ICAControllerKeeper = icacontrollerkeeper.NewKeeper( ) ``` -- You must pass the `authority` to the ibctransfer keeper. ([#3553](https://github.com/cosmos/ibc-go/pull/3553)) See [diff](https://github.com/cosmos/ibc-go/pull/3553/files#diff-d18972debee5e64f16e40807b2ae112ddbe609504a93ea5e1c80a5d489c3a08a). +- You must pass the `authority` to the ibctransfer keeper (implemented in [#3553](https://github.com/cosmos/ibc-go/pull/3553)). See [diff](https://github.com/cosmos/ibc-go/pull/3553/files#diff-d18972debee5e64f16e40807b2ae112ddbe609504a93ea5e1c80a5d489c3a08a): ```diff // app.go @@ -100,7 +108,7 @@ app.TransferKeeper = ibctransferkeeper.NewKeeper( ) ``` -- You should pass the `authority` to the IBC keeper. ([#3640](https://github.com/cosmos/ibc-go/pull/3640) and [#3650](https://github.com/cosmos/ibc-go/pull/3650)) See [diff](https://github.com/cosmos/ibc-go/pull/3640/files#diff-d18972debee5e64f16e40807b2ae112ddbe609504a93ea5e1c80a5d489c3a08a). +- You should pass the `authority` to the IBC keeper (implemented in [#3640](https://github.com/cosmos/ibc-go/pull/3640) and [#3650](https://github.com/cosmos/ibc-go/pull/3650)). See [diff](https://github.com/cosmos/ibc-go/pull/3640/files#diff-d18972debee5e64f16e40807b2ae112ddbe609504a93ea5e1c80a5d489c3a08a): ```diff // app.go @@ -136,11 +144,13 @@ Params are now self managed in the following submodules: Each module has a corresponding `MsgUpdateParams` message with a `Params` which can be specified in full to update the modules' `Params`. -Legacy params subspaces must still be initialised in app.go in order to successfully migrate from x/params to the new self-contained approach. See reference: +Legacy params subspaces must still be initialised in app.go in order to successfully migrate from x/params to the new self-contained approach. See reference [this](https://github.com/cosmos/ibc-go/blob/5ee82969fd5f94950884d8fe56c0deec5cc370ad/testing/simapp/app.go#L1010-L1015) for reference. + +For new chains which do not rely on migration of parameters from `x/params`, an expected interface has been added for each module. This allows chain developers to provide `nil` as the `legacySubspace` argument to `NewKeeper` functions. ### Governance V1 migration -Proposals have been migrated to [gov v1 messages](https://docs.cosmos.network/v0.50/modules/gov#messages) ref: [#4620](https://github.com/cosmos/ibc-go/pull/4620). The proposal `ClientUpdateProposal` has been deprecated and [`MsgRecoverClient`](https://github.com/cosmos/ibc-go/blob/v8.0.0-beta.0/proto/ibc/core/client/v1/tx.proto#L121-L134) should be used instead. Likewise, the proposal `UpgradeProposal` has been deprecated and [`MsgIBCSoftwareUpgrade`](https://github.com/cosmos/ibc-go/blob/v8.0.0-beta.0/proto/ibc/core/client/v1/tx.proto#L139-L154) should be used instead. Both proposals will be removed in the next major release. +Proposals have been migrated to [gov v1 messages](https://docs.cosmos.network/v0.50/modules/gov#messages) (see [#4620](https://github.com/cosmos/ibc-go/pull/4620)). The proposal `ClientUpdateProposal` has been deprecated and [`MsgRecoverClient`](https://github.com/cosmos/ibc-go/blob/v8.0.0-beta.0/proto/ibc/core/client/v1/tx.proto#L121-L134) should be used instead. Likewise, the proposal `UpgradeProposal` has been deprecated and [`MsgIBCSoftwareUpgrade`](https://github.com/cosmos/ibc-go/blob/v8.0.0-beta.0/proto/ibc/core/client/v1/tx.proto#L139-L154) should be used instead. Both proposals will be removed in the next major release. `MsgRecoverClient` and `MsgIBCSoftwareUpgrade` will only be allowed to be executed if the signer is the authority designated at the time of instantiating the IBC keeper. So please make sure that the correct authority is provided to the IBC keeper. diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index e6efef8fc77..4c16d1c9b45 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -66,8 +66,8 @@ const config = { path: "v5.3.x", banner: "none", }, - "v4.4.x": { - path: "v4.4.x", + "v4.5.x": { + path: "v4.5.x", banner: "none", }, }, @@ -75,6 +75,10 @@ const config = { theme: { customCss: require.resolve("./src/css/custom.css"), }, + gtag: { + trackingID: "G-HP8ZXWVLJG", + anonymizeIP: true, + }, }), ], ], @@ -294,6 +298,10 @@ const config = { ], }, ], + [ + "@gracefullight/docusaurus-plugin-microsoft-clarity", + { projectId: "idk9udvhuu" }, + ], [ require.resolve("@easyops-cn/docusaurus-search-local"), { diff --git a/docs/package-lock.json b/docs/package-lock.json index 2b206fe5f7f..46de51ecfb4 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -11,8 +11,10 @@ "@docusaurus/core": "^2.4.3", "@docusaurus/plugin-client-redirects": "^2.4.3", "@docusaurus/plugin-content-docs": "^2.4.3", + "@docusaurus/plugin-google-gtag": "^2.4.3", "@docusaurus/preset-classic": "^2.4.3", "@easyops-cn/docusaurus-search-local": "^0.36.0", + "@gracefullight/docusaurus-plugin-microsoft-clarity": "^0.1.3", "@mdx-js/react": "^1.6.22", "@saucelabs/theme-github-codeblock": "^0.2.3", "autoprefixer": "^10.4.14", @@ -2692,6 +2694,14 @@ "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/@gracefullight/docusaurus-plugin-microsoft-clarity": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@gracefullight/docusaurus-plugin-microsoft-clarity/-/docusaurus-plugin-microsoft-clarity-0.1.3.tgz", + "integrity": "sha512-oFbYXzsEPeDK8C6tdqpAVRRQ3pkqFb85cGfPROll/fXa4reJ4PWg7mf7H+m1yrlzHrs3A/L3cIKGMHWR1JdOZg==", + "dependencies": { + "@docusaurus/utils-validation": "^2" + } + }, "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", @@ -15198,6 +15208,14 @@ "tslib": "^2.4.0" } }, + "@gracefullight/docusaurus-plugin-microsoft-clarity": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@gracefullight/docusaurus-plugin-microsoft-clarity/-/docusaurus-plugin-microsoft-clarity-0.1.3.tgz", + "integrity": "sha512-oFbYXzsEPeDK8C6tdqpAVRRQ3pkqFb85cGfPROll/fXa4reJ4PWg7mf7H+m1yrlzHrs3A/L3cIKGMHWR1JdOZg==", + "requires": { + "@docusaurus/utils-validation": "^2" + } + }, "@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", diff --git a/docs/package.json b/docs/package.json index fda83c3b057..93491c94f0e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -18,8 +18,10 @@ "@docusaurus/core": "^2.4.3", "@docusaurus/plugin-client-redirects": "^2.4.3", "@docusaurus/plugin-content-docs": "^2.4.3", + "@docusaurus/plugin-google-gtag": "^2.4.3", "@docusaurus/preset-classic": "^2.4.3", "@easyops-cn/docusaurus-search-local": "^0.36.0", + "@gracefullight/docusaurus-plugin-microsoft-clarity": "^0.1.3", "@mdx-js/react": "^1.6.22", "@saucelabs/theme-github-codeblock": "^0.2.3", "autoprefixer": "^10.4.14", diff --git a/docs/tutorials/01-fee/01-intro.md b/docs/tutorials/01-fee/01-intro.md index cbf092b0013..f3bd825f6a9 100644 --- a/docs/tutorials/01-fee/01-intro.md +++ b/docs/tutorials/01-fee/01-intro.md @@ -16,10 +16,10 @@ This is a tutorial for wiring up the ICS-29 Fee Middleware to a Cosmos SDK block -- Basic Knowledge of [Go](https://golang.org/doc/tutorial/getting-started) -- Basic Knowledge of [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) +- Basic Knowledge of [TypeScript](https://www.typescriptlang.org/) - Basic Knowledge of Cosmos SDK - If you are new to Cosmos SDK, we recommend you to go through the first two categories of the [Developer Portal](https://tutorials.cosmos.network/academy/1-what-is-cosmos/) +- Basic Knowledge of [the Fee Middleware module](https://ibc.cosmos.network/main/middleware/ics29-fee/overview) diff --git a/docs/tutorials/01-fee/02-setup-env.md b/docs/tutorials/01-fee/02-setup-env.md index 23f9d490361..c6bd1bed75f 100644 --- a/docs/tutorials/01-fee/02-setup-env.md +++ b/docs/tutorials/01-fee/02-setup-env.md @@ -48,7 +48,13 @@ go version ## Hermes -Install Hermes relayer version `v1.6.0` via cargo following the instructions on the [Hermes website](https://hermes.informal.systems/quick-start/installation.html#install-via-cargo). Test if Hermes is installed by running. +Install Hermes relayer version `v1.6.0` via cargo following the instructions on the [Hermes website](https://hermes.informal.systems/quick-start/installation.html#install-via-cargo) or by using the command below. + +```bash +cargo install ibc-relayer-cli --version 1.6.0 --bin hermes --locked +``` + +Test if Hermes is installed by running the following command: ```bash hermes version diff --git a/docs/tutorials/01-fee/04-wire-feeibc-mod.md b/docs/tutorials/01-fee/04-wire-feeibc-mod.md index 15d427c62bd..0329fecd1a8 100644 --- a/docs/tutorials/01-fee/04-wire-feeibc-mod.md +++ b/docs/tutorials/01-fee/04-wire-feeibc-mod.md @@ -164,14 +164,6 @@ Next, we need to add the fee middleware to the `SetOrderBeginBlockers`, `SetOrde consensusparamtypes.ModuleName, // this line is used by starport scaffolding # stargate/app/endBlockers ) - app.mm.SetOrderEndBlockers( - // ... other modules - vestingtypes.ModuleName, - consensusparamtypes.ModuleName, - // plus-diff-line -+ ibcfeetypes.ModuleName, - // this line is used by starport scaffolding # stargate/app/endBlockers - ) // NOTE: The genutils module must occur after staking so that pools are // properly initialized with tokens from genesis accounts. diff --git a/docs/tutorials/01-fee/07-test-app.md b/docs/tutorials/01-fee/07-test-app.md index 4738341ee00..78aadfdc8cd 100644 --- a/docs/tutorials/01-fee/07-test-app.md +++ b/docs/tutorials/01-fee/07-test-app.md @@ -27,11 +27,11 @@ You can find the React app we created in the previous section [here](https://git Ignite supports running multiple chains locally with different configs. The source chain will be called earth and the destination chain will be called mars. Add the following config files to the root of the project: -```yaml reference title="earth.yaml" +```yaml reference title="earth.yml" https://github.com/srdtrk/cosmoverse2023-ibc-fee-demo/blob/96cb63bf2e60b4613a89841416066551dd666c0d/earth.yml ``` -```yaml reference title="mars.yaml" +```yaml reference title="mars.yml" https://github.com/srdtrk/cosmoverse2023-ibc-fee-demo/blob/96cb63bf2e60b4613a89841416066551dd666c0d/mars.yml ``` @@ -50,7 +50,7 @@ ignite chain serve -c mars.yml --reset-once We first need to create a relayer configuration file. Add the following file to the root of the project: ```toml reference title="hermes/config.toml" -https://github.com/srdtrk/cosmoverse2023-ibc-fee-demo/blob/960d8b7e148cbe2207c3a743bac7c0985a5b653a/hermes/config.toml +https://github.com/srdtrk/cosmoverse2023-ibc-fee-demo/blob/0186b9ee979c288efbe3fe5fd071169d9dbcf91e/hermes/config.toml ``` We can move this file to the `~/.hermes` directory to avoid having to specify the path to the config file every time we run the relayer: @@ -105,15 +105,9 @@ hermes create channel --channel-version '{"fee_version":"ics29-1","app_version": ``` This will create an incentivized IBC transfer channel between the two chains with the channel id `channel-0`, and channel version `{"fee_version":"ics29-1","app_version":"ics20-1"}`. -Next recall that the Fee Middleware only pays fees on the source chain. That's why we should register `damian` and `charlie` as each other's counterparty on both chains. - -```bash title="Terminal 4" -hermes fee register-counterparty-payee --chain mars --channel channel-0 --port transfer --counterparty-payee cosmos1vapwvcsr0m32ptal6z6g9hjctywrw4yzyf6y6v -``` -```bash title="Terminal 4" -hermes fee register-counterparty-payee --chain earth --channel channel-0 --port transfer --counterparty-payee cosmos1uu38gkyed0dte5f9xk20p8wcppulsjt90s7f8h -``` +Next recall that the Fee Middleware only pays fees on the source chain. That's why we should register `damian` and `charlie` as each other's counterparty on both chains. +Luckily, the relayer does this for us under the hood because we've enabled the `auto_register_counterparty_payee` option in the config file. Now we can run the relayer with the following command: diff --git a/docs/versioned_docs/version-v4.4.x/00-intro.md b/docs/versioned_docs/version-v4.5.x/00-intro.md similarity index 89% rename from docs/versioned_docs/version-v4.4.x/00-intro.md rename to docs/versioned_docs/version-v4.5.x/00-intro.md index c842dac0022..d57c0aa3f96 100644 --- a/docs/versioned_docs/version-v4.4.x/00-intro.md +++ b/docs/versioned_docs/version-v4.5.x/00-intro.md @@ -3,6 +3,10 @@ slug: / sidebar_position: 0 --- +:::danger +This version of ibc-go is not supported anymore. Please upgrade to the latest version. +::: + # IBC-Go Documentation Welcome to the IBC-Go documentation! diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/01-overview.md b/docs/versioned_docs/version-v4.5.x/01-ibc/01-overview.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/01-overview.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/01-overview.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/02-integration.md b/docs/versioned_docs/version-v4.5.x/01-ibc/02-integration.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/02-integration.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/02-integration.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/01-apps.md b/docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/01-apps.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/01-apps.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/01-apps.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/02-ibcmodule.md b/docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/02-ibcmodule.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/02-ibcmodule.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/02-ibcmodule.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/03-bindports.md b/docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/03-bindports.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/03-bindports.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/03-bindports.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/04-keeper.md b/docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/04-keeper.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/04-keeper.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/04-keeper.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/05-packets_acks.md b/docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/05-packets_acks.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/05-packets_acks.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/05-packets_acks.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/06-routing.md b/docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/06-routing.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/06-routing.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/06-routing.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/_category_.json b/docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/_category_.json rename to docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/_category_.json diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/images/packet_flow.png b/docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/images/packet_flow.png similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/03-apps/images/packet_flow.png rename to docs/versioned_docs/version-v4.5.x/01-ibc/03-apps/images/packet_flow.png diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/04-middleware/01-develop.md b/docs/versioned_docs/version-v4.5.x/01-ibc/04-middleware/01-develop.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/04-middleware/01-develop.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/04-middleware/01-develop.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/04-middleware/02-integration.md b/docs/versioned_docs/version-v4.5.x/01-ibc/04-middleware/02-integration.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/04-middleware/02-integration.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/04-middleware/02-integration.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/04-middleware/_category_.json b/docs/versioned_docs/version-v4.5.x/01-ibc/04-middleware/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/04-middleware/_category_.json rename to docs/versioned_docs/version-v4.5.x/01-ibc/04-middleware/_category_.json diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/00-intro.md b/docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/00-intro.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/00-intro.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/00-intro.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/01-quick-guide.md b/docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/01-quick-guide.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/01-quick-guide.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/01-quick-guide.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/02-developer-guide.md b/docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/02-developer-guide.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/02-developer-guide.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/02-developer-guide.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/03-genesis-restart.md b/docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/03-genesis-restart.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/03-genesis-restart.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/03-genesis-restart.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/_category_.json b/docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/05-upgrades/_category_.json rename to docs/versioned_docs/version-v4.5.x/01-ibc/05-upgrades/_category_.json diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/06-proposals.md b/docs/versioned_docs/version-v4.5.x/01-ibc/06-proposals.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/06-proposals.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/06-proposals.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/07-relayer.md b/docs/versioned_docs/version-v4.5.x/01-ibc/07-relayer.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/07-relayer.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/07-relayer.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/08-proto-docs.md b/docs/versioned_docs/version-v4.5.x/01-ibc/08-proto-docs.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/08-proto-docs.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/08-proto-docs.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/09-roadmap.md b/docs/versioned_docs/version-v4.5.x/01-ibc/09-roadmap.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/09-roadmap.md rename to docs/versioned_docs/version-v4.5.x/01-ibc/09-roadmap.md diff --git a/docs/versioned_docs/version-v4.4.x/01-ibc/_category_.json b/docs/versioned_docs/version-v4.5.x/01-ibc/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/01-ibc/_category_.json rename to docs/versioned_docs/version-v4.5.x/01-ibc/_category_.json diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/01-overview.md b/docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/01-overview.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/01-overview.md rename to docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/01-overview.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/02-state.md b/docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/02-state.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/02-state.md rename to docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/02-state.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/03-state-transitions.md b/docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/03-state-transitions.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/03-state-transitions.md rename to docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/03-state-transitions.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/04-messages.md b/docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/04-messages.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/04-messages.md rename to docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/04-messages.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/05-events.md b/docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/05-events.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/05-events.md rename to docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/05-events.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/06-metrics.md b/docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/06-metrics.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/06-metrics.md rename to docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/06-metrics.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/07-params.md b/docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/07-params.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/07-params.md rename to docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/07-params.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/_category_.json b/docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/01-transfer/_category_.json rename to docs/versioned_docs/version-v4.5.x/02-apps/01-transfer/_category_.json diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/01-overview.md b/docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/01-overview.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/01-overview.md rename to docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/01-overview.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/02-auth-modules.md b/docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/02-auth-modules.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/02-auth-modules.md rename to docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/02-auth-modules.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/03-active-channels.md b/docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/03-active-channels.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/03-active-channels.md rename to docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/03-active-channels.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/04-integration.md b/docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/04-integration.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/04-integration.md rename to docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/04-integration.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/05-parameters.md b/docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/05-parameters.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/05-parameters.md rename to docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/05-parameters.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/06-transactions.md b/docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/06-transactions.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/06-transactions.md rename to docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/06-transactions.md diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/_category_.json b/docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/_category_.json rename to docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/_category_.json diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/images/send-interchain-tx.png b/docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/images/send-interchain-tx.png similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/02-interchain-accounts/images/send-interchain-tx.png rename to docs/versioned_docs/version-v4.5.x/02-apps/02-interchain-accounts/images/send-interchain-tx.png diff --git a/docs/versioned_docs/version-v4.4.x/02-apps/_category_.json b/docs/versioned_docs/version-v4.5.x/02-apps/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/02-apps/_category_.json rename to docs/versioned_docs/version-v4.5.x/02-apps/_category_.json diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/01-overview.md b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/01-overview.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/01-overview.md rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/01-overview.md diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/02-integration.md b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/02-integration.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/02-integration.md rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/02-integration.md diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/03-msgs.md b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/03-msgs.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/03-msgs.md rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/03-msgs.md diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/04-fee-distribution.md b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/04-fee-distribution.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/04-fee-distribution.md rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/04-fee-distribution.md diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/05-events.md b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/05-events.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/05-events.md rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/05-events.md diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/06-end-users.md b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/06-end-users.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/06-end-users.md rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/06-end-users.md diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/_category_.json b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/_category_.json rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/_category_.json diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/images/feeflow.png b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/images/feeflow.png similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/images/feeflow.png rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/images/feeflow.png diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/images/msgpaypacket.png b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/images/msgpaypacket.png similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/images/msgpaypacket.png rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/images/msgpaypacket.png diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/images/paypacketfeeasync.png b/docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/images/paypacketfeeasync.png similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/01-ics29-fee/images/paypacketfeeasync.png rename to docs/versioned_docs/version-v4.5.x/03-middleware/01-ics29-fee/images/paypacketfeeasync.png diff --git a/docs/versioned_docs/version-v4.4.x/03-middleware/_category_.json b/docs/versioned_docs/version-v4.5.x/03-middleware/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/03-middleware/_category_.json rename to docs/versioned_docs/version-v4.5.x/03-middleware/_category_.json diff --git a/docs/versioned_docs/version-v4.4.x/04-migrations/01-support-denoms-with-slashes.md b/docs/versioned_docs/version-v4.5.x/04-migrations/01-support-denoms-with-slashes.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/04-migrations/01-support-denoms-with-slashes.md rename to docs/versioned_docs/version-v4.5.x/04-migrations/01-support-denoms-with-slashes.md diff --git a/docs/versioned_docs/version-v4.4.x/04-migrations/02-sdk-to-v1.md b/docs/versioned_docs/version-v4.5.x/04-migrations/02-sdk-to-v1.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/04-migrations/02-sdk-to-v1.md rename to docs/versioned_docs/version-v4.5.x/04-migrations/02-sdk-to-v1.md diff --git a/docs/versioned_docs/version-v4.4.x/04-migrations/03-v1-to-v2.md b/docs/versioned_docs/version-v4.5.x/04-migrations/03-v1-to-v2.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/04-migrations/03-v1-to-v2.md rename to docs/versioned_docs/version-v4.5.x/04-migrations/03-v1-to-v2.md diff --git a/docs/versioned_docs/version-v4.4.x/04-migrations/04-v2-to-v3.md b/docs/versioned_docs/version-v4.5.x/04-migrations/04-v2-to-v3.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/04-migrations/04-v2-to-v3.md rename to docs/versioned_docs/version-v4.5.x/04-migrations/04-v2-to-v3.md diff --git a/docs/versioned_docs/version-v4.4.x/04-migrations/05-v3-to-v4.md b/docs/versioned_docs/version-v4.5.x/04-migrations/05-v3-to-v4.md similarity index 100% rename from docs/versioned_docs/version-v4.4.x/04-migrations/05-v3-to-v4.md rename to docs/versioned_docs/version-v4.5.x/04-migrations/05-v3-to-v4.md diff --git a/docs/versioned_docs/version-v4.4.x/04-migrations/_category_.json b/docs/versioned_docs/version-v4.5.x/04-migrations/_category_.json similarity index 100% rename from docs/versioned_docs/version-v4.4.x/04-migrations/_category_.json rename to docs/versioned_docs/version-v4.5.x/04-migrations/_category_.json diff --git a/docs/versioned_docs/version-v5.3.x/00-intro.md b/docs/versioned_docs/version-v5.3.x/00-intro.md index c842dac0022..d57c0aa3f96 100644 --- a/docs/versioned_docs/version-v5.3.x/00-intro.md +++ b/docs/versioned_docs/version-v5.3.x/00-intro.md @@ -3,6 +3,10 @@ slug: / sidebar_position: 0 --- +:::danger +This version of ibc-go is not supported anymore. Please upgrade to the latest version. +::: + # IBC-Go Documentation Welcome to the IBC-Go documentation! diff --git a/docs/versions.json b/docs/versions.json index 1f02d1906c5..d229c5b12b8 100644 --- a/docs/versions.json +++ b/docs/versions.json @@ -2,5 +2,5 @@ "v7.3.x", "v6.2.x", "v5.3.x", - "v4.4.x" + "v4.5.x" ] diff --git a/e2e/README.md b/e2e/README.md index f3528b6a1bc..332bbb7b977 100644 --- a/e2e/README.md +++ b/e2e/README.md @@ -28,6 +28,9 @@ All tests should go under the [e2e](https://github.com/cosmos/ibc-go/tree/main/e to an existing test suite ***in the same file***, or create a new test suite in a new file and add test functions there. New test files should follow the convention of `module_name_test.go`. +After creating a new test file, be sure to add a build constraint that ensures this file will **not** be included in the package to be built when +running tests locally via `make test`. For an example of this, see any of the existing test files. + New test suites should be composed of `testsuite.E2ETestSuite`. This type has lots of useful helper functionality that will be quite common in most tests. @@ -52,7 +55,7 @@ options specified in your config file. | CHAIN_B_TAG | The tag used for chain A | latest | | CHAIN_BINARY | The binary used in the container | simd | | RELAYER_TAG | The tag used for the relayer | main | -| RELAYER_ID | The type of relayer to use (rly/hermes) | hermes | +| RELAYER_ID | The type of relayer to use (rly/hermes) | hermes | > Note: when running tests locally, **no images are pushed** to the `ghcr.io/cosmos/ibc-go-simd` registry. The images which are used only exist on your machine. diff --git a/e2e/go.mod b/e2e/go.mod index aae83ecd8fb..89256ffa8c5 100644 --- a/e2e/go.mod +++ b/e2e/go.mod @@ -5,9 +5,9 @@ go 1.21 require ( cosmossdk.io/errors v1.0.0 cosmossdk.io/math v1.1.3-rc.1 - cosmossdk.io/x/upgrade v0.0.0-20231006102024-9af83f4b9295 + cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158 github.com/cometbft/cometbft v0.38.0 - github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231025125555-301ceca874dc + github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158 github.com/cosmos/gogoproto v1.4.11 github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-00010101000000-000000000000 github.com/cosmos/ibc-go/v8 v8.0.0 @@ -27,15 +27,15 @@ require ( cloud.google.com/go/iam v1.1.2 // indirect cloud.google.com/go/storage v1.30.1 // indirect cosmossdk.io/api v0.7.2 // indirect - cosmossdk.io/client/v2 v2.0.0-20231025092924-0c4c24bb3b14 // indirect + cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158 // indirect cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/core v0.11.0 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect cosmossdk.io/log v1.2.1 // indirect - cosmossdk.io/store v1.0.0-rc.0 // indirect - cosmossdk.io/x/circuit v0.0.0-20231006102024-9af83f4b9295 // indirect - cosmossdk.io/x/evidence v0.0.0-20231006102024-9af83f4b9295 // indirect - cosmossdk.io/x/feegrant v0.0.0-20231006102024-9af83f4b9295 // indirect + cosmossdk.io/store v1.0.0 // indirect + cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158 // indirect + cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158 // indirect + cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158 // indirect cosmossdk.io/x/tx v0.11.0 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -73,7 +73,7 @@ require ( github.com/cosmos/cosmos-proto v1.0.0-beta.3 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/iavl v1.0.0-rc.1 // indirect + github.com/cosmos/iavl v1.0.0 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.2 // indirect @@ -131,7 +131,7 @@ require ( github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-metrics v0.5.1 // indirect - github.com/hashicorp/go-plugin v1.4.10 // indirect + github.com/hashicorp/go-plugin v1.5.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v1.0.2 // indirect @@ -159,7 +159,7 @@ require ( github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/mimoo/StrobeGo v0.0.0-20220103164710-9a04d6ca976b // indirect github.com/minio/highwayhash v1.0.2 // indirect @@ -209,7 +209,7 @@ require ( github.com/subosito/gotenv v1.6.0 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect github.com/tendermint/go-amino v0.16.0 // indirect - github.com/tidwall/btree v1.6.0 // indirect + github.com/tidwall/btree v1.7.0 // indirect github.com/tyler-smith/go-bip32 v1.0.0 // indirect github.com/tyler-smith/go-bip39 v1.1.0 // indirect github.com/ulikunitz/xz v0.5.11 // indirect diff --git a/e2e/go.sum b/e2e/go.sum index 8261d369b37..847cc608189 100644 --- a/e2e/go.sum +++ b/e2e/go.sum @@ -189,8 +189,8 @@ cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1V cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= cosmossdk.io/api v0.7.2 h1:BO3i5fvKMKvfaUiMkCznxViuBEfyWA/k6w2eAF6q1C4= cosmossdk.io/api v0.7.2/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= -cosmossdk.io/client/v2 v2.0.0-20231025092924-0c4c24bb3b14 h1:a73ftLNK920OitGqJDUOaRJpG/aqDIjzTFYLCrmkh4g= -cosmossdk.io/client/v2 v2.0.0-20231025092924-0c4c24bb3b14/go.mod h1:sEokappqu0aTViimwanX5TJvcX04wXfUwPYRV6FIgko= +cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158 h1:PRUfG/T5vwn+g8fm9eRmnIit4RsoQsIeoQv6uMtyceI= +cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158/go.mod h1:sEokappqu0aTViimwanX5TJvcX04wXfUwPYRV6FIgko= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= cosmossdk.io/collections v0.4.0/go.mod h1:oa5lUING2dP+gdDquow+QjlF45eL1t4TJDypgGd+tv0= cosmossdk.io/core v0.11.0 h1:vtIafqUi+1ZNAE/oxLOQQ7Oek2n4S48SWLG8h/+wdbo= @@ -203,18 +203,18 @@ cosmossdk.io/log v1.2.1 h1:Xc1GgTCicniwmMiKwDxUjO4eLhPxoVdI9vtMW8Ti/uk= cosmossdk.io/log v1.2.1/go.mod h1:GNSCc/6+DhFIj1aLn/j7Id7PaO8DzNylUZoOYBL9+I4= cosmossdk.io/math v1.1.3-rc.1 h1:NebCNWDqb1MJRNfvxr4YY7d8FSYgkuB3L75K6xvM+Zo= cosmossdk.io/math v1.1.3-rc.1/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= -cosmossdk.io/store v1.0.0-rc.0 h1:9DwOjuUYxDtYxn/REkTxGQAmxlIGfRroB35MQ8TrxF4= -cosmossdk.io/store v1.0.0-rc.0/go.mod h1:FtBDOJmwtOZfmKKF65bKZbTYgS3bDNjjo3nP76dAegk= -cosmossdk.io/x/circuit v0.0.0-20231006102024-9af83f4b9295 h1:eRF9F/7l1o1Fni5wkeF+7pt1FDZMshWMLNDgPXCZtzY= -cosmossdk.io/x/circuit v0.0.0-20231006102024-9af83f4b9295/go.mod h1:syo6njNlaE1KLXRFd1gZQr/7pMstANp2zMqVUC+u4h4= -cosmossdk.io/x/evidence v0.0.0-20231006102024-9af83f4b9295 h1:QNB60YjgL++icMGthEwvlC4t+NA6J8aIa9iu5vFoHhY= -cosmossdk.io/x/evidence v0.0.0-20231006102024-9af83f4b9295/go.mod h1:NnXh/dJmM9Lc/cLqase2tD6Sp1kU2K3iip/4fIMafw8= -cosmossdk.io/x/feegrant v0.0.0-20231006102024-9af83f4b9295 h1:Tb4Y4U4H980eORdzvNmBc+kS/1CHNhgcgmFHsPXh11k= -cosmossdk.io/x/feegrant v0.0.0-20231006102024-9af83f4b9295/go.mod h1:nnIKdJKz1Os+sOlJHrjgMOh1WAlle0aV7Y+0x434OyI= +cosmossdk.io/store v1.0.0 h1:6tnPgTpTSIskaTmw/4s5C9FARdgFflycIc9OX8i1tOI= +cosmossdk.io/store v1.0.0/go.mod h1:ABMprwjvx6IpMp8l06TwuMrj6694/QP5NIW+X6jaTYc= +cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158 h1:w1WHpy0McqngZXmpYamLfwFytT5lY/EfnDrJIgLeG8w= +cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158/go.mod h1:xqLjv08l2XgIZLOuNUQpdxSeggQXopbq1PV6ZfHOyOE= +cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158 h1:vXroToZDOIqOxsLxkmFjuPaKr2HlDmhD9Md2eT9abp0= +cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158/go.mod h1:N//0zHq1MoGysusHeZC/LmH0Lw3u55QR/mUr5UMzCSw= +cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158 h1:/Vvseql0IDcoBquKcRopFt4wKEVFC8EQUOGG79BS+Zo= +cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158/go.mod h1:vmiW+2cIfGZULh6ReN03sawbhn8UUGrttNMxiIiduKI= cosmossdk.io/x/tx v0.11.0 h1:Ak2LIC06bXqPbpMIEorkQbwVddRvRys1sL3Cjm+KPfs= cosmossdk.io/x/tx v0.11.0/go.mod h1:tzuC7JlfGivYuIO32JbvvY3Ft9s6FK1+r0/nGHiHwtM= -cosmossdk.io/x/upgrade v0.0.0-20231006102024-9af83f4b9295 h1:S13Eg5klPdHtWlDF5R5cou9mgF03D+mHmBBNlP1XDPs= -cosmossdk.io/x/upgrade v0.0.0-20231006102024-9af83f4b9295/go.mod h1:TiRRu0bfrDCN4suS/gYrM5yDitmuZyyjV92P6tA/IFs= +cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158 h1:pxrCcE+kVVhfEwrajiM127XXBsDmqvSO61FwGt68KPY= +cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158/go.mod h1:OGcabvCst54+IOZQodvOAbAxEhhlhk6mvGQV8zRh7wI= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= @@ -375,8 +375,8 @@ github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0 github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231025125555-301ceca874dc h1:ky7Vtoph5bRNfokq9iKO/FWntK7Mc9AHiRzzgTmTpRE= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231025125555-301ceca874dc/go.mod h1:FxbXMhS/Fz47QeviJ3yi1JgB0qCzgclMQ8s7MjD/I88= +github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158 h1:2qUCJkcz2X1hveQuhIYH8M5BPjFpeayhmVwJ7gPWFmM= +github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158/go.mod h1:FxbXMhS/Fz47QeviJ3yi1JgB0qCzgclMQ8s7MjD/I88= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= @@ -385,8 +385,8 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g= github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y= -github.com/cosmos/iavl v1.0.0-rc.1 h1:5+73BEWW1gZOIUJKlk/1fpD4lOqqeFBA8KuV+NpkCpU= -github.com/cosmos/iavl v1.0.0-rc.1/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= +github.com/cosmos/iavl v1.0.0 h1:bw6t0Mv/mVCJvlMTOPHWLs5uUE3BRBfVWCRelOzl+so= +github.com/cosmos/iavl v1.0.0/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6 h1:K3lWRr/WJkPdSWErxhQL1x0CTnJyONHwJSyaTefGDf0= github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6/go.mod h1:DBP9jg+NoXU2buK5QDyf87lMjcQYN8qFlByNeNJmuhs= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= @@ -704,8 +704,8 @@ github.com/hashicorp/go-metrics v0.5.1 h1:rfPwUqFU6uZXNvGl4hzjY8LEBsqFVU4si1H9/H github.com/hashicorp/go-metrics v0.5.1/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-plugin v1.4.10 h1:xUbmA4jC6Dq163/fWcp8P3JuHilrHHMLNRxzGQJ9hNk= -github.com/hashicorp/go-plugin v1.4.10/go.mod h1:6/1TEzT0eQznvI/gV2CM29DLSkAK/e58mUWKVsPaph0= +github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= +github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= @@ -756,8 +756,8 @@ github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLf github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= github.com/ipfs/go-cid v0.4.1/go.mod h1:uQHwDeX4c6CtyrFwdqyhpNcxVewur1M7l7fNU7LKwZk= -github.com/jhump/protoreflect v1.15.2 h1:7YppbATX94jEt9KLAc5hICx4h6Yt3SaavhQRsIUEHP0= -github.com/jhump/protoreflect v1.15.2/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= +github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFonzls= +github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= @@ -831,8 +831,9 @@ github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNx github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y= @@ -1102,8 +1103,8 @@ github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70 github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= -github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= +github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= +github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tklauser/go-sysconf v0.3.11 h1:89WgdJhk5SNwJfu+GKyYveZ4IaJ7xAkecBo+KdJV0CM= github.com/tklauser/go-sysconf v0.3.11/go.mod h1:GqXfhXY3kiPa0nAXPDIQIWzJbMCB7AmcWpGR8lSZfqI= github.com/tklauser/numcpus v0.4.0 h1:E53Dm1HjH1/R2/aoCtXtPgzmElmn51aOkhCFSuZq//o= diff --git a/e2e/sample.config.yaml b/e2e/sample.config.yaml index 0cba9907c73..c172808725b 100644 --- a/e2e/sample.config.yaml +++ b/e2e/sample.config.yaml @@ -24,7 +24,7 @@ activeRelayer: hermes # override with RELAYER_ID relayers: - id: hermes image: ghcr.io/informalsystems/hermes - tag: "bef2f53" + tag: "v1.7.0" - id: rly image: ghcr.io/cosmos/relayer tag: "latest" diff --git a/e2e/semverutil/semver.go b/e2e/semverutil/semver.go index c8585d3cdd7..8c93920b9cc 100644 --- a/e2e/semverutil/semver.go +++ b/e2e/semverutil/semver.go @@ -25,7 +25,8 @@ func (fr FeatureReleases) IsSupported(versionStr string) bool { const releasePrefix = "release-" if strings.HasPrefix(versionStr, releasePrefix) { versionStr = versionStr[len(releasePrefix):] - versionStr = strings.ReplaceAll(versionStr, "x", "0") + // replace x with 999 so the release version is always larger than the others in the release line. + versionStr = strings.ReplaceAll(versionStr, "x", "999") } // assume any non-semantic version formatted version supports the feature diff --git a/e2e/tests/core/03-connection/connection_test.go b/e2e/tests/core/03-connection/connection_test.go index 39a6110008e..6a634986307 100644 --- a/e2e/tests/core/03-connection/connection_test.go +++ b/e2e/tests/core/03-connection/connection_test.go @@ -128,7 +128,8 @@ func (s *ConnectionTestSuite) TestMaxExpectedTimePerBlockParam() { t.Run("packets are relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.Counterparty.PortID, channelA.Counterparty.ChannelID, 1) - actualBalance, err := chainA.GetBalance(ctx, chainAAddress, chainAIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainA, chainAAddress, chainAIBCToken.IBCDenom()) + s.Require().NoError(err) expected := testvalues.IBCTransferAmount diff --git a/e2e/tests/interchain_accounts/base_test.go b/e2e/tests/interchain_accounts/base_test.go index 3f32ce0f79c..1425e512787 100644 --- a/e2e/tests/interchain_accounts/base_test.go +++ b/e2e/tests/interchain_accounts/base_test.go @@ -124,10 +124,10 @@ func (s *InterchainAccountsTestSuite) TestMsgSendTx_SuccessfulTransfer() { }) t.Run("verify tokens transferred", func(t *testing.T) { - balance, err := chainB.GetBalance(ctx, chainBAccount.FormattedAddress(), chainB.Config().Denom) + balance, err := s.QueryBalance(ctx, chainB, chainBAccount.FormattedAddress(), chainB.Config().Denom) s.Require().NoError(err) - _, err = chainB.GetBalance(ctx, hostAccount, chainB.Config().Denom) + _, err = s.QueryBalance(ctx, chainB, hostAccount, chainB.Config().Denom) s.Require().NoError(err) expected := testvalues.IBCTransferAmount + testvalues.StartingTokenAmount @@ -178,7 +178,8 @@ func (s *InterchainAccountsTestSuite) TestMsgSendTx_FailedTransfer_InsufficientF t.Run("fail to execute bank transfer over ICA", func(t *testing.T) { t.Run("verify empty host wallet", func(t *testing.T) { - hostAccountBalance, err := chainB.GetBalance(ctx, hostAccount, chainB.Config().Denom) + hostAccountBalance, err := s.QueryBalance(ctx, chainB, hostAccount, chainB.Config().Denom) + s.Require().NoError(err) s.Require().Zero(hostAccountBalance.Int64()) }) @@ -216,7 +217,7 @@ func (s *InterchainAccountsTestSuite) TestMsgSendTx_FailedTransfer_InsufficientF }) t.Run("verify balance is the same", func(t *testing.T) { - balance, err := chainB.GetBalance(ctx, chainBAccount.FormattedAddress(), chainB.Config().Denom) + balance, err := s.QueryBalance(ctx, chainB, chainBAccount.FormattedAddress(), chainB.Config().Denom) s.Require().NoError(err) expected := testvalues.StartingTokenAmount @@ -335,10 +336,10 @@ func (s *InterchainAccountsTestSuite) TestMsgSendTx_SuccessfulTransfer_AfterReop }) t.Run("verify tokens not transferred", func(t *testing.T) { - balance, err := chainB.GetBalance(ctx, chainBAccount.FormattedAddress(), chainB.Config().Denom) + balance, err := s.QueryBalance(ctx, chainB, chainBAccount.FormattedAddress(), chainB.Config().Denom) s.Require().NoError(err) - _, err = chainB.GetBalance(ctx, hostAccount, chainB.Config().Denom) + _, err = s.QueryBalance(ctx, chainB, hostAccount, chainB.Config().Denom) s.Require().NoError(err) expected := testvalues.StartingTokenAmount @@ -398,7 +399,7 @@ func (s *InterchainAccountsTestSuite) TestMsgSendTx_SuccessfulTransfer_AfterReop }) t.Run("verify tokens transferred", func(t *testing.T) { - balance, err := chainB.GetBalance(ctx, chainBAccount.FormattedAddress(), chainB.Config().Denom) + balance, err := s.QueryBalance(ctx, chainB, chainBAccount.FormattedAddress(), chainB.Config().Denom) s.Require().NoError(err) expected := testvalues.IBCTransferAmount + testvalues.StartingTokenAmount diff --git a/e2e/tests/interchain_accounts/gov_test.go b/e2e/tests/interchain_accounts/gov_test.go index f1a66aa07f1..3505fcd559d 100644 --- a/e2e/tests/interchain_accounts/gov_test.go +++ b/e2e/tests/interchain_accounts/gov_test.go @@ -108,10 +108,10 @@ func (s *InterchainAccountsGovTestSuite) TestInterchainAccountsGovIntegration() }) t.Run("verify tokens transferred", func(t *testing.T) { - balance, err := chainB.GetBalance(ctx, chainBAccount.FormattedAddress(), chainB.Config().Denom) + balance, err := s.QueryBalance(ctx, chainB, chainBAccount.FormattedAddress(), chainB.Config().Denom) s.Require().NoError(err) - _, err = chainB.GetBalance(ctx, interchainAccAddr, chainB.Config().Denom) + _, err = s.QueryBalance(ctx, chainB, interchainAccAddr, chainB.Config().Denom) s.Require().NoError(err) expected := testvalues.IBCTransferAmount + testvalues.StartingTokenAmount diff --git a/e2e/tests/interchain_accounts/groups_test.go b/e2e/tests/interchain_accounts/groups_test.go index a24dfbfae28..cb35af1a20f 100644 --- a/e2e/tests/interchain_accounts/groups_test.go +++ b/e2e/tests/interchain_accounts/groups_test.go @@ -198,14 +198,14 @@ func (s *InterchainAccountsGroupsTestSuite) TestInterchainAccountsGroupsIntegrat t.Run("verify tokens transferred", func(t *testing.T) { s.Require().NoError(test.WaitForBlocks(ctx, 10, chainA, chainB), "failed to wait for blocks") + balance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainB.Config().Denom) - balance, err := chainB.GetBalance(ctx, chainBAddress, chainB.Config().Denom) s.Require().NoError(err) expected := testvalues.IBCTransferAmount + testvalues.StartingTokenAmount s.Require().Equal(expected, balance.Int64()) - balance, err = chainB.GetBalance(ctx, interchainAccAddr, chainB.Config().Denom) + balance, err = s.QueryBalance(ctx, chainB, interchainAccAddr, chainB.Config().Denom) s.Require().NoError(err) expected = testvalues.StartingTokenAmount - testvalues.IBCTransferAmount diff --git a/e2e/tests/interchain_accounts/incentivized_test.go b/e2e/tests/interchain_accounts/incentivized_test.go index 8a35ba1042f..00f0ae464b0 100644 --- a/e2e/tests/interchain_accounts/incentivized_test.go +++ b/e2e/tests/interchain_accounts/incentivized_test.go @@ -184,10 +184,10 @@ func (s *IncentivizedInterchainAccountsTestSuite) TestMsgSendTx_SuccessfulBankSe }) t.Run("verify interchain account sent tokens", func(t *testing.T) { - balance, err := chainB.GetBalance(ctx, chainBAccount.FormattedAddress(), chainB.Config().Denom) + balance, err := s.QueryBalance(ctx, chainB, chainBAccount.FormattedAddress(), chainB.Config().Denom) s.Require().NoError(err) - _, err = chainB.GetBalance(ctx, interchainAcc, chainB.Config().Denom) + _, err = s.QueryBalance(ctx, chainB, interchainAcc, chainB.Config().Denom) s.Require().NoError(err) expected := testvalues.IBCTransferAmount + testvalues.StartingTokenAmount @@ -353,10 +353,10 @@ func (s *IncentivizedInterchainAccountsTestSuite) TestMsgSendTx_FailedBankSend_I }) t.Run("verify interchain account did not send tokens", func(t *testing.T) { - balance, err := chainB.GetBalance(ctx, chainBAccount.FormattedAddress(), chainB.Config().Denom) + balance, err := s.QueryBalance(ctx, chainB, chainBAccount.FormattedAddress(), chainB.Config().Denom) s.Require().NoError(err) - _, err = chainB.GetBalance(ctx, interchainAcc, chainB.Config().Denom) + _, err = s.QueryBalance(ctx, chainB, interchainAcc, chainB.Config().Denom) s.Require().NoError(err) expected := testvalues.StartingTokenAmount diff --git a/e2e/tests/interchain_accounts/localhost_test.go b/e2e/tests/interchain_accounts/localhost_test.go index 9d1e52ebace..9f1f2272a03 100644 --- a/e2e/tests/interchain_accounts/localhost_test.go +++ b/e2e/tests/interchain_accounts/localhost_test.go @@ -183,7 +183,7 @@ func (s *LocalhostInterchainAccountsTestSuite) TestInterchainAccounts_Localhost( }) t.Run("verify tokens transferred", func(t *testing.T) { - balance, err := chainA.GetBalance(ctx, userBWallet.FormattedAddress(), chainADenom) + balance, err := s.QueryBalance(ctx, chainA, userBWallet.FormattedAddress(), chainADenom) s.Require().NoError(err) expected := testvalues.IBCTransferAmount + testvalues.StartingTokenAmount @@ -408,7 +408,7 @@ func (s *LocalhostInterchainAccountsTestSuite) TestInterchainAccounts_ReopenChan s.Require().NoError(err) s.Require().NotZero(len(interchainAccAddress)) - balance, err := chainA.GetBalance(ctx, interchainAccAddress, chainADenom) + balance, err := s.QueryBalance(ctx, chainA, interchainAccAddress, chainADenom) s.Require().NoError(err) expected := testvalues.StartingTokenAmount @@ -467,7 +467,7 @@ func (s *LocalhostInterchainAccountsTestSuite) TestInterchainAccounts_ReopenChan t.Run("verify tokens transferred", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, controllerPortID, msgChanOpenInitRes.ChannelId, 1) - balance, err := chainA.GetBalance(ctx, userBWallet.FormattedAddress(), chainADenom) + balance, err := s.QueryBalance(ctx, chainA, userBWallet.FormattedAddress(), chainADenom) s.Require().NoError(err) expected := testvalues.IBCTransferAmount + testvalues.StartingTokenAmount diff --git a/e2e/tests/transfer/authz_test.go b/e2e/tests/transfer/authz_test.go index f9af5f15468..dd390ad3da5 100644 --- a/e2e/tests/transfer/authz_test.go +++ b/e2e/tests/transfer/authz_test.go @@ -137,7 +137,8 @@ func (suite *AuthzTransferTestSuite) TestAuthz_MsgTransfer_Succeeds() { t.Run("verify receiver wallet amount", func(t *testing.T) { chainBIBCToken := testsuite.GetIBCToken(chainADenom, channelA.Counterparty.PortID, channelA.Counterparty.ChannelID) - actualBalance, err := chainB.GetBalance(ctx, receiverWalletAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := suite.QueryBalance(ctx, chainB, receiverWalletAddress, chainBIBCToken.IBCDenom()) + suite.Require().NoError(err) suite.Require().Equal(testvalues.IBCTransferAmount, actualBalance.Int64()) }) @@ -273,7 +274,8 @@ func (suite *AuthzTransferTestSuite) TestAuthz_InvalidTransferAuthorizations() { t.Run("verify receiver wallet amount", func(t *testing.T) { chainBIBCToken := testsuite.GetIBCToken(chainADenom, channelA.Counterparty.PortID, channelA.Counterparty.ChannelID) - actualBalance, err := chainB.GetBalance(ctx, receiverWalletAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := suite.QueryBalance(ctx, chainB, receiverWalletAddress, chainBIBCToken.IBCDenom()) + suite.Require().NoError(err) suite.Require().Equal(int64(0), actualBalance.Int64()) }) diff --git a/e2e/tests/transfer/base_test.go b/e2e/tests/transfer/base_test.go index 45649157402..9af6e71f309 100644 --- a/e2e/tests/transfer/base_test.go +++ b/e2e/tests/transfer/base_test.go @@ -100,15 +100,11 @@ func (s *TransferTestSuite) TestMsgTransfer_Succeeds_Nonincentivized() { t.Run("packets are relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 1) - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) s.Require().NoError(err) expected := testvalues.IBCTransferAmount s.Require().Equal(expected, actualBalance.Int64()) - - if testvalues.DenomMetadataFeatureReleases.IsSupported(chainBVersion) { - s.AssertHumanReadableDenom(ctx, chainB, chainADenom, channelA) - } }) if testvalues.TokenMetadataFeatureReleases.IsSupported(chainBVersion) { @@ -123,7 +119,7 @@ func (s *TransferTestSuite) TestMsgTransfer_Succeeds_Nonincentivized() { }) t.Run("tokens are escrowed", func(t *testing.T) { - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) s.Require().NoError(err) s.Require().Equal(sdkmath.ZeroInt(), actualBalance) @@ -362,8 +358,8 @@ func (s *TransferTestSuite) TestReceiveEnabledParam() { t.Run("packets are relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.Counterparty.PortID, channelA.Counterparty.ChannelID, 1) + actualBalance, err := s.QueryBalance(ctx, chainA, chainAAddress, chainAIBCToken.IBCDenom()) - actualBalance, err := chainA.GetBalance(ctx, chainAAddress, chainAIBCToken.IBCDenom()) s.Require().NoError(err) expected := testvalues.IBCTransferAmount @@ -481,8 +477,8 @@ func (s *TransferTestSuite) TestMsgTransfer_WithMemo() { t.Run("packets relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 1) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) s.Require().NoError(err) if testvalues.MemoFeatureReleases.IsSupported(chainBVersion) { diff --git a/e2e/tests/transfer/localhost_test.go b/e2e/tests/transfer/localhost_test.go index 1182429abc4..df8a0bf976c 100644 --- a/e2e/tests/transfer/localhost_test.go +++ b/e2e/tests/transfer/localhost_test.go @@ -167,7 +167,8 @@ func (s *LocalhostTransferTestSuite) TestMsgTransfer_Localhost() { s.AssertPacketRelayed(ctx, chainA, transfertypes.PortID, msgChanOpenInitRes.ChannelId, 1) ibcToken := testsuite.GetIBCToken(chainADenom, transfertypes.PortID, msgChanOpenTryRes.ChannelId) - actualBalance, err := chainA.GetBalance(ctx, userBWallet.FormattedAddress(), ibcToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainA, userBWallet.FormattedAddress(), ibcToken.IBCDenom()) + s.Require().NoError(err) expected := testvalues.IBCTransferAmount diff --git a/e2e/tests/upgrades/genesis_test.go b/e2e/tests/upgrades/genesis_test.go index 918c576ffc6..95cba42dcf9 100644 --- a/e2e/tests/upgrades/genesis_test.go +++ b/e2e/tests/upgrades/genesis_test.go @@ -102,7 +102,8 @@ func (s *GenesisTestSuite) TestIBCGenesis() { t.Run("ics20: packets are relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 1) - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) + s.Require().NoError(err) expected := testvalues.IBCTransferAmount diff --git a/e2e/tests/upgrades/upgrade_test.go b/e2e/tests/upgrades/upgrade_test.go index 7ee7afb6f2b..338a77961b9 100644 --- a/e2e/tests/upgrades/upgrade_test.go +++ b/e2e/tests/upgrades/upgrade_test.go @@ -144,7 +144,8 @@ func (s *UpgradeTestSuite) TestIBCChainUpgrade() { t.Run("packets are relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 1) - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) + s.Require().NoError(err) expected := testvalues.IBCTransferAmount @@ -171,8 +172,8 @@ func (s *UpgradeTestSuite) TestIBCChainUpgrade() { t.Run("packets are relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 2) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) s.Require().NoError(err) expected := testvalues.IBCTransferAmount * 2 @@ -190,7 +191,8 @@ func (s *UpgradeTestSuite) TestIBCChainUpgrade() { t.Run("packets are relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.Counterparty.PortID, channelA.Counterparty.ChannelID, 1) - actualBalance, err := chainA.GetBalance(ctx, chainAAddress, chainAIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainA, chainAAddress, chainAIBCToken.IBCDenom()) + s.Require().NoError(err) expected := testvalues.IBCTransferAmount @@ -220,7 +222,7 @@ func (s *UpgradeTestSuite) TestChainUpgrade() { }) t.Run("verify tokens sent", func(t *testing.T) { - balance, err := chain.GetBalance(ctx, userWalletAddr, chain.Config().Denom) + balance, err := s.QueryBalance(ctx, chain, userWalletAddr, chain.Config().Denom) s.Require().NoError(err) expected := testvalues.StartingTokenAmount * 2 @@ -244,7 +246,7 @@ func (s *UpgradeTestSuite) TestChainUpgrade() { }) t.Run("verify tokens sent", func(t *testing.T) { - balance, err := chain.GetBalance(ctx, userWalletAddr, chain.Config().Denom) + balance, err := s.QueryBalance(ctx, chain, userWalletAddr, chain.Config().Denom) s.Require().NoError(err) expected := testvalues.StartingTokenAmount * 3 @@ -356,7 +358,7 @@ func (s *UpgradeTestSuite) TestV6ToV7ChainUpgrade() { t.Run("packets are relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 1) - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) s.Require().NoError(err) expected := testvalues.IBCTransferAmount @@ -397,7 +399,7 @@ func (s *UpgradeTestSuite) TestV6ToV7ChainUpgrade() { t.Run("packets are relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 1) - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) s.Require().NoError(err) expected := testvalues.IBCTransferAmount * 2 @@ -451,7 +453,7 @@ func (s *UpgradeTestSuite) TestV7ToV7_1ChainUpgrade() { t.Run("packet is relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 1) - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) s.Require().NoError(err) expected := testvalues.IBCTransferAmount @@ -542,7 +544,7 @@ func (s *UpgradeTestSuite) TestV7ToV8ChainUpgrade() { t.Run("packet is relayed", func(t *testing.T) { s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 1) - actualBalance, err := chainB.GetBalance(ctx, chainBAddress, chainBIBCToken.IBCDenom()) + actualBalance, err := s.QueryBalance(ctx, chainB, chainBAddress, chainBIBCToken.IBCDenom()) s.Require().NoError(err) expected := testvalues.IBCTransferAmount diff --git a/e2e/testsuite/grpc_query.go b/e2e/testsuite/grpc_query.go index 00c0d75c827..f3d820a9ad6 100644 --- a/e2e/testsuite/grpc_query.go +++ b/e2e/testsuite/grpc_query.go @@ -11,6 +11,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" + "cosmossdk.io/math" upgradetypes "cosmossdk.io/x/upgrade/types" "github.com/cosmos/cosmos-sdk/client/grpc/cmtservice" @@ -270,6 +271,20 @@ func (s *E2ETestSuite) QueryCounterPartyPayee(ctx context.Context, chain ibc.Cha return res.CounterpartyPayee, nil } +// QueryBalance returns the balance of a specific denomination for a given account by address. +func (s *E2ETestSuite) QueryBalance(ctx context.Context, chain ibc.Chain, address string, denom string) (math.Int, error) { + queryClient := s.GetChainGRCPClients(chain).BankQueryClient + res, err := queryClient.Balance(ctx, &banktypes.QueryBalanceRequest{ + Address: address, + Denom: denom, + }) + if err != nil { + return math.Int{}, err + } + + return res.Balance.Amount, nil +} + // QueryProposalV1Beta1 queries the governance proposal on the given chain with the given proposal ID. func (s *E2ETestSuite) QueryProposalV1Beta1(ctx context.Context, chain ibc.Chain, proposalID uint64) (govtypesv1beta1.Proposal, error) { queryClient := s.GetChainGRCPClients(chain).GovQueryClient diff --git a/e2e/testsuite/testconfig.go b/e2e/testsuite/testconfig.go index 1e3594e5f4d..9aacde80292 100644 --- a/e2e/testsuite/testconfig.go +++ b/e2e/testsuite/testconfig.go @@ -58,7 +58,7 @@ const ( // TODO: https://github.com/cosmos/ibc-go/issues/4965 defaultHyperspaceTag = "local" // defaultHermesTag is the tag that will be used if no relayer tag is specified for hermes. - defaultHermesTag = "bef2f53" + defaultHermesTag = "v1.7.0" // defaultChainTag is the tag that will be used for the chains if none is specified. defaultChainTag = "main" // defaultConfigFileName is the default filename for the config file that can be used to configure diff --git a/e2e/testsuite/testsuite.go b/e2e/testsuite/testsuite.go index 39417fa203f..1d51238cc69 100644 --- a/e2e/testsuite/testsuite.go +++ b/e2e/testsuite/testsuite.go @@ -314,13 +314,22 @@ func (s *E2ETestSuite) CreateUserOnChainB(ctx context.Context, amount int64) ibc // GetChainANativeBalance gets the balance of a given user on chain A. func (s *E2ETestSuite) GetChainANativeBalance(ctx context.Context, user ibc.Wallet) (int64, error) { chainA, _ := s.GetChains() - return GetNativeChainBalance(ctx, chainA, user) + + balance, err := s.QueryBalance(ctx, chainA, user.FormattedAddress(), chainA.Config().Denom) + if err != nil { + return 0, err + } + return balance.Int64(), nil } // GetChainBNativeBalance gets the balance of a given user on chain B. func (s *E2ETestSuite) GetChainBNativeBalance(ctx context.Context, user ibc.Wallet) (int64, error) { _, chainB := s.GetChains() - return GetNativeChainBalance(ctx, chainB, user) + balance, err := s.QueryBalance(ctx, chainB, user.FormattedAddress(), chainB.Config().Denom) + if err != nil { + return -1, err + } + return balance.Int64(), nil } // GetChainGRCPClients gets the GRPC clients associated with the given chain. @@ -403,15 +412,6 @@ func (s *E2ETestSuite) GetTimeoutHeight(ctx context.Context, chain ibc.Chain) cl return clienttypes.NewHeight(clienttypes.ParseChainID(chain.Config().ChainID), height+1000) } -// GetNativeChainBalance returns the balance of a specific user on a chain using the native denom. -func GetNativeChainBalance(ctx context.Context, chain ibc.Chain, user ibc.Wallet) (int64, error) { - bal, err := chain.GetBalance(ctx, user.FormattedAddress(), chain.Config().Denom) - if err != nil { - return -1, err - } - return bal.Int64(), nil -} - // GetIBCToken returns the denomination of the full token denom sent to the receiving channel func GetIBCToken(fullTokenDenom string, portID, channelID string) transfertypes.DenomTrace { return transfertypes.ParseDenomTrace(fmt.Sprintf("%s/%s/%s", portID, channelID, fullTokenDenom)) diff --git a/e2e/testvalues/values.go b/e2e/testvalues/values.go index 37232a2db6d..e4686fc4ebb 100644 --- a/e2e/testvalues/values.go +++ b/e2e/testvalues/values.go @@ -82,6 +82,7 @@ var MemoFeatureReleases = semverutil.FeatureReleases{ // TotalEscrowFeatureReleases represents the releases the total escrow state entry was released in. var TotalEscrowFeatureReleases = semverutil.FeatureReleases{ + MajorVersion: "v8", MinorVersions: []string{ "v7.1", }, @@ -89,17 +90,13 @@ var TotalEscrowFeatureReleases = semverutil.FeatureReleases{ // IbcErrorsFeatureReleases represents the releases the IBC module level errors was released in. var IbcErrorsFeatureReleases = semverutil.FeatureReleases{ - MajorVersion: "v8.0", + MajorVersion: "v8", } // LocalhostClientFeatureReleases represents the releases the localhost client was released in. var LocalhostClientFeatureReleases = semverutil.FeatureReleases{ + MajorVersion: "v8", MinorVersions: []string{ "v7.1", }, } - -// DenomMetadataFeatureReleases represents the releases the human readable denom feature was released in. -var DenomMetadataFeatureReleases = semverutil.FeatureReleases{ - MajorVersion: "v8", -} diff --git a/go.mod b/go.mod index 24358badd6b..ca030dd0845 100644 --- a/go.mod +++ b/go.mod @@ -3,23 +3,23 @@ go 1.21 module github.com/cosmos/ibc-go/v8 require ( - cosmossdk.io/api v0.7.1 - cosmossdk.io/client/v2 v2.0.0-20230818115413-c402c51a1508 + cosmossdk.io/api v0.7.2 + cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158 cosmossdk.io/core v0.11.0 cosmossdk.io/errors v1.0.0 cosmossdk.io/log v1.2.1 cosmossdk.io/math v1.1.3-rc.1 - cosmossdk.io/store v1.0.0-rc.0 - cosmossdk.io/tools/confix v0.0.0-20230818115413-c402c51a1508 - cosmossdk.io/x/circuit v0.0.0-20230818115413-c402c51a1508 - cosmossdk.io/x/evidence v0.0.0-20230818115413-c402c51a1508 - cosmossdk.io/x/feegrant v0.0.0-20230818115413-c402c51a1508 - cosmossdk.io/x/tx v0.10.0 - cosmossdk.io/x/upgrade v0.0.0-20230915171831-2196edacb99d + cosmossdk.io/store v1.0.0 + cosmossdk.io/tools/confix v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/tx v0.11.0 + cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158 github.com/cometbft/cometbft v0.38.0 github.com/cosmos/cosmos-db v1.0.0 github.com/cosmos/cosmos-proto v1.0.0-beta.3 - github.com/cosmos/cosmos-sdk v0.50.0-rc.1 + github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158 github.com/cosmos/gogoproto v1.4.11 github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6 github.com/cosmos/ics23/go v0.10.0 @@ -28,15 +28,23 @@ require ( github.com/hashicorp/go-metrics v0.5.1 github.com/spf13/cast v1.5.1 github.com/spf13/cobra v1.7.0 - github.com/spf13/viper v1.16.0 + github.com/spf13/viper v1.17.0 github.com/stretchr/testify v1.8.4 - google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e - google.golang.org/grpc v1.58.2 + google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97 + google.golang.org/grpc v1.59.0 google.golang.org/protobuf v1.31.0 gopkg.in/yaml.v2 v2.4.0 ) require ( + cloud.google.com/go v0.110.8 // indirect + cloud.google.com/go/compute v1.23.0 // indirect + cloud.google.com/go/compute/metadata v0.2.3 // indirect + cloud.google.com/go/iam v1.1.2 // indirect + cloud.google.com/go/storage v1.30.1 // indirect + cosmossdk.io/collections v0.4.0 // indirect + cosmossdk.io/depinject v1.0.0-alpha.4 // indirect + filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect github.com/DataDog/zstd v1.5.5 // indirect @@ -56,14 +64,6 @@ require ( ) require ( - cloud.google.com/go v0.110.6 // indirect - cloud.google.com/go/compute v1.23.0 // indirect - cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.1 // indirect - cloud.google.com/go/storage v1.30.1 // indirect - cosmossdk.io/collections v0.4.0 // indirect - cosmossdk.io/depinject v1.0.0-alpha.4 // indirect - filippo.io/edwards25519 v1.0.0 // indirect github.com/cockroachdb/pebble v0.0.0-20230817233644-564b068800e0 // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect @@ -71,12 +71,12 @@ require ( github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/iavl v1.0.0-rc.1 // indirect - github.com/cosmos/ledger-cosmos-go v0.13.0 // indirect + github.com/cosmos/iavl v1.0.0 // indirect + github.com/cosmos/ledger-cosmos-go v0.13.2 // indirect github.com/creachadair/atomicfile v0.3.1 // indirect github.com/creachadair/tomledit v0.0.24 // indirect github.com/danieljoos/wincred v1.1.2 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect github.com/dgraph-io/badger/v2 v2.2007.4 // indirect @@ -95,17 +95,17 @@ require ( github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gogo/googleapis v1.4.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/glog v1.1.0 // indirect + github.com/golang/glog v1.1.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect github.com/golang/snappy v0.0.4 // indirect github.com/google/btree v1.1.2 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/orderedcode v0.0.1 // indirect - github.com/google/s2a-go v0.1.4 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect - github.com/googleapis/gax-go/v2 v2.11.0 // indirect + github.com/google/s2a-go v0.1.7 // indirect + github.com/google/uuid v1.3.1 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.1 // indirect + github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/handlers v1.5.1 // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/gorilla/websocket v1.5.0 // indirect @@ -115,7 +115,7 @@ require ( github.com/hashicorp/go-getter v1.7.1 // indirect github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect - github.com/hashicorp/go-plugin v1.4.10 // indirect + github.com/hashicorp/go-plugin v1.5.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-uuid v1.0.2 // indirect github.com/hashicorp/go-version v1.6.0 // indirect @@ -129,7 +129,7 @@ require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect - github.com/klauspost/compress v1.16.7 // indirect + github.com/klauspost/compress v1.17.0 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect github.com/lib/pq v1.10.7 // indirect @@ -138,7 +138,7 @@ require ( github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/minio/highwayhash v1.0.2 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -147,47 +147,50 @@ require ( github.com/mtibben/percent v0.2.1 // indirect github.com/oasisprotocol/curve25519-voi v0.0.0-20230110094441-db37f07504ce // indirect github.com/oklog/run v1.1.0 // indirect - github.com/pelletier/go-toml/v2 v2.0.9 // indirect - github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761 // indirect + github.com/pelletier/go-toml/v2 v2.1.0 // indirect + github.com/petermattis/goid v0.0.0-20230808133559-b036b712a89b // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/prometheus/client_golang v1.16.0 // indirect - github.com/prometheus/client_model v0.4.0 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/prometheus/client_golang v1.17.0 // indirect + github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect github.com/prometheus/common v0.44.0 // indirect github.com/prometheus/procfs v0.11.1 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/rs/cors v1.8.3 // indirect - github.com/rs/zerolog v1.30.0 // indirect + github.com/rs/zerolog v1.31.0 // indirect + github.com/sagikazarmark/locafero v0.3.0 // indirect + github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect - github.com/spf13/afero v1.9.5 // indirect - github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect + github.com/spf13/afero v1.10.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/subosito/gotenv v1.4.2 // indirect + github.com/subosito/gotenv v1.6.0 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect github.com/tendermint/go-amino v0.16.0 // indirect - github.com/tidwall/btree v1.6.0 // indirect + github.com/tidwall/btree v1.7.0 // indirect github.com/ulikunitz/xz v0.5.11 // indirect - github.com/zondax/hid v0.9.1 // indirect - github.com/zondax/ledger-go v0.14.1 // indirect + github.com/zondax/hid v0.9.2 // indirect + github.com/zondax/ledger-go v0.14.3 // indirect go.etcd.io/bbolt v1.3.7 // indirect go.opencensus.io v0.24.0 // indirect - golang.org/x/crypto v0.13.0 // indirect - golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 // indirect - golang.org/x/net v0.15.0 // indirect - golang.org/x/oauth2 v0.10.0 // indirect + go.uber.org/multierr v1.10.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/oauth2 v0.12.0 // indirect golang.org/x/sync v0.3.0 // indirect - golang.org/x/sys v0.12.0 // indirect - golang.org/x/term v0.12.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.126.0 // indirect + google.golang.org/api v0.143.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb // indirect + google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - gotest.tools/v3 v3.5.0 // indirect + gotest.tools/v3 v3.5.1 // indirect nhooyr.io/websocket v1.8.6 // indirect pgregory.net/rapid v1.1.0 // indirect sigs.k8s.io/yaml v1.3.0 // indirect diff --git a/go.sum b/go.sum index 64e39765b40..a52d4242b7d 100644 --- a/go.sum +++ b/go.sum @@ -32,8 +32,8 @@ cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w9 cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.110.6 h1:8uYAkj3YHTP/1iwReuHPxLSbdcyc+dSBbzFMrVwDR6Q= -cloud.google.com/go v0.110.6/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.8 h1:tyNdfIxjzaWctIiLYOTalaLKZ17SI44SKFW26QbOhME= +cloud.google.com/go v0.110.8/go.mod h1:Iz8AkXJf1qmxC3Oxoep8R1T36w8B92yU29PcBhHO5fk= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= @@ -111,8 +111,8 @@ cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y97 cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= -cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +cloud.google.com/go/iam v1.1.2 h1:gacbrBdWcoVmGLozRuStX45YKvJtzIjJdAolzUs1sm4= +cloud.google.com/go/iam v1.1.2/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= @@ -187,10 +187,10 @@ cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xX cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cosmossdk.io/api v0.7.1 h1:PNQ1xN8+/0hj/sSD0ANqjkgfXFys+bZ5L8Hg7uzoUTU= -cosmossdk.io/api v0.7.1/go.mod h1:ure9edhcROIHsngavM6mBLilMGFnfjhV/AaYhEMUkdo= -cosmossdk.io/client/v2 v2.0.0-20230818115413-c402c51a1508 h1:tt5OMwdouv7dkwkWJYxb8I9h322bOxnC9RmK2qGvWMs= -cosmossdk.io/client/v2 v2.0.0-20230818115413-c402c51a1508/go.mod h1:iHeSk2AT6O8RNGlfcEQq6Yty6Z/6gydQsXXBh5I715Q= +cosmossdk.io/api v0.7.2 h1:BO3i5fvKMKvfaUiMkCznxViuBEfyWA/k6w2eAF6q1C4= +cosmossdk.io/api v0.7.2/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= +cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158 h1:PRUfG/T5vwn+g8fm9eRmnIit4RsoQsIeoQv6uMtyceI= +cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158/go.mod h1:sEokappqu0aTViimwanX5TJvcX04wXfUwPYRV6FIgko= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= cosmossdk.io/collections v0.4.0/go.mod h1:oa5lUING2dP+gdDquow+QjlF45eL1t4TJDypgGd+tv0= cosmossdk.io/core v0.11.0 h1:vtIafqUi+1ZNAE/oxLOQQ7Oek2n4S48SWLG8h/+wdbo= @@ -203,20 +203,20 @@ cosmossdk.io/log v1.2.1 h1:Xc1GgTCicniwmMiKwDxUjO4eLhPxoVdI9vtMW8Ti/uk= cosmossdk.io/log v1.2.1/go.mod h1:GNSCc/6+DhFIj1aLn/j7Id7PaO8DzNylUZoOYBL9+I4= cosmossdk.io/math v1.1.3-rc.1 h1:NebCNWDqb1MJRNfvxr4YY7d8FSYgkuB3L75K6xvM+Zo= cosmossdk.io/math v1.1.3-rc.1/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= -cosmossdk.io/store v1.0.0-rc.0 h1:9DwOjuUYxDtYxn/REkTxGQAmxlIGfRroB35MQ8TrxF4= -cosmossdk.io/store v1.0.0-rc.0/go.mod h1:FtBDOJmwtOZfmKKF65bKZbTYgS3bDNjjo3nP76dAegk= -cosmossdk.io/tools/confix v0.0.0-20230818115413-c402c51a1508 h1:axKhxRa3M9QW2GdKJUsSyzo44gxcwSOTGeomtkbQClM= -cosmossdk.io/tools/confix v0.0.0-20230818115413-c402c51a1508/go.mod h1:qcJ1zwLIMefpDHZuYSa73yBe/k5HyQ5H1Jg9PWv30Ts= -cosmossdk.io/x/circuit v0.0.0-20230818115413-c402c51a1508 h1:9HRBpMbGgk+W4BIp4ezYH2EjbpuVl2fBlwyJ2GZgrS0= -cosmossdk.io/x/circuit v0.0.0-20230818115413-c402c51a1508/go.mod h1:BhFX0kD6lkctNQO3ZGYY3p6h0/wPLVbFhrOt3uQxEIM= -cosmossdk.io/x/evidence v0.0.0-20230818115413-c402c51a1508 h1:R9H1lDpcPSkrLOnt6IDE38o0Wp8xE/+BAxocb0oyX4I= -cosmossdk.io/x/evidence v0.0.0-20230818115413-c402c51a1508/go.mod h1:yjIo3J0QKDo9CJawK1QoTA1hBx0llafVJdPqI0+ry74= -cosmossdk.io/x/feegrant v0.0.0-20230818115413-c402c51a1508 h1:TKqjhhTfLchU8nSo1WZRgaH7xZWzYUQXVRj9CePcbaw= -cosmossdk.io/x/feegrant v0.0.0-20230818115413-c402c51a1508/go.mod h1:kOr8Rr10RoMeGGk/pfW5yo1R7GQTGu4KdRgKphVvjz4= -cosmossdk.io/x/tx v0.10.0 h1:LxWF/hksVDbeQmFj4voLM5ZCHyVZ1cCNIqKenfH9plc= -cosmossdk.io/x/tx v0.10.0/go.mod h1:MKo9/b5wsoL8dd9y9pvD2yOP1CMvzHIWYxi1l2oLPFo= -cosmossdk.io/x/upgrade v0.0.0-20230915171831-2196edacb99d h1:LH8NPa2+yoMFdCTxCFyQUX5zVDip4YDgtg7e0EecDqo= -cosmossdk.io/x/upgrade v0.0.0-20230915171831-2196edacb99d/go.mod h1:+5jCm6Lk/CrQhQvtJFy/tmuLfhQKNMn/U0vwrRz/dxQ= +cosmossdk.io/store v1.0.0 h1:6tnPgTpTSIskaTmw/4s5C9FARdgFflycIc9OX8i1tOI= +cosmossdk.io/store v1.0.0/go.mod h1:ABMprwjvx6IpMp8l06TwuMrj6694/QP5NIW+X6jaTYc= +cosmossdk.io/tools/confix v0.0.0-20231026141021-0469fc17e158 h1:JUU+qAuoT7koMP3Au8uj0pJggSPfyNqUBxBQOwLE3Js= +cosmossdk.io/tools/confix v0.0.0-20231026141021-0469fc17e158/go.mod h1:Dq174Qyh5wJaJtsyoQOKeDWFBF7i95b7fRAYokzMYmo= +cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158 h1:w1WHpy0McqngZXmpYamLfwFytT5lY/EfnDrJIgLeG8w= +cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158/go.mod h1:xqLjv08l2XgIZLOuNUQpdxSeggQXopbq1PV6ZfHOyOE= +cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158 h1:vXroToZDOIqOxsLxkmFjuPaKr2HlDmhD9Md2eT9abp0= +cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158/go.mod h1:N//0zHq1MoGysusHeZC/LmH0Lw3u55QR/mUr5UMzCSw= +cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158 h1:/Vvseql0IDcoBquKcRopFt4wKEVFC8EQUOGG79BS+Zo= +cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158/go.mod h1:vmiW+2cIfGZULh6ReN03sawbhn8UUGrttNMxiIiduKI= +cosmossdk.io/x/tx v0.11.0 h1:Ak2LIC06bXqPbpMIEorkQbwVddRvRys1sL3Cjm+KPfs= +cosmossdk.io/x/tx v0.11.0/go.mod h1:tzuC7JlfGivYuIO32JbvvY3Ft9s6FK1+r0/nGHiHwtM= +cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158 h1:pxrCcE+kVVhfEwrajiM127XXBsDmqvSO61FwGt68KPY= +cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158/go.mod h1:OGcabvCst54+IOZQodvOAbAxEhhlhk6mvGQV8zRh7wI= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= @@ -353,8 +353,8 @@ github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0 github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1 h1:1Z+SgLg8S2+DoiePz9aO5dSjJUgag8VFhFUSD/HGvOU= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1/go.mod h1:JbgPLZrh+yX+4+n1CPJ/uL9HrhZw6QVg0q7cTq2Iwq0= +github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158 h1:2qUCJkcz2X1hveQuhIYH8M5BPjFpeayhmVwJ7gPWFmM= +github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158/go.mod h1:FxbXMhS/Fz47QeviJ3yi1JgB0qCzgclMQ8s7MjD/I88= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE= @@ -362,14 +362,14 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g= github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y= -github.com/cosmos/iavl v1.0.0-rc.1 h1:5+73BEWW1gZOIUJKlk/1fpD4lOqqeFBA8KuV+NpkCpU= -github.com/cosmos/iavl v1.0.0-rc.1/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= +github.com/cosmos/iavl v1.0.0 h1:bw6t0Mv/mVCJvlMTOPHWLs5uUE3BRBfVWCRelOzl+so= +github.com/cosmos/iavl v1.0.0/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6 h1:K3lWRr/WJkPdSWErxhQL1x0CTnJyONHwJSyaTefGDf0= github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6/go.mod h1:DBP9jg+NoXU2buK5QDyf87lMjcQYN8qFlByNeNJmuhs= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= -github.com/cosmos/ledger-cosmos-go v0.13.0 h1:ex0CvCxToSR7j5WjrghPu2Bu9sSXKikjnVvUryNnx4s= -github.com/cosmos/ledger-cosmos-go v0.13.0/go.mod h1:ZcqYgnfNJ6lAXe4HPtWgarNEY+B74i+2/8MhZw4ziiI= +github.com/cosmos/ledger-cosmos-go v0.13.2 h1:aY0KZSmUwNKbBm9OvbIjvf7Ozz2YzzpAbgvN2C8x2T0= +github.com/cosmos/ledger-cosmos-go v0.13.2/go.mod h1:HENcEP+VtahZFw38HZ3+LS3Iv5XV6svsnkk9vdJtLr8= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= @@ -382,8 +382,9 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3 github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y= github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 h1:8UrgZ3GkP4i/CLijOJx79Yu+etlyjdBU4sfcs2WYQMs= @@ -503,8 +504,8 @@ github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -563,8 +564,9 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= @@ -594,17 +596,18 @@ github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= -github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.3.1 h1:SBWmZhjUDRorQxrN0nwzf+AHBxnbFjViHQS4P0yVpmQ= +github.com/googleapis/enterprise-certificate-proxy v0.3.1/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -614,8 +617,8 @@ github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99 github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= -github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= @@ -658,8 +661,8 @@ github.com/hashicorp/go-metrics v0.5.1 h1:rfPwUqFU6uZXNvGl4hzjY8LEBsqFVU4si1H9/H github.com/hashicorp/go-metrics v0.5.1/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-plugin v1.4.10 h1:xUbmA4jC6Dq163/fWcp8P3JuHilrHHMLNRxzGQJ9hNk= -github.com/hashicorp/go-plugin v1.4.10/go.mod h1:6/1TEzT0eQznvI/gV2CM29DLSkAK/e58mUWKVsPaph0= +github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= +github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= @@ -704,8 +707,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= -github.com/jhump/protoreflect v1.15.2 h1:7YppbATX94jEt9KLAc5hICx4h6Yt3SaavhQRsIUEHP0= -github.com/jhump/protoreflect v1.15.2/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= +github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFonzls= +github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= @@ -735,8 +738,8 @@ github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYs github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= -github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/compress v1.17.0 h1:Rnbp4K9EjcDuVuHtd0dgA4qNuv9yKDYKK1ulpJwgrqM= +github.com/klauspost/compress v1.17.0/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= @@ -775,8 +778,9 @@ github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNx github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= @@ -862,12 +866,12 @@ github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0Mw github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml/v2 v2.0.9 h1:uH2qQXheeefCCkuBBSLi7jCiSmj3VRh2+Goq2N7Xxu0= -github.com/pelletier/go-toml/v2 v2.0.9/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= +github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= +github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761 h1:W04oB3d0J01W5jgYRGKsV8LCM6g9EkCvPkZcmFuy0OE= -github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20230808133559-b036b712a89b h1:vab8deKC4QoIfm9fJM59iuNz1ELGsuLoYYpiF+pHiG8= +github.com/petermattis/goid v0.0.0-20230808133559-b036b712a89b/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= @@ -879,8 +883,9 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= @@ -888,16 +893,16 @@ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5Fsn github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= -github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= +github.com/prometheus/client_golang v1.17.0 h1:rl2sfwZMtSthVU752MqfjQozy7blglC+1SOtjMAMh+Q= +github.com/prometheus/client_golang v1.17.0/go.mod h1:VeL+gMmOAxkS2IqfCq0ZmHSL+LjWfWDUmp1mBz9JgUY= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= -github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= +github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 h1:v7DLqVdK4VrYkVD5diGdl4sxJurKJEMnODWRJlxV9oM= +github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= @@ -927,12 +932,16 @@ github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo= github.com/rs/cors v1.8.3/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/zerolog v1.30.0 h1:SymVODrcRsaRaSInD9yQtKbtWqwsfoPcRff/oRXLj4c= -github.com/rs/zerolog v1.30.0/go.mod h1:/tk+P47gFdPXq4QYjvCmT5/Gsug2nagsFWBWhAiSi1w= +github.com/rs/zerolog v1.31.0 h1:FcTR3NnLWW+NnTwwhFWiJSZr4ECLpqCm6QsEnyvbV4A= +github.com/rs/zerolog v1.31.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/sagikazarmark/locafero v0.3.0 h1:zT7VEGWC2DTflmccN/5T1etyKvxSxpHsjb9cJvm4SvQ= +github.com/sagikazarmark/locafero v0.3.0/go.mod h1:w+v7UsPNFwzF1cHuOajOOzoq4U7v/ig1mpRjqV+Bu1U= +github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= +github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= @@ -948,12 +957,14 @@ github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1 github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= +github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= +github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= -github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/afero v1.10.0 h1:EaGW2JJh15aKOejeuJ+wpFSHnbd7GE6Wvp3TsNhb6LY= +github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= @@ -962,15 +973,13 @@ github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tL github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= -github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= +github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI= +github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= @@ -991,14 +1000,14 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= -github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= +github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= -github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= +github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= +github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= @@ -1020,10 +1029,10 @@ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zondax/hid v0.9.1 h1:gQe66rtmyZ8VeGFcOpbuH3r7erYtNEAezCAYu8LdkJo= -github.com/zondax/hid v0.9.1/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= -github.com/zondax/ledger-go v0.14.1 h1:Pip65OOl4iJ84WTpA4BKChvOufMhhbxED3BaihoZN4c= -github.com/zondax/ledger-go v0.14.1/go.mod h1:fZ3Dqg6qcdXWSOJFKMG8GCTnD7slO/RL2feOQv8K320= +github.com/zondax/hid v0.9.2 h1:WCJFnEDMiqGF64nlZz28E9qLVZ0KSJ7xpc5DLEyma2U= +github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= +github.com/zondax/ledger-go v0.14.3 h1:wEpJt2CEcBJ428md/5MgSLsXLBos98sBOyxNmCjfUCw= +github.com/zondax/ledger-go v0.14.3/go.mod h1:IKKaoxupuB43g4NxeQmbLXv7T9AlQyie1UpHb342ycI= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ= go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= @@ -1048,6 +1057,8 @@ go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ= +go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= @@ -1064,10 +1075,9 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= -golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1079,8 +1089,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 h1:m64FZMko/V45gv0bNmrNYoDEq8U5YUhetc9cBWKS1TQ= -golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63/go.mod h1:0v4NqG35kSWCMzLaMeX+IQrlSnVE/bqGSyC2cz/9Le8= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1107,8 +1117,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1170,8 +1180,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1197,8 +1207,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.10.0 h1:zHCpF2Khkwy4mMB4bv0U37YtJdTGW8jI0glAApi0Kh8= -golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQI= +golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= +golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1314,13 +1324,14 @@ golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU= -golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1330,7 +1341,6 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= @@ -1401,8 +1411,8 @@ golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 h1:Vve/L0v7CXXuxUmaMGIEK/dEeq7uiqb5qBgQrZzIE7E= -golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1461,8 +1471,8 @@ google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.143.0 h1:o8cekTkqhywkbZT6p1UHJPZ9+9uuCAJs/KYomxZB8fA= +google.golang.org/api v0.143.0/go.mod h1:FoX9DO9hT7DLNn97OuoZAGSDuNAXdJRuGK98rSUgurk= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -1580,12 +1590,12 @@ google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqw google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 h1:L6iMMGrtzgHsWofoFcihmDEMYeDR9KN/ThbPWGrh++g= -google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5/go.mod h1:oH/ZOT02u4kWEp7oYBGYFFkCdKS/uYR9Z7+0/xuuFp8= -google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e h1:z3vDksarJxsAKM5dmEGv0GHwE2hKJ096wZra71Vs4sw= -google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb h1:Isk1sSH7bovx8Rti2wZK0UZF6oraBDK74uoyLEEVFN0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= +google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a h1:fwgW9j3vHirt4ObdHoYNwuO24BEZjSzbh+zPaNWoiY8= +google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a/go.mod h1:EMfReVxb80Dq1hhioy0sOsY9jCE46YDgHlJ7fWVUWRE= +google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97 h1:W18sezcAYs+3tDZX4F80yctqa12jcP1PUS2gQu1zTPU= +google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97/go.mod h1:iargEX0SFPm3xcfMI0d1domjg0ZF4Aa0p2awqyxhvF0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b h1:ZlWIi1wSK56/8hn4QcBp/j9M7Gt3U/3hZw3mC7vDICo= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:swOH3j0KzcDDgGUWr+SNpyTen5YrXjS3eyPzFYKc6lc= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= @@ -1627,8 +1637,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.58.2 h1:SXUpjxeVF3FKrTYQI4f4KvbGD5u2xccdYdurwowix5I= -google.golang.org/grpc v1.58.2/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= +google.golang.org/grpc v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk= +google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1679,8 +1689,8 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools/v3 v3.5.0 h1:Ljk6PdHdOhAb5aDMWXjDLMMhph+BpztA4v1QdqEW2eY= -gotest.tools/v3 v3.5.0/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU= +gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU= +gotest.tools/v3 v3.5.1/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/modules/apps/27-interchain-accounts/controller/keeper/keeper.go b/modules/apps/27-interchain-accounts/controller/keeper/keeper.go index 9af2a2a32cd..63e606c395e 100644 --- a/modules/apps/27-interchain-accounts/controller/keeper/keeper.go +++ b/modules/apps/27-interchain-accounts/controller/keeper/keeper.go @@ -12,7 +12,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types" @@ -28,7 +27,7 @@ import ( type Keeper struct { storeKey storetypes.StoreKey cdc codec.Codec - legacySubspace paramtypes.Subspace + legacySubspace icatypes.ParamSubspace ics4Wrapper porttypes.ICS4Wrapper channelKeeper icatypes.ChannelKeeper portKeeper icatypes.PortKeeper @@ -44,7 +43,7 @@ type Keeper struct { // NewKeeper creates a new interchain accounts controller Keeper instance func NewKeeper( - cdc codec.Codec, key storetypes.StoreKey, legacySubspace paramtypes.Subspace, + cdc codec.Codec, key storetypes.StoreKey, legacySubspace icatypes.ParamSubspace, ics4Wrapper porttypes.ICS4Wrapper, channelKeeper icatypes.ChannelKeeper, portKeeper icatypes.PortKeeper, scopedKeeper exported.ScopedKeeper, msgRouter icatypes.MessageRouter, authority string, ) Keeper { diff --git a/modules/apps/27-interchain-accounts/controller/types/codec.go b/modules/apps/27-interchain-accounts/controller/types/codec.go index 01fcea71f68..abc4041b535 100644 --- a/modules/apps/27-interchain-accounts/controller/types/codec.go +++ b/modules/apps/27-interchain-accounts/controller/types/codec.go @@ -3,6 +3,7 @@ package types import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/msgservice" ) // RegisterInterfaces registers the interchain accounts controller message types using the provided InterfaceRegistry @@ -13,4 +14,5 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { &MsgSendTx{}, &MsgUpdateParams{}, ) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } diff --git a/modules/apps/27-interchain-accounts/controller/types/msgs.go b/modules/apps/27-interchain-accounts/controller/types/msgs.go index b600942bf01..213fcbfbc04 100644 --- a/modules/apps/27-interchain-accounts/controller/types/msgs.go +++ b/modules/apps/27-interchain-accounts/controller/types/msgs.go @@ -12,6 +12,8 @@ import ( ibcerrors "github.com/cosmos/ibc-go/v8/modules/core/errors" ) +const MaximumOwnerLength = 2048 // maximum length of the owner in bytes (value chosen arbitrarily) + var ( _ sdk.Msg = (*MsgRegisterInterchainAccount)(nil) _ sdk.Msg = (*MsgSendTx)(nil) @@ -41,6 +43,10 @@ func (msg MsgRegisterInterchainAccount) ValidateBasic() error { return errorsmod.Wrap(ibcerrors.ErrInvalidAddress, "owner address cannot be empty") } + if len(msg.Owner) > MaximumOwnerLength { + return errorsmod.Wrapf(ibcerrors.ErrInvalidAddress, "owner address must not exceed %d bytes", MaximumOwnerLength) + } + return nil } @@ -74,6 +80,10 @@ func (msg MsgSendTx) ValidateBasic() error { return errorsmod.Wrap(ibcerrors.ErrInvalidAddress, "owner address cannot be empty") } + if len(msg.Owner) > MaximumOwnerLength { + return errorsmod.Wrapf(ibcerrors.ErrInvalidAddress, "owner address must not exceed %d bytes", MaximumOwnerLength) + } + if err := msg.PacketData.ValidateBasic(); err != nil { return errorsmod.Wrap(err, "invalid interchain account packet data") } diff --git a/modules/apps/27-interchain-accounts/controller/types/msgs_test.go b/modules/apps/27-interchain-accounts/controller/types/msgs_test.go index 13ef2c9ae1a..541f3830fb6 100644 --- a/modules/apps/27-interchain-accounts/controller/types/msgs_test.go +++ b/modules/apps/27-interchain-accounts/controller/types/msgs_test.go @@ -64,6 +64,13 @@ func TestMsgRegisterInterchainAccountValidateBasic(t *testing.T) { }, false, }, + { + "owner address is too long", + func() { + msg.Owner = ibctesting.GenerateString(types.MaximumOwnerLength + 1) + }, + false, + }, } for i, tc := range testCases { @@ -121,6 +128,13 @@ func TestMsgSendTxValidateBasic(t *testing.T) { }, false, }, + { + "owner address is too long", + func() { + msg.Owner = ibctesting.GenerateString(types.MaximumOwnerLength + 1) + }, + false, + }, { "relative timeout is not set", func() { diff --git a/modules/apps/27-interchain-accounts/host/keeper/keeper.go b/modules/apps/27-interchain-accounts/host/keeper/keeper.go index da9ba160325..c426c4cc0cb 100644 --- a/modules/apps/27-interchain-accounts/host/keeper/keeper.go +++ b/modules/apps/27-interchain-accounts/host/keeper/keeper.go @@ -11,7 +11,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" genesistypes "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types" @@ -27,7 +26,7 @@ import ( type Keeper struct { storeKey storetypes.StoreKey cdc codec.Codec - legacySubspace paramtypes.Subspace + legacySubspace icatypes.ParamSubspace ics4Wrapper porttypes.ICS4Wrapper channelKeeper icatypes.ChannelKeeper @@ -45,7 +44,7 @@ type Keeper struct { // NewKeeper creates a new interchain accounts host Keeper instance func NewKeeper( - cdc codec.Codec, key storetypes.StoreKey, legacySubspace paramtypes.Subspace, + cdc codec.Codec, key storetypes.StoreKey, legacySubspace icatypes.ParamSubspace, ics4Wrapper porttypes.ICS4Wrapper, channelKeeper icatypes.ChannelKeeper, portKeeper icatypes.PortKeeper, accountKeeper icatypes.AccountKeeper, scopedKeeper exported.ScopedKeeper, msgRouter icatypes.MessageRouter, authority string, diff --git a/modules/apps/27-interchain-accounts/host/keeper/relay_test.go b/modules/apps/27-interchain-accounts/host/keeper/relay_test.go index 3b12a0c5f5e..3d4cd9ae9e2 100644 --- a/modules/apps/27-interchain-accounts/host/keeper/relay_test.go +++ b/modules/apps/27-interchain-accounts/host/keeper/relay_test.go @@ -20,6 +20,7 @@ import ( icatypes "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types" transfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types" channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" + ibcerrors "github.com/cosmos/ibc-go/v8/modules/core/errors" ibctesting "github.com/cosmos/ibc-go/v8/testing" ) @@ -33,7 +34,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { testCases := []struct { msg string malleate func(encoding string) - expPass bool + expErr error }{ { "interchain account successfully executes an arbitrary message type using the * (allow all message types) param", @@ -77,7 +78,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{"*"}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes banktypes.MsgSend", @@ -104,7 +105,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL(msg)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes stakingtypes.MsgDelegate", @@ -132,7 +133,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL(msg)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes stakingtypes.MsgDelegate and stakingtypes.MsgUndelegate sequentially", @@ -166,7 +167,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL(msgDelegate), sdk.MsgTypeURL(msgUndelegate)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes govtypes.MsgSubmitProposal", @@ -201,7 +202,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL(msg)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes govtypes.MsgVote", @@ -245,7 +246,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL(msg)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes disttypes.MsgFundCommunityPool", @@ -271,7 +272,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL(msg)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes disttypes.MsgSetWithdrawAddress", @@ -297,7 +298,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL(msg)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes transfertypes.MsgTransfer", @@ -332,7 +333,41 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL(msg)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, + }, + { + "Msg fails its ValidateBasic: MsgTransfer has an empty receiver", + func(encoding string) { + transferPath := ibctesting.NewTransferPath(suite.chainB, suite.chainC) + suite.coordinator.Setup(transferPath) + + interchainAccountAddr, found := suite.chainB.GetSimApp().ICAHostKeeper.GetInterchainAccountAddress(suite.chainB.GetContext(), ibctesting.FirstConnectionID, path.EndpointA.ChannelConfig.PortID) + suite.Require().True(found) + + msg := &transfertypes.MsgTransfer{ + SourcePort: transferPath.EndpointA.ChannelConfig.PortID, + SourceChannel: transferPath.EndpointA.ChannelID, + Token: sdk.NewCoin(sdk.DefaultBondDenom, sdkmath.NewInt(100)), + Sender: interchainAccountAddr, + Receiver: "", + TimeoutHeight: suite.chainB.GetTimeoutHeight(), + TimeoutTimestamp: uint64(0), + } + + data, err := icatypes.SerializeCosmosTx(suite.chainA.GetSimApp().AppCodec(), []proto.Message{msg}, encoding) + suite.Require().NoError(err) + + icaPacketData := icatypes.InterchainAccountPacketData{ + Type: icatypes.EXECUTE_TX, + Data: data, + } + + packetData = icaPacketData.GetBytes() + + params := types.NewParams(true, []string{sdk.MsgTypeURL(msg)}) + suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) + }, + ibcerrors.ErrInvalidAddress, }, { "unregistered sdk.Msg", @@ -352,14 +387,14 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{"/" + proto.MessageName(msg)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - false, + icatypes.ErrUnknownDataType, }, { "cannot unmarshal interchain account packet data", func(encoding string) { packetData = []byte{} }, - false, + icatypes.ErrUnknownDataType, }, { "cannot deserialize interchain account packet data messages", @@ -373,7 +408,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { packetData = icaPacketData.GetBytes() }, - false, + icatypes.ErrUnknownDataType, }, { "invalid packet type - UNSPECIFIED", @@ -388,7 +423,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { packetData = icaPacketData.GetBytes() }, - false, + icatypes.ErrUnknownDataType, }, { "unauthorised: interchain account not found for controller port ID", @@ -405,7 +440,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { packetData = icaPacketData.GetBytes() }, - false, + icatypes.ErrInterchainAccountNotFound, }, { "unauthorised: message type not allowed", // NOTE: do not update params to explicitly force the error @@ -426,7 +461,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { packetData = icaPacketData.GetBytes() }, - false, + ibcerrors.ErrUnauthorized, }, { "unauthorised: signer address is not the interchain account associated with the controller portID", @@ -450,7 +485,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL(msg)}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - false, + ibcerrors.ErrUnauthorized, }, } @@ -498,11 +533,12 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { txResponse, err := suite.chainB.GetSimApp().ICAHostKeeper.OnRecvPacket(suite.chainB.GetContext(), packet) - if tc.expPass { + expPass := tc.expErr == nil + if expPass { suite.Require().NoError(err) suite.Require().NotNil(txResponse) } else { - suite.Require().Error(err) + suite.Require().ErrorIs(err, tc.expErr) suite.Require().Nil(txResponse) } }) @@ -520,7 +556,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { testCases := []struct { msg string malleate func(icaAddress string) - expPass bool + expErr error }{ { "interchain account successfully executes an arbitrary message type using the * (allow all message types) param", @@ -564,7 +600,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { params := types.NewParams(true, []string{"*"}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes banktypes.MsgSend", @@ -589,7 +625,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL((*banktypes.MsgSend)(nil))}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes govtypes.MsgSubmitProposal", @@ -618,7 +654,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL((*govtypes.MsgSubmitProposal)(nil))}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes govtypes.MsgVote", @@ -660,7 +696,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL((*govtypes.MsgVote)(nil))}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes govtypes.MsgSubmitProposal, govtypes.MsgDeposit, and then govtypes.MsgVote sequentially", @@ -701,7 +737,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL((*govtypes.MsgSubmitProposal)(nil)), sdk.MsgTypeURL((*govtypes.MsgDeposit)(nil)), sdk.MsgTypeURL((*govtypes.MsgVote)(nil))}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "interchain account successfully executes transfertypes.MsgTransfer", @@ -734,7 +770,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL((*transfertypes.MsgTransfer)(nil))}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - true, + nil, }, { "unregistered sdk.Msg", @@ -750,7 +786,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { params := types.NewParams(true, []string{"*"}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - false, + icatypes.ErrUnknownDataType, }, { "message type not allowed banktypes.MsgSend", @@ -775,7 +811,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL((*transfertypes.MsgTransfer)(nil))}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - false, + ibcerrors.ErrUnauthorized, }, { "unauthorised: signer address is not the interchain account associated with the controller portID", @@ -784,7 +820,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { "messages": [ { "@type": "/cosmos.bank.v1beta1.MsgSend", - "from_address": "` + ibctesting.InvalidID + `", + "from_address": "` + suite.chainB.SenderAccount.GetAddress().String() + `", // unexpected signer "to_address": "cosmos17dtl0mjt3t77kpuhg2edqzjpszulwhgzuj9ljs", "amount": [{ "denom": "stake", "amount": "100" }] } @@ -800,7 +836,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { params := types.NewParams(true, []string{sdk.MsgTypeURL((*banktypes.MsgSend)(nil))}) suite.chainB.GetSimApp().ICAHostKeeper.SetParams(suite.chainB.GetContext(), params) }, - false, + icatypes.ErrUnknownDataType, }, } @@ -840,11 +876,12 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { txResponse, err := suite.chainB.GetSimApp().ICAHostKeeper.OnRecvPacket(suite.chainB.GetContext(), packet) - if tc.expPass { + expPass := tc.expErr == nil + if expPass { suite.Require().NoError(err) suite.Require().NotNil(txResponse) } else { - suite.Require().Error(err) + suite.Require().ErrorIs(err, tc.expErr) suite.Require().Nil(txResponse) } }) diff --git a/modules/apps/27-interchain-accounts/host/types/codec.go b/modules/apps/27-interchain-accounts/host/types/codec.go index ef94e88ae67..8752640e767 100644 --- a/modules/apps/27-interchain-accounts/host/types/codec.go +++ b/modules/apps/27-interchain-accounts/host/types/codec.go @@ -3,6 +3,7 @@ package types import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/msgservice" ) // RegisterInterfaces registers the interchain accounts host message types using the provided InterfaceRegistry @@ -11,4 +12,6 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { (*sdk.Msg)(nil), &MsgUpdateParams{}, ) + + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } diff --git a/modules/apps/27-interchain-accounts/module.go b/modules/apps/27-interchain-accounts/module.go index 0c60f84185a..436c61a1a4f 100644 --- a/modules/apps/27-interchain-accounts/module.go +++ b/modules/apps/27-interchain-accounts/module.go @@ -121,27 +121,6 @@ func NewAppModule(controllerKeeper *controllerkeeper.Keeper, hostKeeper *hostkee } } -// InitModule will initialize the interchain accounts module. It should only be -// called once and as an alternative to InitGenesis. -func (am AppModule) InitModule(ctx sdk.Context, controllerParams controllertypes.Params, hostParams hosttypes.Params) { - if am.controllerKeeper != nil { - controllerkeeper.InitGenesis(ctx, *am.controllerKeeper, genesistypes.ControllerGenesisState{ - Params: controllerParams, - }) - } - - if am.hostKeeper != nil { - if err := hostParams.Validate(); err != nil { - panic(fmt.Errorf("could not set ica host params at initialization: %v", err)) - } - - hostkeeper.InitGenesis(ctx, *am.hostKeeper, genesistypes.HostGenesisState{ - Params: hostParams, - Port: types.HostPortID, - }) - } -} - // RegisterServices registers module services func (am AppModule) RegisterServices(cfg module.Configurator) { if am.controllerKeeper != nil { diff --git a/modules/apps/27-interchain-accounts/module_test.go b/modules/apps/27-interchain-accounts/module_test.go index 0ca5f0f55b9..a3f722af0a9 100644 --- a/modules/apps/27-interchain-accounts/module_test.go +++ b/modules/apps/27-interchain-accounts/module_test.go @@ -3,20 +3,9 @@ package ica_test import ( "testing" - dbm "github.com/cosmos/cosmos-db" testifysuite "github.com/stretchr/testify/suite" - "cosmossdk.io/log" - - "github.com/cosmos/cosmos-sdk/baseapp" - simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" - - ica "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts" - controllertypes "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types" - hosttypes "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types" - "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types" ibctesting "github.com/cosmos/ibc-go/v8/testing" - "github.com/cosmos/ibc-go/v8/testing/simapp" ) type InterchainAccountsTestSuite struct { @@ -32,93 +21,3 @@ func TestICATestSuite(t *testing.T) { func (suite *InterchainAccountsTestSuite) SetupTest() { suite.coordinator = ibctesting.NewCoordinator(suite.T(), 2) } - -func (suite *InterchainAccountsTestSuite) TestInitModule() { - // setup and basic testing - chainID := "testchain" - app := simapp.NewSimApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, simtestutil.EmptyAppOptions{}, baseapp.SetChainID(chainID)) - appModule, ok := app.ModuleManager.Modules[types.ModuleName].(ica.AppModule) - suite.Require().True(ok) - - ctx := app.GetBaseApp().NewContext(true) - - // ensure params are not set - suite.Require().Panics(func() { - app.ICAControllerKeeper.GetParams(ctx) - }) - suite.Require().Panics(func() { - app.ICAHostKeeper.GetParams(ctx) - }) - - controllerParams := controllertypes.DefaultParams() - controllerParams.ControllerEnabled = true - - hostParams := hosttypes.DefaultParams() - expAllowMessages := []string{"sdk.Msg"} - hostParams.HostEnabled = true - hostParams.AllowMessages = expAllowMessages - suite.Require().False(app.IBCKeeper.PortKeeper.IsBound(ctx, types.HostPortID)) - - testCases := []struct { - name string - malleate func() - expControllerPass bool - expHostPass bool - }{ - { - "both controller and host set", func() { - var ok bool - appModule, ok = app.ModuleManager.Modules[types.ModuleName].(ica.AppModule) - suite.Require().True(ok) - }, true, true, - }, - { - "neither controller or host is set", func() { - appModule = ica.NewAppModule(nil, nil) - }, false, false, - }, - { - "only controller is set", func() { - appModule = ica.NewAppModule(&app.ICAControllerKeeper, nil) - }, true, false, - }, - { - "only host is set", func() { - appModule = ica.NewAppModule(nil, &app.ICAHostKeeper) - }, false, true, - }, - } - - for _, tc := range testCases { - tc := tc - - suite.Run(tc.name, func() { - suite.SetupTest() // reset - - // reset app state - chainID := "testchain" - app = simapp.NewSimApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, simtestutil.EmptyAppOptions{}, baseapp.SetChainID(chainID)) - - ctx := app.GetBaseApp().NewContext(true) - - tc.malleate() - - suite.Require().NotPanics(func() { - appModule.InitModule(ctx, controllerParams, hostParams) - }) - - if tc.expControllerPass { - controllerParams = app.ICAControllerKeeper.GetParams(ctx) - suite.Require().True(controllerParams.ControllerEnabled) - } - - if tc.expHostPass { - hostParams = app.ICAHostKeeper.GetParams(ctx) - suite.Require().True(hostParams.HostEnabled) - suite.Require().Equal(expAllowMessages, hostParams.AllowMessages) - - suite.Require().True(app.IBCKeeper.PortKeeper.IsBound(ctx, types.HostPortID)) - } - }) - } -} diff --git a/modules/apps/27-interchain-accounts/types/account_test.go b/modules/apps/27-interchain-accounts/types/account_test.go index 2130a46edf4..9ff7dc19841 100644 --- a/modules/apps/27-interchain-accounts/types/account_test.go +++ b/modules/apps/27-interchain-accounts/types/account_test.go @@ -79,7 +79,7 @@ func (suite *TypesTestSuite) TestValidateAccountAddress() { }, { "address is too long", - ibctesting.LongString, + ibctesting.GenerateString(uint(types.DefaultMaxAddrLength) + 1), false, }, } diff --git a/modules/apps/27-interchain-accounts/types/codec.go b/modules/apps/27-interchain-accounts/types/codec.go index 6823b30d07c..ddb092ce030 100644 --- a/modules/apps/27-interchain-accounts/types/codec.go +++ b/modules/apps/27-interchain-accounts/types/codec.go @@ -84,7 +84,7 @@ func DeserializeCosmosTx(cdc codec.Codec, data []byte, encoding string) ([]sdk.M switch encoding { case EncodingProtobuf: if err := cdc.Unmarshal(data, &cosmosTx); err != nil { - return nil, errorsmod.Wrapf(err, "cannot unmarshal CosmosTx with protobuf") + return nil, errorsmod.Wrapf(ErrUnknownDataType, "cannot unmarshal CosmosTx with protobuf: %v", err) } case EncodingProto3JSON: if err := cdc.UnmarshalJSON(data, &cosmosTx); err != nil { diff --git a/modules/apps/27-interchain-accounts/types/expected_keepers.go b/modules/apps/27-interchain-accounts/types/expected_keepers.go index 3f8d542e891..09cf6c22024 100644 --- a/modules/apps/27-interchain-accounts/types/expected_keepers.go +++ b/modules/apps/27-interchain-accounts/types/expected_keepers.go @@ -4,6 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" @@ -32,3 +33,8 @@ type PortKeeper interface { BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability IsBound(ctx sdk.Context, portID string) bool } + +// ParamSubspace defines the expected Subspace interface for module parameters. +type ParamSubspace interface { + GetParamSet(ctx sdk.Context, ps paramtypes.ParamSet) +} diff --git a/modules/apps/29-fee/module.go b/modules/apps/29-fee/module.go index ef411ca432f..c627d82ec61 100644 --- a/modules/apps/29-fee/module.go +++ b/modules/apps/29-fee/module.go @@ -48,7 +48,9 @@ func (AppModule) IsOnePerModuleType() {} func (AppModule) IsAppModule() {} // RegisterLegacyAminoCodec implements AppModuleBasic interface -func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {} +func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + types.RegisterLegacyAminoCodec(cdc) +} // RegisterInterfaces registers module concrete types into protobuf Any. func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry) { diff --git a/modules/apps/29-fee/types/codec.go b/modules/apps/29-fee/types/codec.go index 5d4dfbbcbd5..4ac59323f1e 100644 --- a/modules/apps/29-fee/types/codec.go +++ b/modules/apps/29-fee/types/codec.go @@ -2,6 +2,7 @@ package types import ( "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/legacy" codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" @@ -10,10 +11,10 @@ import ( // RegisterLegacyAminoCodec registers the necessary x/ibc 29-fee interfaces and concrete types // on the provided LegacyAmino codec. These types are used for Amino JSON serialization. func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(&MsgPayPacketFee{}, "cosmos-sdk/MsgPayPacketFee", nil) - cdc.RegisterConcrete(&MsgPayPacketFeeAsync{}, "cosmos-sdk/MsgPayPacketFeeAsync", nil) - cdc.RegisterConcrete(&MsgRegisterPayee{}, "cosmos-sdk/MsgRegisterPayee", nil) - cdc.RegisterConcrete(&MsgRegisterCounterpartyPayee{}, "cosmos-sdk/MsgRegisterCounterpartyPayee", nil) + legacy.RegisterAminoMsg(cdc, &MsgPayPacketFee{}, "cosmos-sdk/MsgPayPacketFee") + legacy.RegisterAminoMsg(cdc, &MsgPayPacketFeeAsync{}, "cosmos-sdk/MsgPayPacketFeeAsync") + legacy.RegisterAminoMsg(cdc, &MsgRegisterPayee{}, "cosmos-sdk/MsgRegisterPayee") + legacy.RegisterAminoMsg(cdc, &MsgRegisterCounterpartyPayee{}, "cosmos-sdk/MsgRegisterCounterpartyPayee") } // RegisterInterfaces register the 29-fee module interfaces to protobuf @@ -30,18 +31,9 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } -var ( - amino = codec.NewLegacyAmino() - - // ModuleCdc references the global x/ibc 29-fee module codec. Note, the codec - // should ONLY be used in certain instances of tests and for JSON encoding. - // - // The actual codec used for serialization should be provided to x/ibc 29-fee and - // defined at the application level. - ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) -) - -func init() { - RegisterLegacyAminoCodec(amino) - amino.Seal() -} +// ModuleCdc references the global x/ibc 29-fee module codec. Note, the codec +// should ONLY be used in certain instances of tests and for JSON encoding. +// +// The actual codec used for serialization should be provided to x/ibc 29-fee and +// defined at the application level. +var ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) diff --git a/modules/apps/29-fee/types/msgs.go b/modules/apps/29-fee/types/msgs.go index 095d36a604d..af2a9287a65 100644 --- a/modules/apps/29-fee/types/msgs.go +++ b/modules/apps/29-fee/types/msgs.go @@ -12,6 +12,8 @@ import ( ibcerrors "github.com/cosmos/ibc-go/v8/modules/core/errors" ) +const MaximumCounterpartyPayeeLength = 2048 // maximum length of the counterparty payee in bytes (value chosen arbitrarily) + var ( _ sdk.Msg = (*MsgRegisterPayee)(nil) _ sdk.Msg = (*MsgRegisterCounterpartyPayee)(nil) @@ -100,6 +102,10 @@ func (msg MsgRegisterCounterpartyPayee) ValidateBasic() error { return ErrCounterpartyPayeeEmpty } + if len(msg.CounterpartyPayee) > MaximumCounterpartyPayeeLength { + return errorsmod.Wrapf(ibcerrors.ErrInvalidAddress, "counterparty payee address must not exceed %d bytes", MaximumCounterpartyPayeeLength) + } + return nil } diff --git a/modules/apps/29-fee/types/msgs_test.go b/modules/apps/29-fee/types/msgs_test.go index 4c59160cb1e..6f1d2bce4eb 100644 --- a/modules/apps/29-fee/types/msgs_test.go +++ b/modules/apps/29-fee/types/msgs_test.go @@ -139,6 +139,13 @@ func TestMsgRegisterCountepartyPayeeValidation(t *testing.T) { }, false, }, + { + "invalid counterparty payee address: too long", + func() { + msg.CounterpartyPayee = ibctesting.GenerateString(types.MaximumCounterpartyPayeeLength + 1) + }, + false, + }, } for i, tc := range testCases { diff --git a/modules/apps/29-fee/types/tx.pb.go b/modules/apps/29-fee/types/tx.pb.go index ab62f474390..5edfa58d14d 100644 --- a/modules/apps/29-fee/types/tx.pb.go +++ b/modules/apps/29-fee/types/tx.pb.go @@ -374,51 +374,51 @@ func init() { func init() { proto.RegisterFile("ibc/applications/fee/v1/tx.proto", fileDescriptor_05c93128649f1b96) } var fileDescriptor_05c93128649f1b96 = []byte{ - // 695 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0x8e, 0x9b, 0xfe, 0x65, 0x5a, 0x28, 0xb1, 0x2a, 0x92, 0x9a, 0x36, 0x2d, 0x56, 0x05, 0x25, - 0x52, 0xec, 0x26, 0x50, 0x01, 0x11, 0x48, 0xd0, 0x4a, 0x45, 0x3d, 0x54, 0x44, 0x39, 0x72, 0xa9, - 0x1c, 0x67, 0xea, 0x9a, 0xc6, 0x5e, 0xcb, 0xeb, 0x44, 0xf8, 0x86, 0x38, 0x21, 0x4e, 0xf0, 0x06, - 0x3c, 0x00, 0x87, 0x3e, 0x46, 0x8f, 0x3d, 0x22, 0x24, 0x10, 0x6a, 0x0f, 0x7d, 0x03, 0x6e, 0x48, - 0x68, 0xd7, 0x6b, 0xcb, 0x4d, 0x9a, 0x2a, 0x20, 0x71, 0xb1, 0x3c, 0x33, 0xdf, 0x7e, 0x33, 0xdf, - 0xa7, 0x1d, 0x2d, 0xac, 0xd8, 0x2d, 0x53, 0x37, 0x3c, 0xaf, 0x63, 0x9b, 0x46, 0x60, 0x13, 0x97, - 0xea, 0xfb, 0x88, 0x7a, 0xaf, 0xaa, 0x07, 0x6f, 0x34, 0xcf, 0x27, 0x01, 0x91, 0x0b, 0x76, 0xcb, - 0xd4, 0xd2, 0x08, 0x6d, 0x1f, 0x51, 0xeb, 0x55, 0x95, 0xbc, 0xe1, 0xd8, 0x2e, 0xd1, 0xf9, 0x37, - 0xc2, 0x2a, 0xf3, 0x16, 0xb1, 0x08, 0xff, 0xd5, 0xd9, 0x9f, 0xc8, 0xde, 0x1e, 0xd6, 0x83, 0x11, - 0xa5, 0x20, 0x26, 0xf1, 0x51, 0x37, 0x0f, 0x0c, 0xd7, 0xc5, 0x0e, 0x2b, 0x8b, 0x5f, 0x01, 0x29, - 0x98, 0x84, 0x3a, 0x84, 0xea, 0x0e, 0xb5, 0x58, 0xd1, 0xa1, 0x56, 0x54, 0x50, 0xbf, 0x48, 0x70, - 0x63, 0x97, 0x5a, 0x4d, 0xb4, 0x6c, 0x1a, 0xa0, 0xdf, 0x30, 0x42, 0x44, 0xb9, 0x00, 0x53, 0x1e, - 0xf1, 0x83, 0x3d, 0xbb, 0x5d, 0x94, 0x56, 0xa4, 0xb5, 0x5c, 0x73, 0x92, 0x85, 0x3b, 0x6d, 0x79, - 0x09, 0x40, 0xf0, 0xb2, 0xda, 0x18, 0xaf, 0xe5, 0x44, 0x66, 0xa7, 0x2d, 0x17, 0x61, 0xca, 0xc7, - 0x8e, 0x11, 0xa2, 0x5f, 0xcc, 0xf2, 0x5a, 0x1c, 0xca, 0xf3, 0x30, 0xe1, 0x31, 0xea, 0xe2, 0x38, - 0xcf, 0x47, 0x41, 0x7d, 0xfd, 0xfd, 0xe7, 0xe5, 0xcc, 0xbb, 0xf3, 0xa3, 0x72, 0x8c, 0xfb, 0x70, - 0x7e, 0x54, 0xbe, 0x15, 0x8d, 0x5a, 0xa1, 0xed, 0x43, 0xbd, 0x7f, 0x32, 0x55, 0x81, 0x62, 0x7f, - 0xae, 0x89, 0xd4, 0x23, 0x2e, 0x45, 0xf5, 0xbb, 0x04, 0x8b, 0xa9, 0xe2, 0x16, 0xe9, 0xba, 0x01, - 0xfa, 0x9e, 0xe1, 0x07, 0xe1, 0xff, 0x92, 0x55, 0x01, 0xd9, 0x4c, 0xb5, 0xd9, 0x4b, 0x6b, 0xcc, - 0x9b, 0xfd, 0x03, 0xd4, 0x9f, 0x5c, 0xa6, 0xf7, 0xee, 0xe5, 0x7a, 0x07, 0xc6, 0x57, 0xef, 0xc0, - 0xea, 0x55, 0xf5, 0xc4, 0x87, 0xdf, 0x12, 0xcc, 0xed, 0x52, 0xab, 0x61, 0x84, 0x0d, 0xc3, 0x3c, - 0xc4, 0x60, 0x1b, 0x51, 0x7e, 0x00, 0xd9, 0x7d, 0x44, 0x2e, 0x7b, 0xa6, 0xb6, 0xa8, 0x0d, 0xb9, - 0x95, 0xda, 0x36, 0xe2, 0xe6, 0xf8, 0xf1, 0x8f, 0xe5, 0x4c, 0x93, 0xc1, 0xe5, 0x55, 0xb8, 0x4e, - 0x49, 0xd7, 0x37, 0x71, 0x2f, 0xf6, 0x2d, 0xf2, 0x66, 0x36, 0xca, 0x36, 0x22, 0xf7, 0xca, 0x90, - 0x17, 0xa8, 0x94, 0x89, 0x91, 0x51, 0x73, 0x51, 0x61, 0x2b, 0xb1, 0xf2, 0x26, 0x4c, 0x52, 0xdb, - 0x72, 0xd1, 0x17, 0x26, 0x89, 0x48, 0x56, 0x60, 0x5a, 0x58, 0x42, 0x8b, 0x13, 0x2b, 0xd9, 0xb5, - 0x5c, 0x33, 0x89, 0xeb, 0x5a, 0xec, 0x9a, 0x00, 0x33, 0xd3, 0x94, 0x8b, 0xa6, 0xa5, 0xb5, 0xaa, - 0x0b, 0x50, 0xe8, 0x4b, 0x25, 0xd6, 0x7c, 0x93, 0x60, 0xbe, 0xaf, 0xf6, 0x9c, 0x86, 0xae, 0x29, - 0x3f, 0x83, 0x9c, 0xc7, 0x33, 0xf1, 0xe5, 0x98, 0xa9, 0x2d, 0x71, 0x97, 0xd8, 0x5a, 0x69, 0xf1, - 0x2e, 0xf5, 0xaa, 0x5a, 0x74, 0x6e, 0xa7, 0x2d, 0x6c, 0x9a, 0xf6, 0x44, 0x2c, 0xbf, 0x00, 0x10, - 0x0c, 0xcc, 0xe8, 0x31, 0x4e, 0xa1, 0x0e, 0x35, 0x3a, 0x69, 0x2f, 0x78, 0x44, 0xf7, 0x6d, 0xc4, - 0xfa, 0xc3, 0x58, 0x6e, 0x8a, 0x8f, 0x49, 0x5e, 0x1e, 0x2e, 0x99, 0x6b, 0x50, 0x4b, 0xfc, 0xfa, - 0x0f, 0xe4, 0x63, 0xf1, 0xb5, 0x5f, 0x59, 0xc8, 0xee, 0x52, 0x4b, 0x76, 0xe0, 0xda, 0xc5, 0x75, - 0xbf, 0x37, 0x74, 0xcc, 0xfe, 0x5d, 0x53, 0xaa, 0x23, 0x43, 0xe3, 0xb6, 0xf2, 0x27, 0x09, 0x16, - 0x86, 0xef, 0xe4, 0xc6, 0x28, 0x84, 0x03, 0xc7, 0x94, 0xa7, 0xff, 0x74, 0x2c, 0x99, 0xe9, 0x35, - 0xcc, 0x5e, 0x58, 0x8f, 0xb5, 0xab, 0xe8, 0xd2, 0x48, 0x65, 0x7d, 0x54, 0x64, 0xd2, 0x2b, 0x84, - 0xfc, 0xe0, 0x7d, 0xab, 0x8c, 0x4a, 0xc3, 0xe1, 0xca, 0xc6, 0x5f, 0xc1, 0xe3, 0xd6, 0xca, 0xc4, - 0xdb, 0xf3, 0xa3, 0xb2, 0xb4, 0xf9, 0xf2, 0xf8, 0xb4, 0x24, 0x9d, 0x9c, 0x96, 0xa4, 0x9f, 0xa7, - 0x25, 0xe9, 0xe3, 0x59, 0x29, 0x73, 0x72, 0x56, 0xca, 0x7c, 0x3d, 0x2b, 0x65, 0x5e, 0x6d, 0x58, - 0x76, 0x70, 0xd0, 0x6d, 0x69, 0x26, 0x71, 0x74, 0xf1, 0x42, 0xd8, 0x2d, 0xb3, 0x62, 0x11, 0xbd, - 0xf7, 0x48, 0x77, 0x48, 0xbb, 0xdb, 0x41, 0xca, 0x1e, 0x1f, 0xaa, 0xd7, 0x1e, 0x57, 0xd8, 0xbb, - 0x13, 0x84, 0x1e, 0xd2, 0xd6, 0x24, 0x7f, 0x3b, 0xee, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xa0, - 0xae, 0xb3, 0x04, 0x00, 0x07, 0x00, 0x00, + // 699 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xbf, 0x6f, 0xd3, 0x40, + 0x14, 0x8e, 0x1b, 0xfa, 0x23, 0xaf, 0x85, 0x12, 0xab, 0x22, 0xa9, 0x69, 0xd3, 0x62, 0x55, 0x50, + 0x22, 0xc5, 0x6e, 0x82, 0x2a, 0x68, 0x04, 0x03, 0xad, 0xa8, 0x54, 0x89, 0x8a, 0x28, 0x23, 0x4b, + 0xe5, 0x38, 0xaf, 0xae, 0x69, 0xec, 0xb3, 0x7c, 0x4e, 0x84, 0x37, 0xd4, 0x09, 0x31, 0xc1, 0x7f, + 0xc0, 0xc8, 0xc0, 0xd0, 0x3f, 0xa3, 0x63, 0x47, 0x16, 0x10, 0x6a, 0x91, 0xfa, 0x1f, 0x30, 0xa3, + 0x3b, 0x9f, 0x2d, 0x37, 0x69, 0xaa, 0x80, 0xc4, 0x62, 0xf9, 0xde, 0xf7, 0xdd, 0x77, 0xef, 0xfb, + 0x74, 0x4f, 0x07, 0xcb, 0x76, 0xcb, 0xd4, 0x0d, 0xcf, 0xeb, 0xd8, 0xa6, 0x11, 0xd8, 0xc4, 0xa5, + 0xfa, 0x3e, 0xa2, 0xde, 0xab, 0xea, 0xc1, 0x5b, 0xcd, 0xf3, 0x49, 0x40, 0xe4, 0x82, 0xdd, 0x32, + 0xb5, 0x34, 0x43, 0xdb, 0x47, 0xd4, 0x7a, 0x55, 0x25, 0x6f, 0x38, 0xb6, 0x4b, 0x74, 0xfe, 0x8d, + 0xb8, 0xca, 0x9c, 0x45, 0x2c, 0xc2, 0x7f, 0x75, 0xf6, 0x27, 0xaa, 0xf7, 0x86, 0x9d, 0xc1, 0x84, + 0x52, 0x14, 0x93, 0xf8, 0xa8, 0x9b, 0x07, 0x86, 0xeb, 0x62, 0x87, 0xc1, 0xe2, 0x57, 0x50, 0x0a, + 0x26, 0xa1, 0x0e, 0xa1, 0xba, 0x43, 0x2d, 0x06, 0x3a, 0xd4, 0x8a, 0x00, 0xf5, 0xab, 0x04, 0xb7, + 0x77, 0xa9, 0xd5, 0x44, 0xcb, 0xa6, 0x01, 0xfa, 0x0d, 0x23, 0x44, 0x94, 0x0b, 0x30, 0xe9, 0x11, + 0x3f, 0xd8, 0xb3, 0xdb, 0x45, 0x69, 0x59, 0x5a, 0xcd, 0x35, 0x27, 0xd8, 0x72, 0xa7, 0x2d, 0x2f, + 0x02, 0x08, 0x5d, 0x86, 0x8d, 0x71, 0x2c, 0x27, 0x2a, 0x3b, 0x6d, 0xb9, 0x08, 0x93, 0x3e, 0x76, + 0x8c, 0x10, 0xfd, 0x62, 0x96, 0x63, 0xf1, 0x52, 0x9e, 0x83, 0x71, 0x8f, 0x49, 0x17, 0x6f, 0xf0, + 0x7a, 0xb4, 0xa8, 0xaf, 0xbd, 0xff, 0xbc, 0x94, 0x39, 0xba, 0x38, 0x2e, 0xc7, 0xbc, 0x0f, 0x17, + 0xc7, 0xe5, 0xbb, 0x51, 0xab, 0x15, 0xda, 0x3e, 0xd4, 0xfb, 0x3b, 0x53, 0x15, 0x28, 0xf6, 0xd7, + 0x9a, 0x48, 0x3d, 0xe2, 0x52, 0x54, 0xbf, 0x4b, 0xb0, 0x90, 0x02, 0xb7, 0x48, 0xd7, 0x0d, 0xd0, + 0xf7, 0x0c, 0x3f, 0x08, 0xff, 0x97, 0xad, 0x0a, 0xc8, 0x66, 0xea, 0x98, 0xbd, 0xb4, 0xc7, 0xbc, + 0xd9, 0xdf, 0x40, 0xfd, 0xe9, 0x55, 0x7e, 0x1f, 0x5c, 0xed, 0x77, 0xa0, 0x7d, 0xf5, 0x3e, 0xac, + 0x5c, 0x87, 0x27, 0x39, 0x1c, 0x8d, 0xc1, 0xec, 0x2e, 0xb5, 0x1a, 0x46, 0xd8, 0x30, 0xcc, 0x43, + 0x0c, 0xb6, 0x11, 0xe5, 0x0d, 0xc8, 0xee, 0x23, 0x72, 0xdb, 0xd3, 0xb5, 0x05, 0x6d, 0xc8, 0xad, + 0xd4, 0xb6, 0x11, 0x37, 0x73, 0x27, 0x3f, 0x96, 0x32, 0x5f, 0x2e, 0x8e, 0xcb, 0x52, 0x93, 0xed, + 0x91, 0x57, 0xe0, 0x16, 0x25, 0x5d, 0xdf, 0xc4, 0xbd, 0x38, 0xbc, 0x28, 0xa0, 0x99, 0xa8, 0xda, + 0x88, 0x22, 0x2c, 0x43, 0x5e, 0xb0, 0x52, 0x49, 0x46, 0x69, 0xcd, 0x46, 0xc0, 0x56, 0x92, 0xe7, + 0x1d, 0x98, 0xa0, 0xb6, 0xe5, 0xa2, 0x2f, 0x92, 0x12, 0x2b, 0x59, 0x81, 0x29, 0x91, 0x0b, 0x2d, + 0x8e, 0x2f, 0x67, 0x57, 0x73, 0xcd, 0x64, 0x5d, 0xd7, 0xe2, 0xe8, 0x04, 0x99, 0x25, 0xa7, 0x5c, + 0x4e, 0x2e, 0x6d, 0x58, 0x9d, 0x87, 0x42, 0x5f, 0x29, 0xc9, 0xe7, 0x97, 0x04, 0x73, 0x7d, 0xd8, + 0x73, 0x1a, 0xba, 0xa6, 0xfc, 0x02, 0x72, 0x1e, 0xaf, 0xc4, 0x37, 0x64, 0xba, 0xb6, 0xc8, 0xa3, + 0x62, 0xb3, 0xa5, 0xc5, 0x03, 0xd5, 0xab, 0x6a, 0xd1, 0xbe, 0x9d, 0x76, 0x3a, 0xab, 0x29, 0x4f, + 0x14, 0xe5, 0x97, 0x00, 0x42, 0x86, 0x45, 0x3e, 0xc6, 0x75, 0xd4, 0xa1, 0x91, 0x27, 0x3d, 0xa4, + 0xc5, 0x44, 0x1f, 0xdb, 0x88, 0xf5, 0xc7, 0xb1, 0xf1, 0x94, 0x28, 0x33, 0xbf, 0x34, 0xdc, 0x3c, + 0x77, 0xa3, 0x96, 0xf8, 0x34, 0x0c, 0xd4, 0xe3, 0x18, 0x6a, 0xbf, 0xb3, 0x90, 0xdd, 0xa5, 0x96, + 0xec, 0xc0, 0xcd, 0xcb, 0xd3, 0xff, 0x70, 0x68, 0xaf, 0xfd, 0xa3, 0xa7, 0x54, 0x47, 0xa6, 0xc6, + 0xc7, 0xca, 0x9f, 0x24, 0x98, 0x1f, 0x3e, 0xa2, 0xeb, 0xa3, 0x08, 0x0e, 0x6c, 0x53, 0x9e, 0xfd, + 0xd3, 0xb6, 0xa4, 0xa7, 0x37, 0x30, 0x73, 0x69, 0x5a, 0x56, 0xaf, 0x93, 0x4b, 0x33, 0x95, 0xb5, + 0x51, 0x99, 0xc9, 0x59, 0x21, 0xe4, 0x07, 0x6f, 0x5e, 0x65, 0x54, 0x19, 0x4e, 0x57, 0xd6, 0xff, + 0x8a, 0x1e, 0x1f, 0xad, 0x8c, 0xbf, 0x63, 0x97, 0x6b, 0xf3, 0xd5, 0xc9, 0x59, 0x49, 0x3a, 0x3d, + 0x2b, 0x49, 0x3f, 0xcf, 0x4a, 0xd2, 0xc7, 0xf3, 0x52, 0xe6, 0xf4, 0xbc, 0x94, 0xf9, 0x76, 0x5e, + 0xca, 0xbc, 0x5e, 0xb7, 0xec, 0xe0, 0xa0, 0xdb, 0xd2, 0x4c, 0xe2, 0xe8, 0xe2, 0xc1, 0xb0, 0x5b, + 0x66, 0xc5, 0x22, 0x7a, 0xef, 0x89, 0xee, 0x90, 0x76, 0xb7, 0x83, 0x94, 0xbd, 0x45, 0x54, 0xaf, + 0x6d, 0x54, 0xd8, 0x33, 0x14, 0x84, 0x1e, 0xd2, 0xd6, 0x04, 0x7f, 0x4a, 0x1e, 0xfd, 0x09, 0x00, + 0x00, 0xff, 0xff, 0xb7, 0x92, 0x13, 0xd2, 0x0f, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/modules/apps/callbacks/go.mod b/modules/apps/callbacks/go.mod index c9916d8acf2..f82895c432d 100644 --- a/modules/apps/callbacks/go.mod +++ b/modules/apps/callbacks/go.mod @@ -10,21 +10,21 @@ replace github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.2021 require ( cosmossdk.io/api v0.7.2 - cosmossdk.io/client/v2 v2.0.0-20230818115413-c402c51a1508 + cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158 cosmossdk.io/core v0.11.0 cosmossdk.io/errors v1.0.0 cosmossdk.io/log v1.2.1 cosmossdk.io/math v1.1.3-rc.1 - cosmossdk.io/store v1.0.0-rc.0 - cosmossdk.io/tools/confix v0.0.0-20230818115413-c402c51a1508 - cosmossdk.io/x/circuit v0.0.0-20230818115413-c402c51a1508 - cosmossdk.io/x/evidence v0.0.0-20230818115413-c402c51a1508 - cosmossdk.io/x/feegrant v0.0.0-20230818115413-c402c51a1508 + cosmossdk.io/store v1.0.0 + cosmossdk.io/tools/confix v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158 cosmossdk.io/x/tx v0.11.0 - cosmossdk.io/x/upgrade v0.0.0-20230915171831-2196edacb99d + cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158 github.com/cometbft/cometbft v0.38.0 github.com/cosmos/cosmos-db v1.0.0 - github.com/cosmos/cosmos-sdk v0.50.0-rc.1 + github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158 github.com/cosmos/gogoproto v1.4.11 github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6 github.com/cosmos/ibc-go/v8 v8.0.0 @@ -67,7 +67,7 @@ require ( github.com/cosmos/cosmos-proto v1.0.0-beta.3 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/iavl v1.0.0-rc.1 // indirect + github.com/cosmos/iavl v1.0.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.2 // indirect github.com/creachadair/atomicfile v0.3.1 // indirect @@ -115,7 +115,7 @@ require ( github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-metrics v0.5.1 // indirect - github.com/hashicorp/go-plugin v1.4.10 // indirect + github.com/hashicorp/go-plugin v1.5.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v1.0.2 // indirect @@ -137,7 +137,7 @@ require ( github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/minio/highwayhash v1.0.2 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -147,17 +147,17 @@ require ( github.com/oasisprotocol/curve25519-voi v0.0.0-20230110094441-db37f07504ce // indirect github.com/oklog/run v1.1.0 // indirect github.com/pelletier/go-toml/v2 v2.1.0 // indirect - github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761 // indirect + github.com/petermattis/goid v0.0.0-20230808133559-b036b712a89b // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_golang v1.16.0 // indirect - github.com/prometheus/client_model v0.4.0 // indirect + github.com/prometheus/client_golang v1.17.0 // indirect + github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect github.com/prometheus/common v0.44.0 // indirect github.com/prometheus/procfs v0.11.1 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/rs/cors v1.8.3 // indirect - github.com/rs/zerolog v1.30.0 // indirect + github.com/rs/zerolog v1.31.0 // indirect github.com/sagikazarmark/locafero v0.3.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect @@ -167,7 +167,7 @@ require ( github.com/subosito/gotenv v1.6.0 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect github.com/tendermint/go-amino v0.16.0 // indirect - github.com/tidwall/btree v1.6.0 // indirect + github.com/tidwall/btree v1.7.0 // indirect github.com/ulikunitz/xz v0.5.11 // indirect github.com/zondax/hid v0.9.2 // indirect github.com/zondax/ledger-go v0.14.3 // indirect @@ -175,7 +175,7 @@ require ( go.opencensus.io v0.24.0 // indirect go.uber.org/multierr v1.10.0 // indirect golang.org/x/crypto v0.14.0 // indirect - golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect golang.org/x/net v0.17.0 // indirect golang.org/x/oauth2 v0.12.0 // indirect golang.org/x/sync v0.3.0 // indirect diff --git a/modules/apps/callbacks/go.sum b/modules/apps/callbacks/go.sum index 488b22e8dde..a52d4242b7d 100644 --- a/modules/apps/callbacks/go.sum +++ b/modules/apps/callbacks/go.sum @@ -189,8 +189,8 @@ cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1V cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= cosmossdk.io/api v0.7.2 h1:BO3i5fvKMKvfaUiMkCznxViuBEfyWA/k6w2eAF6q1C4= cosmossdk.io/api v0.7.2/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= -cosmossdk.io/client/v2 v2.0.0-20230818115413-c402c51a1508 h1:tt5OMwdouv7dkwkWJYxb8I9h322bOxnC9RmK2qGvWMs= -cosmossdk.io/client/v2 v2.0.0-20230818115413-c402c51a1508/go.mod h1:iHeSk2AT6O8RNGlfcEQq6Yty6Z/6gydQsXXBh5I715Q= +cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158 h1:PRUfG/T5vwn+g8fm9eRmnIit4RsoQsIeoQv6uMtyceI= +cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158/go.mod h1:sEokappqu0aTViimwanX5TJvcX04wXfUwPYRV6FIgko= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= cosmossdk.io/collections v0.4.0/go.mod h1:oa5lUING2dP+gdDquow+QjlF45eL1t4TJDypgGd+tv0= cosmossdk.io/core v0.11.0 h1:vtIafqUi+1ZNAE/oxLOQQ7Oek2n4S48SWLG8h/+wdbo= @@ -203,20 +203,20 @@ cosmossdk.io/log v1.2.1 h1:Xc1GgTCicniwmMiKwDxUjO4eLhPxoVdI9vtMW8Ti/uk= cosmossdk.io/log v1.2.1/go.mod h1:GNSCc/6+DhFIj1aLn/j7Id7PaO8DzNylUZoOYBL9+I4= cosmossdk.io/math v1.1.3-rc.1 h1:NebCNWDqb1MJRNfvxr4YY7d8FSYgkuB3L75K6xvM+Zo= cosmossdk.io/math v1.1.3-rc.1/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= -cosmossdk.io/store v1.0.0-rc.0 h1:9DwOjuUYxDtYxn/REkTxGQAmxlIGfRroB35MQ8TrxF4= -cosmossdk.io/store v1.0.0-rc.0/go.mod h1:FtBDOJmwtOZfmKKF65bKZbTYgS3bDNjjo3nP76dAegk= -cosmossdk.io/tools/confix v0.0.0-20230818115413-c402c51a1508 h1:axKhxRa3M9QW2GdKJUsSyzo44gxcwSOTGeomtkbQClM= -cosmossdk.io/tools/confix v0.0.0-20230818115413-c402c51a1508/go.mod h1:qcJ1zwLIMefpDHZuYSa73yBe/k5HyQ5H1Jg9PWv30Ts= -cosmossdk.io/x/circuit v0.0.0-20230818115413-c402c51a1508 h1:9HRBpMbGgk+W4BIp4ezYH2EjbpuVl2fBlwyJ2GZgrS0= -cosmossdk.io/x/circuit v0.0.0-20230818115413-c402c51a1508/go.mod h1:BhFX0kD6lkctNQO3ZGYY3p6h0/wPLVbFhrOt3uQxEIM= -cosmossdk.io/x/evidence v0.0.0-20230818115413-c402c51a1508 h1:R9H1lDpcPSkrLOnt6IDE38o0Wp8xE/+BAxocb0oyX4I= -cosmossdk.io/x/evidence v0.0.0-20230818115413-c402c51a1508/go.mod h1:yjIo3J0QKDo9CJawK1QoTA1hBx0llafVJdPqI0+ry74= -cosmossdk.io/x/feegrant v0.0.0-20230818115413-c402c51a1508 h1:TKqjhhTfLchU8nSo1WZRgaH7xZWzYUQXVRj9CePcbaw= -cosmossdk.io/x/feegrant v0.0.0-20230818115413-c402c51a1508/go.mod h1:kOr8Rr10RoMeGGk/pfW5yo1R7GQTGu4KdRgKphVvjz4= +cosmossdk.io/store v1.0.0 h1:6tnPgTpTSIskaTmw/4s5C9FARdgFflycIc9OX8i1tOI= +cosmossdk.io/store v1.0.0/go.mod h1:ABMprwjvx6IpMp8l06TwuMrj6694/QP5NIW+X6jaTYc= +cosmossdk.io/tools/confix v0.0.0-20231026141021-0469fc17e158 h1:JUU+qAuoT7koMP3Au8uj0pJggSPfyNqUBxBQOwLE3Js= +cosmossdk.io/tools/confix v0.0.0-20231026141021-0469fc17e158/go.mod h1:Dq174Qyh5wJaJtsyoQOKeDWFBF7i95b7fRAYokzMYmo= +cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158 h1:w1WHpy0McqngZXmpYamLfwFytT5lY/EfnDrJIgLeG8w= +cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158/go.mod h1:xqLjv08l2XgIZLOuNUQpdxSeggQXopbq1PV6ZfHOyOE= +cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158 h1:vXroToZDOIqOxsLxkmFjuPaKr2HlDmhD9Md2eT9abp0= +cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158/go.mod h1:N//0zHq1MoGysusHeZC/LmH0Lw3u55QR/mUr5UMzCSw= +cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158 h1:/Vvseql0IDcoBquKcRopFt4wKEVFC8EQUOGG79BS+Zo= +cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158/go.mod h1:vmiW+2cIfGZULh6ReN03sawbhn8UUGrttNMxiIiduKI= cosmossdk.io/x/tx v0.11.0 h1:Ak2LIC06bXqPbpMIEorkQbwVddRvRys1sL3Cjm+KPfs= cosmossdk.io/x/tx v0.11.0/go.mod h1:tzuC7JlfGivYuIO32JbvvY3Ft9s6FK1+r0/nGHiHwtM= -cosmossdk.io/x/upgrade v0.0.0-20230915171831-2196edacb99d h1:LH8NPa2+yoMFdCTxCFyQUX5zVDip4YDgtg7e0EecDqo= -cosmossdk.io/x/upgrade v0.0.0-20230915171831-2196edacb99d/go.mod h1:+5jCm6Lk/CrQhQvtJFy/tmuLfhQKNMn/U0vwrRz/dxQ= +cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158 h1:pxrCcE+kVVhfEwrajiM127XXBsDmqvSO61FwGt68KPY= +cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158/go.mod h1:OGcabvCst54+IOZQodvOAbAxEhhlhk6mvGQV8zRh7wI= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= @@ -353,8 +353,8 @@ github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0 github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1 h1:1Z+SgLg8S2+DoiePz9aO5dSjJUgag8VFhFUSD/HGvOU= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1/go.mod h1:JbgPLZrh+yX+4+n1CPJ/uL9HrhZw6QVg0q7cTq2Iwq0= +github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158 h1:2qUCJkcz2X1hveQuhIYH8M5BPjFpeayhmVwJ7gPWFmM= +github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158/go.mod h1:FxbXMhS/Fz47QeviJ3yi1JgB0qCzgclMQ8s7MjD/I88= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE= @@ -362,8 +362,8 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g= github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y= -github.com/cosmos/iavl v1.0.0-rc.1 h1:5+73BEWW1gZOIUJKlk/1fpD4lOqqeFBA8KuV+NpkCpU= -github.com/cosmos/iavl v1.0.0-rc.1/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= +github.com/cosmos/iavl v1.0.0 h1:bw6t0Mv/mVCJvlMTOPHWLs5uUE3BRBfVWCRelOzl+so= +github.com/cosmos/iavl v1.0.0/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6 h1:K3lWRr/WJkPdSWErxhQL1x0CTnJyONHwJSyaTefGDf0= github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6/go.mod h1:DBP9jg+NoXU2buK5QDyf87lMjcQYN8qFlByNeNJmuhs= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= @@ -661,8 +661,8 @@ github.com/hashicorp/go-metrics v0.5.1 h1:rfPwUqFU6uZXNvGl4hzjY8LEBsqFVU4si1H9/H github.com/hashicorp/go-metrics v0.5.1/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-plugin v1.4.10 h1:xUbmA4jC6Dq163/fWcp8P3JuHilrHHMLNRxzGQJ9hNk= -github.com/hashicorp/go-plugin v1.4.10/go.mod h1:6/1TEzT0eQznvI/gV2CM29DLSkAK/e58mUWKVsPaph0= +github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= +github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= @@ -707,8 +707,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= -github.com/jhump/protoreflect v1.15.2 h1:7YppbATX94jEt9KLAc5hICx4h6Yt3SaavhQRsIUEHP0= -github.com/jhump/protoreflect v1.15.2/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= +github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFonzls= +github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= @@ -778,8 +778,9 @@ github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNx github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= @@ -869,8 +870,8 @@ github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6 github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761 h1:W04oB3d0J01W5jgYRGKsV8LCM6g9EkCvPkZcmFuy0OE= -github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20230808133559-b036b712a89b h1:vab8deKC4QoIfm9fJM59iuNz1ELGsuLoYYpiF+pHiG8= +github.com/petermattis/goid v0.0.0-20230808133559-b036b712a89b/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= @@ -892,16 +893,16 @@ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5Fsn github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= -github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= +github.com/prometheus/client_golang v1.17.0 h1:rl2sfwZMtSthVU752MqfjQozy7blglC+1SOtjMAMh+Q= +github.com/prometheus/client_golang v1.17.0/go.mod h1:VeL+gMmOAxkS2IqfCq0ZmHSL+LjWfWDUmp1mBz9JgUY= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= -github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= +github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 h1:v7DLqVdK4VrYkVD5diGdl4sxJurKJEMnODWRJlxV9oM= +github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= @@ -931,8 +932,8 @@ github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo= github.com/rs/cors v1.8.3/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/zerolog v1.30.0 h1:SymVODrcRsaRaSInD9yQtKbtWqwsfoPcRff/oRXLj4c= -github.com/rs/zerolog v1.30.0/go.mod h1:/tk+P47gFdPXq4QYjvCmT5/Gsug2nagsFWBWhAiSi1w= +github.com/rs/zerolog v1.31.0 h1:FcTR3NnLWW+NnTwwhFWiJSZr4ECLpqCm6QsEnyvbV4A= +github.com/rs/zerolog v1.31.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -1005,8 +1006,8 @@ github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70 github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= -github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= +github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= +github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= @@ -1088,8 +1089,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1116,8 +1117,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1323,6 +1324,7 @@ golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -1409,8 +1411,8 @@ golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ= -golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/modules/apps/callbacks/testing/simapp/app.go b/modules/apps/callbacks/testing/simapp/app.go index 44d9153520a..56cce8c58d2 100644 --- a/modules/apps/callbacks/testing/simapp/app.go +++ b/modules/apps/callbacks/testing/simapp/app.go @@ -611,8 +611,8 @@ func NewSimApp( transfer.NewAppModule(app.TransferKeeper), ibcfee.NewAppModule(app.IBCFeeKeeper), ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper), - ibctm.AppModuleBasic{}, - solomachine.AppModuleBasic{}, + ibctm.NewAppModule(), + solomachine.NewAppModule(), mockModule, ) diff --git a/modules/apps/transfer/keeper/keeper.go b/modules/apps/transfer/keeper/keeper.go index 18ff530ae4b..04704a1f53b 100644 --- a/modules/apps/transfer/keeper/keeper.go +++ b/modules/apps/transfer/keeper/keeper.go @@ -13,7 +13,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" tmbytes "github.com/cometbft/cometbft/libs/bytes" @@ -28,7 +27,7 @@ import ( type Keeper struct { storeKey storetypes.StoreKey cdc codec.BinaryCodec - legacySubspace paramtypes.Subspace + legacySubspace types.ParamSubspace ics4Wrapper porttypes.ICS4Wrapper channelKeeper types.ChannelKeeper @@ -46,7 +45,7 @@ type Keeper struct { func NewKeeper( cdc codec.BinaryCodec, key storetypes.StoreKey, - legacySubspace paramtypes.Subspace, + legacySubspace types.ParamSubspace, ics4Wrapper porttypes.ICS4Wrapper, channelKeeper types.ChannelKeeper, portKeeper types.PortKeeper, diff --git a/modules/apps/transfer/types/codec.go b/modules/apps/transfer/types/codec.go index 22da424c957..aef5c464632 100644 --- a/modules/apps/transfer/types/codec.go +++ b/modules/apps/transfer/types/codec.go @@ -7,6 +7,7 @@ import ( "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/legacy" codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" @@ -16,7 +17,7 @@ import ( // RegisterLegacyAminoCodec registers the necessary x/ibc transfer interfaces and concrete types // on the provided LegacyAmino codec. These types are used for Amino JSON serialization. func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(&MsgTransfer{}, "cosmos-sdk/MsgTransfer", nil) + legacy.RegisterAminoMsg(cdc, &MsgTransfer{}, "cosmos-sdk/MsgTransfer") } // RegisterInterfaces register the ibc transfer module interfaces to protobuf @@ -32,21 +33,12 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } -var ( - amino = codec.NewLegacyAmino() - - // ModuleCdc references the global x/ibc-transfer module codec. Note, the codec - // should ONLY be used in certain instances of tests and for JSON encoding. - // - // The actual codec used for serialization should be provided to x/ibc transfer and - // defined at the application level. - ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) -) - -func init() { - RegisterLegacyAminoCodec(amino) - amino.Seal() -} +// ModuleCdc references the global x/ibc-transfer module codec. Note, the codec +// should ONLY be used in certain instances of tests and for JSON encoding. +// +// The actual codec used for serialization should be provided to x/ibc transfer and +// defined at the application level. +var ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) // mustProtoMarshalJSON provides an auxiliary function to return Proto3 JSON encoded // bytes of a message. diff --git a/modules/apps/transfer/types/errors.go b/modules/apps/transfer/types/errors.go index d62134b27cd..b3e45aa2ae2 100644 --- a/modules/apps/transfer/types/errors.go +++ b/modules/apps/transfer/types/errors.go @@ -15,4 +15,5 @@ var ( ErrReceiveDisabled = errorsmod.Register(ModuleName, 8, "fungible token transfers to this chain are disabled") ErrMaxTransferChannels = errorsmod.Register(ModuleName, 9, "max transfer channels") ErrInvalidAuthorization = errorsmod.Register(ModuleName, 10, "invalid transfer authorization") + ErrInvalidMemo = errorsmod.Register(ModuleName, 11, "invalid memo") ) diff --git a/modules/apps/transfer/types/expected_keepers.go b/modules/apps/transfer/types/expected_keepers.go index 434c873d8cf..7aee3eace68 100644 --- a/modules/apps/transfer/types/expected_keepers.go +++ b/modules/apps/transfer/types/expected_keepers.go @@ -5,6 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" connectiontypes "github.com/cosmos/ibc-go/v8/modules/core/03-connection/types" @@ -54,3 +55,8 @@ type ConnectionKeeper interface { type PortKeeper interface { BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability } + +// ParamSubspace defines the expected Subspace interface for module parameters. +type ParamSubspace interface { + GetParamSet(ctx sdk.Context, ps paramtypes.ParamSet) +} diff --git a/modules/apps/transfer/types/msgs.go b/modules/apps/transfer/types/msgs.go index 33915637017..ad126d149c7 100644 --- a/modules/apps/transfer/types/msgs.go +++ b/modules/apps/transfer/types/msgs.go @@ -12,6 +12,11 @@ import ( ibcerrors "github.com/cosmos/ibc-go/v8/modules/core/errors" ) +const ( + MaximumReceiverLength = 2048 // maximum length of the receiver address in bytes (value chosen arbitrarily) + MaximumMemoLength = 32768 // maximum length of the memo in bytes (value chosen arbitrarily) +) + var ( _ sdk.Msg = (*MsgUpdateParams)(nil) _ sdk.Msg = (*MsgTransfer)(nil) @@ -91,6 +96,12 @@ func (msg MsgTransfer) ValidateBasic() error { if strings.TrimSpace(msg.Receiver) == "" { return errorsmod.Wrap(ibcerrors.ErrInvalidAddress, "missing recipient address") } + if len(msg.Receiver) > MaximumReceiverLength { + return errorsmod.Wrapf(ibcerrors.ErrInvalidAddress, "recipient address must not exceed %d bytes", MaximumReceiverLength) + } + if len(msg.Memo) > MaximumMemoLength { + return errorsmod.Wrapf(ErrInvalidMemo, "memo must not exceed %d bytes", MaximumMemoLength) + } return ValidateIBCDenom(msg.Token.Denom) } diff --git a/modules/apps/transfer/types/msgs_test.go b/modules/apps/transfer/types/msgs_test.go index 3afae766edb..6dc2dedc31a 100644 --- a/modules/apps/transfer/types/msgs_test.go +++ b/modules/apps/transfer/types/msgs_test.go @@ -60,11 +60,13 @@ func TestMsgTransferValidation(t *testing.T) { {"port id contains non-alpha", types.NewMsgTransfer(invalidPort, validChannel, coin, sender, receiver, timeoutHeight, 0, ""), false}, {"too short channel id", types.NewMsgTransfer(validPort, invalidShortChannel, coin, sender, receiver, timeoutHeight, 0, ""), false}, {"too long channel id", types.NewMsgTransfer(validPort, invalidLongChannel, coin, sender, receiver, timeoutHeight, 0, ""), false}, + {"too long memo", types.NewMsgTransfer(validPort, validChannel, coin, sender, receiver, timeoutHeight, 0, ibctesting.GenerateString(types.MaximumMemoLength+1)), false}, {"channel id contains non-alpha", types.NewMsgTransfer(validPort, invalidChannel, coin, sender, receiver, timeoutHeight, 0, ""), false}, {"invalid denom", types.NewMsgTransfer(validPort, validChannel, invalidDenomCoin, sender, receiver, timeoutHeight, 0, ""), false}, {"zero coin", types.NewMsgTransfer(validPort, validChannel, zeroCoin, sender, receiver, timeoutHeight, 0, ""), false}, {"missing sender address", types.NewMsgTransfer(validPort, validChannel, coin, emptyAddr, receiver, timeoutHeight, 0, ""), false}, {"missing recipient address", types.NewMsgTransfer(validPort, validChannel, coin, sender, "", timeoutHeight, 0, ""), false}, + {"too long recipient address", types.NewMsgTransfer(validPort, validChannel, coin, sender, ibctesting.GenerateString(types.MaximumReceiverLength+1), timeoutHeight, 0, ""), false}, {"empty coin", types.NewMsgTransfer(validPort, validChannel, sdk.Coin{}, sender, receiver, timeoutHeight, 0, ""), false}, } diff --git a/modules/apps/transfer/types/tx.pb.go b/modules/apps/transfer/types/tx.pb.go index 3e86ff234e4..6dbba5651c9 100644 --- a/modules/apps/transfer/types/tx.pb.go +++ b/modules/apps/transfer/types/tx.pb.go @@ -221,46 +221,46 @@ func init() { } var fileDescriptor_7401ed9bed2f8e09 = []byte{ - // 623 bytes of a gzipped FileDescriptorProto + // 613 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcf, 0x4f, 0x13, 0x4f, - 0x14, 0xef, 0x7e, 0x29, 0xfd, 0xe2, 0x54, 0x40, 0x56, 0x02, 0xcb, 0xc6, 0x6c, 0x49, 0x23, 0x09, - 0x96, 0x30, 0x93, 0x62, 0x0c, 0x86, 0x63, 0x89, 0xd1, 0x0b, 0x09, 0x36, 0x78, 0xf1, 0x42, 0x76, - 0xa7, 0xcf, 0xed, 0x84, 0xee, 0xcc, 0x3a, 0x33, 0x6d, 0xe4, 0x62, 0x8c, 0x07, 0x63, 0x3c, 0x79, - 0xf6, 0xe4, 0x9f, 0xd0, 0x3f, 0x83, 0x23, 0x47, 0x4f, 0xc6, 0xc0, 0xa1, 0x17, 0xff, 0x08, 0x33, - 0xb3, 0xd3, 0x5a, 0x3d, 0x54, 0xbd, 0xec, 0xbe, 0x1f, 0x9f, 0xf7, 0xeb, 0xf3, 0xe6, 0xa1, 0x2d, - 0x96, 0x50, 0x12, 0xe7, 0x79, 0x8f, 0xd1, 0x58, 0x33, 0xc1, 0x15, 0xd1, 0x32, 0xe6, 0xea, 0x05, - 0x48, 0x32, 0x68, 0x12, 0xfd, 0x0a, 0xe7, 0x52, 0x68, 0xe1, 0xdf, 0x61, 0x09, 0xc5, 0xd3, 0x30, - 0x3c, 0x86, 0xe1, 0x41, 0x33, 0x5c, 0x89, 0x33, 0xc6, 0x05, 0xb1, 0xdf, 0x22, 0x20, 0x5c, 0x4d, - 0x45, 0x2a, 0xac, 0x48, 0x8c, 0xe4, 0xac, 0xeb, 0x54, 0xa8, 0x4c, 0x28, 0x92, 0xa9, 0xd4, 0xa4, - 0xcf, 0x54, 0xea, 0x1c, 0x91, 0x73, 0x24, 0xb1, 0x02, 0x32, 0x68, 0x26, 0xa0, 0xe3, 0x26, 0xa1, - 0x82, 0x71, 0xe7, 0xaf, 0x99, 0x36, 0xa9, 0x90, 0x40, 0x68, 0x8f, 0x01, 0xd7, 0x26, 0xba, 0x90, - 0x1c, 0x60, 0x67, 0xf6, 0x1c, 0xe3, 0x66, 0x2d, 0xb8, 0xfe, 0x6e, 0x0e, 0x55, 0x8f, 0x54, 0x7a, - 0xe2, 0xac, 0x7e, 0x0d, 0x55, 0x95, 0xe8, 0x4b, 0x0a, 0xa7, 0xb9, 0x90, 0x3a, 0xf0, 0x36, 0xbd, - 0xed, 0x1b, 0x6d, 0x54, 0x98, 0x8e, 0x85, 0xd4, 0xfe, 0x16, 0x5a, 0x72, 0x00, 0xda, 0x8d, 0x39, - 0x87, 0x5e, 0xf0, 0x9f, 0xc5, 0x2c, 0x16, 0xd6, 0xc3, 0xc2, 0xe8, 0x3f, 0x42, 0xf3, 0x5a, 0x9c, - 0x01, 0x0f, 0xe6, 0x36, 0xbd, 0xed, 0xea, 0xde, 0x06, 0x2e, 0xa6, 0xc2, 0x66, 0x2a, 0xec, 0xa6, - 0xc2, 0x87, 0x82, 0xf1, 0xd6, 0xea, 0xc5, 0xd7, 0x5a, 0xe9, 0xd3, 0x68, 0xd8, 0xa8, 0xf6, 0x20, - 0x8d, 0xe9, 0xf9, 0xa9, 0x99, 0xb5, 0x5d, 0x44, 0xfb, 0x6b, 0xa8, 0xa2, 0x80, 0x77, 0x40, 0x06, - 0x65, 0x5b, 0xc5, 0x69, 0x7e, 0x88, 0x16, 0x24, 0x50, 0x60, 0x03, 0x90, 0xc1, 0xbc, 0xf5, 0x4c, - 0x74, 0xff, 0x31, 0x5a, 0xd2, 0x2c, 0x03, 0xd1, 0xd7, 0xa7, 0x5d, 0x60, 0x69, 0x57, 0x07, 0x15, - 0xdb, 0x43, 0x88, 0xcd, 0xe6, 0x0c, 0x73, 0xd8, 0xf1, 0x35, 0x68, 0xe2, 0x27, 0x16, 0xd1, 0x2a, - 0x9b, 0x26, 0xda, 0x8b, 0x2e, 0xae, 0x30, 0xfa, 0x3b, 0x68, 0x65, 0x9c, 0xc8, 0xfc, 0x95, 0x8e, - 0xb3, 0x3c, 0xf8, 0x7f, 0xd3, 0xdb, 0x2e, 0xb7, 0x6f, 0x39, 0xc7, 0xc9, 0xd8, 0xee, 0xfb, 0xa8, - 0x9c, 0x41, 0x26, 0x82, 0x05, 0xdb, 0x8d, 0x95, 0x0f, 0x1a, 0xef, 0x3f, 0xd7, 0x4a, 0x6f, 0x47, - 0xc3, 0x86, 0x6b, 0xfb, 0xc3, 0x68, 0xd8, 0x58, 0x2b, 0x88, 0xd8, 0x55, 0x9d, 0x33, 0x32, 0x45, - 0x7c, 0x7d, 0x1f, 0xdd, 0x9e, 0x52, 0xdb, 0xa0, 0x72, 0xc1, 0x15, 0x98, 0x41, 0x15, 0xbc, 0xec, - 0x03, 0xa7, 0x60, 0x97, 0x51, 0x6e, 0x4f, 0xf4, 0x83, 0xb2, 0x49, 0x5f, 0x7f, 0x8d, 0x96, 0x8f, - 0x54, 0xfa, 0x2c, 0xef, 0xc4, 0x1a, 0x8e, 0x63, 0x19, 0x67, 0xca, 0xb2, 0xc6, 0x52, 0x0e, 0xd2, - 0xed, 0xcf, 0x69, 0x7e, 0x0b, 0x55, 0x72, 0x8b, 0xb0, 0x3b, 0xab, 0xee, 0xdd, 0xc5, 0xb3, 0xde, - 0x32, 0x2e, 0xb2, 0x39, 0x6e, 0x5c, 0xe4, 0xc1, 0xf2, 0xcf, 0x99, 0x6c, 0xd2, 0xfa, 0x06, 0x5a, - 0xff, 0xad, 0xfe, 0xb8, 0xf9, 0xbd, 0xef, 0x1e, 0x9a, 0x3b, 0x52, 0xa9, 0xdf, 0x45, 0x0b, 0x93, - 0x07, 0x76, 0x6f, 0x76, 0xcd, 0x29, 0x0e, 0xc2, 0xe6, 0x5f, 0x43, 0x27, 0x74, 0x69, 0x74, 0xf3, - 0x17, 0x26, 0x76, 0xff, 0x98, 0x62, 0x1a, 0x1e, 0x3e, 0xf8, 0x27, 0xf8, 0xb8, 0x6a, 0x38, 0xff, - 0x66, 0x34, 0x6c, 0x78, 0xad, 0xa7, 0x17, 0x57, 0x91, 0x77, 0x79, 0x15, 0x79, 0xdf, 0xae, 0x22, - 0xef, 0xe3, 0x75, 0x54, 0xba, 0xbc, 0x8e, 0x4a, 0x5f, 0xae, 0xa3, 0xd2, 0xf3, 0xfd, 0x94, 0xe9, - 0x6e, 0x3f, 0xc1, 0x54, 0x64, 0xc4, 0x9d, 0x37, 0x4b, 0xe8, 0x6e, 0x2a, 0xc8, 0xe0, 0x21, 0xc9, - 0x44, 0xa7, 0xdf, 0x03, 0x65, 0x4e, 0x76, 0xea, 0x54, 0xf5, 0x79, 0x0e, 0x2a, 0xa9, 0xd8, 0x2b, - 0xbd, 0xff, 0x23, 0x00, 0x00, 0xff, 0xff, 0xe0, 0xab, 0xc5, 0x1e, 0x9c, 0x04, 0x00, 0x00, + 0x14, 0xef, 0x7e, 0x29, 0xfd, 0xc2, 0x54, 0x40, 0x56, 0x03, 0xcb, 0xc6, 0x6c, 0x49, 0x23, 0x09, + 0x96, 0x30, 0x93, 0x62, 0x0c, 0xa6, 0xc7, 0x72, 0xf1, 0x20, 0x09, 0x36, 0x78, 0xf1, 0x42, 0x76, + 0xa7, 0xcf, 0xed, 0x84, 0xee, 0xcc, 0x3a, 0x33, 0x6d, 0xf4, 0x62, 0x88, 0x27, 0xe3, 0xc9, 0x3f, + 0xc1, 0xa3, 0x47, 0xfe, 0x0c, 0x8e, 0x1c, 0x3d, 0x19, 0x03, 0x07, 0x2e, 0xfe, 0x11, 0x66, 0x66, + 0xa7, 0x75, 0xf5, 0x50, 0xf5, 0xb2, 0xfb, 0x7e, 0x7c, 0xde, 0xaf, 0xcf, 0x9b, 0x87, 0xb6, 0x58, + 0x42, 0x49, 0x9c, 0xe7, 0x43, 0x46, 0x63, 0xcd, 0x04, 0x57, 0x44, 0xcb, 0x98, 0xab, 0x97, 0x20, + 0xc9, 0xb8, 0x4d, 0xf4, 0x6b, 0x9c, 0x4b, 0xa1, 0x85, 0x7f, 0x8f, 0x25, 0x14, 0x97, 0x61, 0x78, + 0x02, 0xc3, 0xe3, 0x76, 0xb8, 0x1a, 0x67, 0x8c, 0x0b, 0x62, 0xbf, 0x45, 0x40, 0x78, 0x37, 0x15, + 0xa9, 0xb0, 0x22, 0x31, 0x92, 0xb3, 0xae, 0x53, 0xa1, 0x32, 0xa1, 0x48, 0xa6, 0x52, 0x93, 0x3e, + 0x53, 0xa9, 0x73, 0x44, 0xce, 0x91, 0xc4, 0x0a, 0xc8, 0xb8, 0x9d, 0x80, 0x8e, 0xdb, 0x84, 0x0a, + 0xc6, 0x9d, 0xbf, 0x61, 0xda, 0xa4, 0x42, 0x02, 0xa1, 0x43, 0x06, 0x5c, 0x9b, 0xe8, 0x42, 0x72, + 0x80, 0x9d, 0xd9, 0x73, 0x4c, 0x9a, 0xb5, 0xe0, 0xe6, 0xd9, 0x1c, 0xaa, 0x1f, 0xaa, 0xf4, 0xd8, + 0x59, 0xfd, 0x06, 0xaa, 0x2b, 0x31, 0x92, 0x14, 0x4e, 0x72, 0x21, 0x75, 0xe0, 0x6d, 0x7a, 0xdb, + 0x8b, 0x3d, 0x54, 0x98, 0x8e, 0x84, 0xd4, 0xfe, 0x16, 0x5a, 0x76, 0x00, 0x3a, 0x88, 0x39, 0x87, + 0x61, 0xf0, 0x9f, 0xc5, 0x2c, 0x15, 0xd6, 0x83, 0xc2, 0xe8, 0x77, 0xd0, 0xbc, 0x16, 0xa7, 0xc0, + 0x83, 0xb9, 0x4d, 0x6f, 0xbb, 0xbe, 0xb7, 0x81, 0x8b, 0xa9, 0xb0, 0x99, 0x0a, 0xbb, 0xa9, 0xf0, + 0x81, 0x60, 0xbc, 0xbb, 0x78, 0xf1, 0xb5, 0x51, 0xf9, 0x7c, 0x73, 0xde, 0xf2, 0x7a, 0x45, 0x88, + 0xbf, 0x86, 0x6a, 0x0a, 0x78, 0x1f, 0x64, 0x50, 0xb5, 0xa9, 0x9d, 0xe6, 0x87, 0x68, 0x41, 0x02, + 0x05, 0x36, 0x06, 0x19, 0xcc, 0x5b, 0xcf, 0x54, 0xf7, 0x9f, 0xa2, 0x65, 0xcd, 0x32, 0x10, 0x23, + 0x7d, 0x32, 0x00, 0x96, 0x0e, 0x74, 0x50, 0xb3, 0x85, 0x43, 0x6c, 0xd6, 0x65, 0xe8, 0xc2, 0x8e, + 0xa4, 0x71, 0x1b, 0x3f, 0xb1, 0x88, 0x72, 0xe5, 0x25, 0x17, 0x5c, 0x78, 0xfc, 0x1d, 0xb4, 0x3a, + 0xc9, 0x66, 0xfe, 0x4a, 0xc7, 0x59, 0x1e, 0xfc, 0xbf, 0xe9, 0x6d, 0x57, 0x7b, 0xb7, 0x9d, 0xe3, + 0x78, 0x62, 0xf7, 0x7d, 0x54, 0xcd, 0x20, 0x13, 0xc1, 0x82, 0x6d, 0xc9, 0xca, 0x9d, 0xd6, 0xfb, + 0x4f, 0x8d, 0xca, 0xbb, 0x9b, 0xf3, 0x96, 0xeb, 0xfd, 0xc3, 0xcd, 0x79, 0x6b, 0xad, 0xa0, 0x60, + 0x57, 0xf5, 0x4f, 0x49, 0x89, 0xf2, 0xe6, 0x3e, 0xba, 0x53, 0x52, 0x7b, 0xa0, 0x72, 0xc1, 0x15, + 0x98, 0x69, 0x15, 0xbc, 0x1a, 0x01, 0xa7, 0x60, 0xd7, 0x50, 0xed, 0x4d, 0xf5, 0x4e, 0xd5, 0xa4, + 0x6f, 0xbe, 0x45, 0x2b, 0x87, 0x2a, 0x7d, 0x9e, 0xf7, 0x63, 0x0d, 0x47, 0xb1, 0x8c, 0x33, 0x65, + 0xa9, 0x63, 0x29, 0x07, 0xe9, 0x36, 0xe7, 0x34, 0xbf, 0x8b, 0x6a, 0xb9, 0x45, 0xd8, 0x6d, 0xd5, + 0xf7, 0xee, 0xe3, 0x59, 0xaf, 0x18, 0x17, 0xd9, 0xba, 0x55, 0x43, 0x50, 0xcf, 0x45, 0x76, 0x56, + 0x7e, 0xce, 0x64, 0x93, 0x36, 0x37, 0xd0, 0xfa, 0x6f, 0xf5, 0x27, 0xcd, 0xef, 0x7d, 0xf7, 0xd0, + 0xdc, 0xa1, 0x4a, 0xfd, 0x01, 0x5a, 0x98, 0x3e, 0xad, 0x07, 0xb3, 0x6b, 0x96, 0x38, 0x08, 0xdb, + 0x7f, 0x0d, 0x9d, 0xd2, 0xa5, 0xd1, 0xad, 0x5f, 0x98, 0xd8, 0xfd, 0x63, 0x8a, 0x32, 0x3c, 0x7c, + 0xf4, 0x4f, 0xf0, 0x49, 0xd5, 0x70, 0xfe, 0xcc, 0x3c, 0x9f, 0xee, 0xb3, 0x8b, 0xab, 0xc8, 0xbb, + 0xbc, 0x8a, 0xbc, 0x6f, 0x57, 0x91, 0xf7, 0xf1, 0x3a, 0xaa, 0x5c, 0x5e, 0x47, 0x95, 0x2f, 0xd7, + 0x51, 0xe5, 0xc5, 0x7e, 0xca, 0xf4, 0x60, 0x94, 0x60, 0x2a, 0x32, 0xe2, 0x0e, 0x9b, 0x25, 0x74, + 0x37, 0x15, 0x64, 0xfc, 0x98, 0x64, 0xa2, 0x3f, 0x1a, 0x82, 0x32, 0xc7, 0x5a, 0x3a, 0x52, 0xfd, + 0x26, 0x07, 0x95, 0xd4, 0xec, 0x7d, 0x3e, 0xfc, 0x11, 0x00, 0x00, 0xff, 0xff, 0x3b, 0xda, 0xd1, + 0xc3, 0x96, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/modules/capability/capability_test.go b/modules/capability/capability_test.go index e725fdf1cb2..77c7170401d 100644 --- a/modules/capability/capability_test.go +++ b/modules/capability/capability_test.go @@ -39,7 +39,7 @@ type CapabilityTestSuite struct { } func (suite *CapabilityTestSuite) SetupTest() { - encodingCfg := moduletestutil.MakeTestEncodingConfig(capability.AppModuleBasic{}) + encodingCfg := moduletestutil.MakeTestEncodingConfig(capability.AppModule{}) suite.cdc = encodingCfg.Codec suite.storeKey = storetypes.NewKVStoreKey(types.StoreKey) diff --git a/modules/capability/go.mod b/modules/capability/go.mod index 1e24d4286a0..08d412e0f4c 100644 --- a/modules/capability/go.mod +++ b/modules/capability/go.mod @@ -15,7 +15,6 @@ require ( github.com/cosmos/cosmos-sdk v0.50.0-rc.1 github.com/cosmos/gogoproto v1.4.11 github.com/grpc-ecosystem/grpc-gateway v1.16.0 - github.com/spf13/cobra v1.7.0 github.com/stretchr/testify v1.8.4 sigs.k8s.io/yaml v1.3.0 ) @@ -49,7 +48,7 @@ require ( github.com/cosmos/ics23/go v0.10.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.0 // indirect github.com/danieljoos/wincred v1.1.2 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect github.com/dgraph-io/badger/v2 v2.2007.4 // indirect @@ -95,7 +94,7 @@ require ( github.com/improbable-eng/grpc-web v0.15.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect - github.com/klauspost/compress v1.16.7 // indirect + github.com/klauspost/compress v1.17.0 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect github.com/libp2p/go-buffer-pool v0.1.0 // indirect @@ -110,10 +109,10 @@ require ( github.com/oasisprotocol/curve25519-voi v0.0.0-20230110094441-db37f07504ce // indirect github.com/oklog/run v1.1.0 // indirect github.com/onsi/ginkgo v1.16.4 // indirect - github.com/pelletier/go-toml/v2 v2.0.8 // indirect + github.com/pelletier/go-toml/v2 v2.1.0 // indirect github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761 // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/prometheus/client_golang v1.16.0 // indirect github.com/prometheus/client_model v0.4.0 // indirect github.com/prometheus/common v0.44.0 // indirect @@ -122,13 +121,16 @@ require ( github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/rs/cors v1.8.3 // indirect github.com/rs/zerolog v1.30.0 // indirect + github.com/sagikazarmark/locafero v0.3.0 // indirect + github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect - github.com/spf13/afero v1.9.5 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect + github.com/spf13/afero v1.10.0 // indirect github.com/spf13/cast v1.5.1 // indirect - github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/spf13/viper v1.16.0 // indirect - github.com/subosito/gotenv v1.4.2 // indirect + github.com/spf13/viper v1.17.0 // indirect + github.com/subosito/gotenv v1.6.0 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect github.com/tendermint/go-amino v0.16.0 // indirect github.com/tidwall/btree v1.6.0 // indirect @@ -136,15 +138,16 @@ require ( github.com/zondax/hid v0.9.1 // indirect github.com/zondax/ledger-go v0.14.1 // indirect go.etcd.io/bbolt v1.3.7 // indirect + go.uber.org/multierr v1.10.0 // indirect golang.org/x/crypto v0.13.0 // indirect - golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 // indirect + golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect golang.org/x/net v0.15.0 // indirect golang.org/x/sys v0.12.0 // indirect golang.org/x/term v0.12.0 // indirect golang.org/x/text v0.13.0 // indirect - google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb // indirect + google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect google.golang.org/grpc v1.58.2 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect diff --git a/modules/capability/go.sum b/modules/capability/go.sum index 4ae6dd90634..db2911b37bd 100644 --- a/modules/capability/go.sum +++ b/modules/capability/go.sum @@ -188,8 +188,9 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3 github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y= github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 h1:8UrgZ3GkP4i/CLijOJx79Yu+etlyjdBU4sfcs2WYQMs= @@ -493,8 +494,8 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= -github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= -github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/compress v1.17.0 h1:Rnbp4K9EjcDuVuHtd0dgA4qNuv9yKDYKK1ulpJwgrqM= +github.com/klauspost/compress v1.17.0/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= @@ -611,8 +612,8 @@ github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0Mw github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= -github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= +github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761 h1:W04oB3d0J01W5jgYRGKsV8LCM6g9EkCvPkZcmFuy0OE= @@ -628,8 +629,9 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= @@ -682,6 +684,10 @@ github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/sagikazarmark/locafero v0.3.0 h1:zT7VEGWC2DTflmccN/5T1etyKvxSxpHsjb9cJvm4SvQ= +github.com/sagikazarmark/locafero v0.3.0/go.mod h1:w+v7UsPNFwzF1cHuOajOOzoq4U7v/ig1mpRjqV+Bu1U= +github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= +github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= @@ -695,12 +701,14 @@ github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1 github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= +github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= +github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= -github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/afero v1.10.0 h1:EaGW2JJh15aKOejeuJ+wpFSHnbd7GE6Wvp3TsNhb6LY= +github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= @@ -709,15 +717,13 @@ github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tL github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= -github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= +github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI= +github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= @@ -735,11 +741,10 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= -github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= +github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= @@ -786,6 +791,8 @@ go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ= +go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= @@ -815,8 +822,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 h1:m64FZMko/V45gv0bNmrNYoDEq8U5YUhetc9cBWKS1TQ= -golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63/go.mod h1:0v4NqG35kSWCMzLaMeX+IQrlSnVE/bqGSyC2cz/9Le8= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1136,12 +1143,12 @@ google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 h1:L6iMMGrtzgHsWofoFcihmDEMYeDR9KN/ThbPWGrh++g= -google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5/go.mod h1:oH/ZOT02u4kWEp7oYBGYFFkCdKS/uYR9Z7+0/xuuFp8= -google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e h1:z3vDksarJxsAKM5dmEGv0GHwE2hKJ096wZra71Vs4sw= -google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb h1:Isk1sSH7bovx8Rti2wZK0UZF6oraBDK74uoyLEEVFN0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= +google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb h1:XFBgcDwm7irdHTbz4Zk2h7Mh+eis4nfJEFQFYzJzuIA= +google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= +google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb h1:lK0oleSc7IQsUxO3U5TjL9DWlsxpEBemh+zpB7IqhWI= +google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 h1:N3bU/SQDCDyD6R528GJ/PwW9KjYcJA3dgyH+MovAkIM= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13/go.mod h1:KSqppvjFjtoCI+KGd4PELB0qLNxdJHRGqRI09mB6pQA= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= diff --git a/modules/capability/keeper/keeper_test.go b/modules/capability/keeper/keeper_test.go index 9fada176f38..12ac910a7c2 100644 --- a/modules/capability/keeper/keeper_test.go +++ b/modules/capability/keeper/keeper_test.go @@ -33,7 +33,7 @@ func (suite *KeeperTestSuite) SetupTest() { key := storetypes.NewKVStoreKey(types.StoreKey) testCtx := testutil.DefaultContextWithDB(suite.T(), key, storetypes.NewTransientStoreKey("transient_test")) suite.ctx = testCtx.Ctx - encCfg := moduletestutil.MakeTestEncodingConfig(capability.AppModuleBasic{}) + encCfg := moduletestutil.MakeTestEncodingConfig(capability.AppModule{}) suite.keeper = keeper.NewKeeper(encCfg.Codec, key, key) } diff --git a/modules/capability/module.go b/modules/capability/module.go index ab9bc97a9db..355ec428f65 100644 --- a/modules/capability/module.go +++ b/modules/capability/module.go @@ -7,7 +7,6 @@ import ( "time" gwruntime "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/spf13/cobra" "cosmossdk.io/core/appmodule" @@ -26,7 +25,6 @@ import ( var ( _ module.AppModule = (*AppModule)(nil) - _ module.AppModuleBasic = (*AppModuleBasic)(nil) _ module.AppModuleSimulation = (*AppModule)(nil) _ module.HasName = (*AppModule)(nil) _ module.HasConsensusVersion = (*AppModule)(nil) @@ -48,11 +46,6 @@ func NewAppModuleBasic(cdc codec.Codec) AppModuleBasic { return AppModuleBasic{cdc: cdc} } -// Name returns the capability module's name. -func (AppModuleBasic) Name() string { - return types.ModuleName -} - // RegisterLegacyAminoCodec does nothing. Capability does not support amino. func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {} @@ -77,12 +70,6 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod func (AppModuleBasic) RegisterGRPCGatewayRoutes(_ client.Context, _ *gwruntime.ServeMux) { } -// GetTxCmd returns the capability module's root tx command. -func (AppModuleBasic) GetTxCmd() *cobra.Command { return nil } - -// GetQueryCmd returns the capability module's root query command. -func (AppModuleBasic) GetQueryCmd() *cobra.Command { return nil } - // ---------------------------------------------------------------------------- // AppModule // ---------------------------------------------------------------------------- @@ -112,7 +99,7 @@ func (AppModule) IsAppModule() {} // Name returns the capability module's name. func (am AppModule) Name() string { - return am.AppModuleBasic.Name() + return types.ModuleName } // InitGenesis performs the capability module's genesis initialization It returns diff --git a/modules/capability/simulation/decoder_test.go b/modules/capability/simulation/decoder_test.go index c47ce7dc9bc..b5115e66139 100644 --- a/modules/capability/simulation/decoder_test.go +++ b/modules/capability/simulation/decoder_test.go @@ -16,7 +16,7 @@ import ( ) func TestDecodeStore(t *testing.T) { - encodingCfg := moduletestutil.MakeTestEncodingConfig(capability.AppModuleBasic{}) + encodingCfg := moduletestutil.MakeTestEncodingConfig(capability.AppModule{}) dec := simulation.NewDecodeStore(encodingCfg.Codec) capOwners := types.CapabilityOwners{ diff --git a/modules/core/02-client/keeper/keeper.go b/modules/core/02-client/keeper/keeper.go index 6a461a62126..026d60faea3 100644 --- a/modules/core/02-client/keeper/keeper.go +++ b/modules/core/02-client/keeper/keeper.go @@ -14,7 +14,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/cometbft/cometbft/light" @@ -32,13 +31,13 @@ import ( type Keeper struct { storeKey storetypes.StoreKey cdc codec.BinaryCodec - legacySubspace paramtypes.Subspace + legacySubspace types.ParamSubspace stakingKeeper types.StakingKeeper upgradeKeeper types.UpgradeKeeper } // NewKeeper creates a new NewKeeper instance -func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, legacySubspace paramtypes.Subspace, sk types.StakingKeeper, uk types.UpgradeKeeper) Keeper { +func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, legacySubspace types.ParamSubspace, sk types.StakingKeeper, uk types.UpgradeKeeper) Keeper { return Keeper{ storeKey: key, cdc: cdc, diff --git a/modules/core/02-client/types/expected_keepers.go b/modules/core/02-client/types/expected_keepers.go index ea56078ed26..6f4cd34557a 100644 --- a/modules/core/02-client/types/expected_keepers.go +++ b/modules/core/02-client/types/expected_keepers.go @@ -6,6 +6,8 @@ import ( upgradetypes "cosmossdk.io/x/upgrade/types" + sdk "github.com/cosmos/cosmos-sdk/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ) @@ -25,3 +27,8 @@ type UpgradeKeeper interface { SetUpgradedConsensusState(ctx context.Context, planHeight int64, bz []byte) error ScheduleUpgrade(ctx context.Context, plan upgradetypes.Plan) error } + +// ParamSubspace defines the expected Subspace interface for module parameters. +type ParamSubspace interface { + GetParamSet(ctx sdk.Context, ps paramtypes.ParamSet) +} diff --git a/modules/core/03-connection/keeper/keeper.go b/modules/core/03-connection/keeper/keeper.go index b4f8cf506c7..cd18555f56e 100644 --- a/modules/core/03-connection/keeper/keeper.go +++ b/modules/core/03-connection/keeper/keeper.go @@ -9,7 +9,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" "github.com/cosmos/ibc-go/v8/modules/core/03-connection/types" @@ -24,13 +23,13 @@ type Keeper struct { types.QueryServer storeKey storetypes.StoreKey - legacySubspace paramtypes.Subspace + legacySubspace types.ParamSubspace cdc codec.BinaryCodec clientKeeper types.ClientKeeper } // NewKeeper creates a new IBC connection Keeper instance -func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, legacySubspace paramtypes.Subspace, ck types.ClientKeeper) Keeper { +func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, legacySubspace types.ParamSubspace, ck types.ClientKeeper) Keeper { return Keeper{ storeKey: key, cdc: cdc, diff --git a/modules/core/03-connection/types/expected_keepers.go b/modules/core/03-connection/types/expected_keepers.go index b470bf6520f..a37605b64cf 100644 --- a/modules/core/03-connection/types/expected_keepers.go +++ b/modules/core/03-connection/types/expected_keepers.go @@ -4,6 +4,7 @@ import ( storetypes "cosmossdk.io/store/types" sdk "github.com/cosmos/cosmos-sdk/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/cosmos/ibc-go/v8/modules/core/exported" ) @@ -18,3 +19,8 @@ type ClientKeeper interface { IterateClientStates(ctx sdk.Context, prefix []byte, cb func(string, exported.ClientState) bool) ClientStore(ctx sdk.Context, clientID string) storetypes.KVStore } + +// ParamSubspace defines the expected Subspace interface for module parameters. +type ParamSubspace interface { + GetParamSet(ctx sdk.Context, ps paramtypes.ParamSet) +} diff --git a/modules/core/04-channel/keeper/packet_test.go b/modules/core/04-channel/keeper/packet_test.go index bd361cb2466..721a41d46de 100644 --- a/modules/core/04-channel/keeper/packet_test.go +++ b/modules/core/04-channel/keeper/packet_test.go @@ -3,6 +3,8 @@ package keeper_test import ( "fmt" + "cosmossdk.io/errors" + capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" connectiontypes "github.com/cosmos/ibc-go/v8/modules/core/03-connection/types" @@ -671,6 +673,32 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { channelCap *capabilitytypes.Capability ) + assertErr := func(errType *errors.Error) func(commitment []byte, err error) { + return func(commitment []byte, err error) { + suite.Require().Error(err) + suite.Require().ErrorIs(err, errType) + suite.Require().NotNil(commitment) + } + } + + assertNoOp := func(commitment []byte, err error) { + suite.Require().Error(err) + suite.Require().ErrorIs(err, types.ErrNoOpMsg) + suite.Require().Nil(commitment) + } + + assertSuccess := func(seq func() uint64, msg string) func(commitment []byte, err error) { + return func(commitment []byte, err error) { + suite.Require().NoError(err) + suite.Require().Nil(commitment) + + nextSequenceAck, found := suite.chainA.App.GetIBCKeeper().ChannelKeeper.GetNextSequenceAck(suite.chainA.GetContext(), packet.GetSourcePort(), packet.GetSourceChannel()) + + suite.Require().True(found) + suite.Require().Equal(seq(), nextSequenceAck, msg) + } + } + testCases := []struct { name string malleate func() @@ -693,14 +721,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().NoError(err) - suite.Require().Nil(commitment) - - nextSequenceAck, found := suite.chainA.App.GetIBCKeeper().ChannelKeeper.GetNextSequenceAck(suite.chainA.GetContext(), packet.GetSourcePort(), packet.GetSourceChannel()) - suite.Require().True(found) - suite.Require().Equal(packet.GetSequence()+1, nextSequenceAck, "sequence not incremented in ordered channel") - }, + expResult: assertSuccess(func() uint64 { return packet.GetSequence() + 1 }, "sequence not incremented in ordered channel"), }, { name: "success on unordered channel", @@ -719,14 +740,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().NoError(err) - suite.Require().Nil(commitment) - - nextSequenceAck, found := suite.chainA.App.GetIBCKeeper().ChannelKeeper.GetNextSequenceAck(suite.chainA.GetContext(), packet.GetSourcePort(), packet.GetSourceChannel()) - suite.Require().True(found) - suite.Require().Equal(uint64(1), nextSequenceAck, "sequence incremented for UNORDERED channel") - }, + expResult: assertSuccess(func() uint64 { return uint64(1) }, "sequence incremented for UNORDERED channel"), }, { name: "packet already acknowledged ordered channel (no-op)", @@ -748,11 +762,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { err = path.EndpointA.AcknowledgePacket(packet, ack.Acknowledgement()) suite.Require().NoError(err) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrNoOpMsg) - suite.Require().Nil(commitment) - }, + expResult: assertNoOp, }, { name: "packet already acknowledged unordered channel (no-op)", @@ -774,11 +784,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { err = path.EndpointA.AcknowledgePacket(packet, ack.Acknowledgement()) suite.Require().NoError(err) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrNoOpMsg) - suite.Require().Nil(commitment) - }, + expResult: assertNoOp, }, { name: "channel not found", @@ -792,11 +798,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { packet = types.NewPacket(ibctesting.MockPacketData, sequence, ibctesting.InvalidID, ibctesting.InvalidID, path.EndpointB.ChannelConfig.PortID, path.EndpointB.ChannelID, defaultTimeoutHeight, disabledTimeoutTimestamp) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrChannelNotFound) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(types.ErrChannelNotFound), }, { name: "channel not open", @@ -813,11 +815,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { suite.Require().NoError(err) channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrInvalidChannelState) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(types.ErrInvalidChannelState), }, { name: "capability authentication failed ORDERED", @@ -836,11 +834,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { channelCap = capabilitytypes.NewCapability(3) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrInvalidChannelCapability) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(types.ErrInvalidChannelCapability), }, { name: "packet destination port ≠ channel counterparty port", @@ -855,11 +849,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { packet = types.NewPacket(ibctesting.MockPacketData, sequence, path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID, ibctesting.InvalidID, path.EndpointB.ChannelID, defaultTimeoutHeight, disabledTimeoutTimestamp) channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrInvalidPacket) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(types.ErrInvalidPacket), }, { name: "packet destination channel ID ≠ channel counterparty channel ID", @@ -874,11 +864,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { packet = types.NewPacket(ibctesting.MockPacketData, sequence, path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID, path.EndpointB.ChannelConfig.PortID, ibctesting.InvalidID, defaultTimeoutHeight, disabledTimeoutTimestamp) channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrInvalidPacket) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(types.ErrInvalidPacket), }, { name: "connection not found", @@ -901,11 +887,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { suite.chainA.CreateChannelCapability(suite.chainA.GetSimApp().ScopedIBCMockKeeper, path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, connectiontypes.ErrConnectionNotFound) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(connectiontypes.ErrConnectionNotFound), }, { name: "connection not OPEN", @@ -931,11 +913,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { suite.chainA.CreateChannelCapability(suite.chainA.GetSimApp().ScopedIBCMockKeeper, path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, connectiontypes.ErrInvalidConnectionState) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(connectiontypes.ErrInvalidConnectionState), }, { name: "packet hasn't been sent", @@ -945,11 +923,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { packet = types.NewPacket(ibctesting.MockPacketData, 1, path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID, path.EndpointB.ChannelConfig.PortID, path.EndpointB.ChannelID, defaultTimeoutHeight, disabledTimeoutTimestamp) channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrNoOpMsg) // NOTE: ibc core does not distinguish between unsent and already relayed packets. - suite.Require().Nil(commitment) - }, + expResult: assertNoOp, // NOTE: ibc core does not distinguish between unsent and already relayed packets. }, { name: "packet ack verification failed", @@ -965,11 +939,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { packet = types.NewPacket(ibctesting.MockPacketData, sequence, path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID, path.EndpointB.ChannelConfig.PortID, path.EndpointB.ChannelID, defaultTimeoutHeight, disabledTimeoutTimestamp) channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, commitmenttypes.ErrInvalidProof) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(commitmenttypes.ErrInvalidProof), }, { name: "packet commitment bytes do not match", @@ -990,11 +960,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { packet.Data = []byte("invalid packet commitment") }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrInvalidPacket) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(types.ErrInvalidPacket), }, { name: "next ack sequence not found", @@ -1018,11 +984,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrSequenceAckNotFound) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(types.ErrSequenceAckNotFound), }, { name: "next ack sequence mismatch ORDERED", @@ -1043,11 +1005,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() { suite.chainA.App.GetIBCKeeper().ChannelKeeper.SetNextSequenceAck(suite.chainA.GetContext(), path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID, 10) channelCap = suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) }, - expResult: func(commitment []byte, err error) { - suite.Require().Error(err) - suite.Require().ErrorIs(err, types.ErrPacketSequenceOutOfOrder) - suite.Require().NotNil(commitment) - }, + expResult: assertErr(types.ErrPacketSequenceOutOfOrder), }, } diff --git a/modules/core/keeper/keeper.go b/modules/core/keeper/keeper.go index 6831be40bda..08ee5dc027e 100644 --- a/modules/core/keeper/keeper.go +++ b/modules/core/keeper/keeper.go @@ -8,7 +8,6 @@ import ( storetypes "cosmossdk.io/store/types" "github.com/cosmos/cosmos-sdk/codec" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper" clientkeeper "github.com/cosmos/ibc-go/v8/modules/core/02-client/keeper" @@ -40,7 +39,7 @@ type Keeper struct { // NewKeeper creates a new ibc Keeper func NewKeeper( - cdc codec.BinaryCodec, key storetypes.StoreKey, paramSpace paramtypes.Subspace, + cdc codec.BinaryCodec, key storetypes.StoreKey, paramSpace types.ParamSubspace, stakingKeeper clienttypes.StakingKeeper, upgradeKeeper clienttypes.UpgradeKeeper, scopedKeeper capabilitykeeper.ScopedKeeper, authority string, ) *Keeper { diff --git a/modules/core/types/expected_interfaces.go b/modules/core/types/expected_interfaces.go new file mode 100644 index 00000000000..c6aca313696 --- /dev/null +++ b/modules/core/types/expected_interfaces.go @@ -0,0 +1,11 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" +) + +// ParamSubspace defines the expected Subspace interface for module parameters. +type ParamSubspace interface { + GetParamSet(ctx sdk.Context, ps paramtypes.ParamSet) +} diff --git a/modules/light-clients/06-solomachine/module.go b/modules/light-clients/06-solomachine/module.go index c819bf627d8..0f380fd2fb8 100644 --- a/modules/light-clients/06-solomachine/module.go +++ b/modules/light-clients/06-solomachine/module.go @@ -6,13 +6,18 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" + "cosmossdk.io/core/appmodule" + "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/types/module" ) -var _ module.AppModuleBasic = (*AppModuleBasic)(nil) +var ( + _ module.AppModuleBasic = (*AppModuleBasic)(nil) + _ appmodule.AppModule = (*AppModule)(nil) +) // AppModuleBasic defines the basic application module used by the solo machine light client. // Only the RegisterInterfaces function needs to be implemented. All other function perform @@ -30,6 +35,12 @@ func (AppModuleBasic) Name() string { return ModuleName } +// IsOnePerModuleType implements the depinject.OnePerModuleType interface. +func (AppModule) IsOnePerModuleType() {} + +// IsAppModule implements the appmodule.AppModule interface. +func (AppModule) IsAppModule() {} + // RegisterLegacyAminoCodec performs a no-op. The solo machine client does not support amino. func (AppModuleBasic) RegisterLegacyAminoCodec(*codec.LegacyAmino) {} @@ -61,3 +72,13 @@ func (AppModuleBasic) GetTxCmd() *cobra.Command { func (AppModuleBasic) GetQueryCmd() *cobra.Command { return nil } + +// AppModule is the application module for the Solomachine client module +type AppModule struct { + AppModuleBasic +} + +// NewAppModule creates a new Solomachine client module +func NewAppModule() AppModule { + return AppModule{} +} diff --git a/modules/light-clients/07-tendermint/client_state_test.go b/modules/light-clients/07-tendermint/client_state_test.go index 10413f1228e..56a7c0925ed 100644 --- a/modules/light-clients/07-tendermint/client_state_test.go +++ b/modules/light-clients/07-tendermint/client_state_test.go @@ -71,6 +71,71 @@ func (suite *TendermintTestSuite) TestStatus() { } } +func (suite *TendermintTestSuite) TestGetTimestampAtHeight() { + var ( + path *ibctesting.Path + height exported.Height + ) + expectedTimestamp := time.Unix(1, 0) + + testCases := []struct { + name string + malleate func() + expErr error + }{ + { + "success", + func() {}, + nil, + }, + { + "failure: consensus state not found for height", + func() { + clientState := path.EndpointA.GetClientState() + height = clientState.GetLatestHeight().Increment() + }, + clienttypes.ErrConsensusStateNotFound, + }, + } + + for _, tc := range testCases { + tc := tc + suite.Run(tc.name, func() { + suite.SetupTest() + + path = ibctesting.NewPath(suite.chainA, suite.chainB) + suite.coordinator.SetupClients(path) + + clientState := path.EndpointA.GetClientState() + height = clientState.GetLatestHeight() + + store := suite.chainA.App.GetIBCKeeper().ClientKeeper.ClientStore(suite.chainA.GetContext(), path.EndpointA.ClientID) + + // grab consensusState from store and update with a predefined timestamp + consensusState := path.EndpointA.GetConsensusState(height) + tmConsensusState, ok := consensusState.(*ibctm.ConsensusState) + suite.Require().True(ok) + + tmConsensusState.Timestamp = expectedTimestamp + path.EndpointA.SetConsensusState(tmConsensusState, height) + + tc.malleate() + + timestamp, err := clientState.GetTimestampAtHeight(suite.chainA.GetContext(), store, suite.chainA.Codec, height) + + expPass := tc.expErr == nil + if expPass { + suite.Require().NoError(err) + + expectedTimestamp := uint64(expectedTimestamp.UnixNano()) + suite.Require().Equal(expectedTimestamp, timestamp) + } else { + suite.Require().ErrorIs(err, tc.expErr) + } + }) + } +} + func (suite *TendermintTestSuite) TestValidate() { testCases := []struct { name string diff --git a/modules/light-clients/07-tendermint/module.go b/modules/light-clients/07-tendermint/module.go index 7e495faf8be..3ff358884e0 100644 --- a/modules/light-clients/07-tendermint/module.go +++ b/modules/light-clients/07-tendermint/module.go @@ -6,13 +6,18 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" + "cosmossdk.io/core/appmodule" + "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/types/module" ) -var _ module.AppModuleBasic = (*AppModuleBasic)(nil) +var ( + _ module.AppModuleBasic = (*AppModuleBasic)(nil) + _ appmodule.AppModule = (*AppModule)(nil) +) // AppModuleBasic defines the basic application module used by the tendermint light client. // Only the RegisterInterfaces function needs to be implemented. All other function perform @@ -30,6 +35,12 @@ func (AppModuleBasic) Name() string { return ModuleName } +// IsOnePerModuleType implements the depinject.OnePerModuleType interface. +func (AppModule) IsOnePerModuleType() {} + +// IsAppModule implements the appmodule.AppModule interface. +func (AppModule) IsAppModule() {} + // RegisterLegacyAminoCodec performs a no-op. The Tendermint client does not support amino. func (AppModuleBasic) RegisterLegacyAminoCodec(*codec.LegacyAmino) {} @@ -61,3 +72,13 @@ func (AppModuleBasic) GetTxCmd() *cobra.Command { func (AppModuleBasic) GetQueryCmd() *cobra.Command { return nil } + +// AppModule is the application module for the Tendermint client module +type AppModule struct { + AppModuleBasic +} + +// NewAppModule creates a new Tendermint client module +func NewAppModule() AppModule { + return AppModule{} +} diff --git a/modules/light-clients/08-wasm/go.mod b/modules/light-clients/08-wasm/go.mod index e00cb682b69..257769b6dfe 100644 --- a/modules/light-clients/08-wasm/go.mod +++ b/modules/light-clients/08-wasm/go.mod @@ -8,22 +8,23 @@ replace github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.2021 require ( cosmossdk.io/api v0.7.2 - cosmossdk.io/client/v2 v2.0.0-20231025092924-0c4c24bb3b14 + cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158 cosmossdk.io/collections v0.4.0 cosmossdk.io/core v0.11.0 cosmossdk.io/errors v1.0.0 cosmossdk.io/log v1.2.1 - cosmossdk.io/store v1.0.0-rc.0 - cosmossdk.io/tools/confix v0.0.0-20231006102024-9af83f4b9295 - cosmossdk.io/x/circuit v0.0.0-20231006102024-9af83f4b9295 - cosmossdk.io/x/evidence v0.0.0-20231006102024-9af83f4b9295 - cosmossdk.io/x/feegrant v0.0.0-20231006102024-9af83f4b9295 + cosmossdk.io/math v1.1.3-rc.1 + cosmossdk.io/store v1.0.0 + cosmossdk.io/tools/confix v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158 + cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158 cosmossdk.io/x/tx v0.11.0 - cosmossdk.io/x/upgrade v0.0.0-20231006102024-9af83f4b9295 + cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158 github.com/CosmWasm/wasmvm v1.4.1 github.com/cometbft/cometbft v0.38.0 github.com/cosmos/cosmos-db v1.0.0 - github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231025125555-301ceca874dc + github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158 github.com/cosmos/gogoproto v1.4.11 github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6 github.com/cosmos/ibc-go/v8 v8.0.0 @@ -44,7 +45,6 @@ require ( cloud.google.com/go/iam v1.1.2 // indirect cloud.google.com/go/storage v1.30.1 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect - cosmossdk.io/math v1.1.3-rc.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect @@ -70,7 +70,7 @@ require ( github.com/cosmos/cosmos-proto v1.0.0-beta.3 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/iavl v1.0.0-rc.1 // indirect + github.com/cosmos/iavl v1.0.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.2 // indirect github.com/creachadair/atomicfile v0.3.1 // indirect @@ -116,7 +116,7 @@ require ( github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-metrics v0.5.1 // indirect - github.com/hashicorp/go-plugin v1.4.10 // indirect + github.com/hashicorp/go-plugin v1.5.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v1.0.2 // indirect @@ -138,7 +138,7 @@ require ( github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/minio/highwayhash v1.0.2 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -151,14 +151,14 @@ require ( github.com/petermattis/goid v0.0.0-20230808133559-b036b712a89b // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_golang v1.16.0 // indirect - github.com/prometheus/client_model v0.4.0 // indirect + github.com/prometheus/client_golang v1.17.0 // indirect + github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect github.com/prometheus/common v0.44.0 // indirect github.com/prometheus/procfs v0.11.1 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/rs/cors v1.8.3 // indirect - github.com/rs/zerolog v1.30.0 // indirect + github.com/rs/zerolog v1.31.0 // indirect github.com/sagikazarmark/locafero v0.3.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect @@ -168,7 +168,7 @@ require ( github.com/subosito/gotenv v1.6.0 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect github.com/tendermint/go-amino v0.16.0 // indirect - github.com/tidwall/btree v1.6.0 // indirect + github.com/tidwall/btree v1.7.0 // indirect github.com/ulikunitz/xz v0.5.11 // indirect github.com/zondax/hid v0.9.2 // indirect github.com/zondax/ledger-go v0.14.3 // indirect diff --git a/modules/light-clients/08-wasm/go.sum b/modules/light-clients/08-wasm/go.sum index 032d57bb6ba..b5a3ddba795 100644 --- a/modules/light-clients/08-wasm/go.sum +++ b/modules/light-clients/08-wasm/go.sum @@ -189,8 +189,8 @@ cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1V cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= cosmossdk.io/api v0.7.2 h1:BO3i5fvKMKvfaUiMkCznxViuBEfyWA/k6w2eAF6q1C4= cosmossdk.io/api v0.7.2/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= -cosmossdk.io/client/v2 v2.0.0-20231025092924-0c4c24bb3b14 h1:a73ftLNK920OitGqJDUOaRJpG/aqDIjzTFYLCrmkh4g= -cosmossdk.io/client/v2 v2.0.0-20231025092924-0c4c24bb3b14/go.mod h1:sEokappqu0aTViimwanX5TJvcX04wXfUwPYRV6FIgko= +cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158 h1:PRUfG/T5vwn+g8fm9eRmnIit4RsoQsIeoQv6uMtyceI= +cosmossdk.io/client/v2 v2.0.0-20231026141021-0469fc17e158/go.mod h1:sEokappqu0aTViimwanX5TJvcX04wXfUwPYRV6FIgko= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= cosmossdk.io/collections v0.4.0/go.mod h1:oa5lUING2dP+gdDquow+QjlF45eL1t4TJDypgGd+tv0= cosmossdk.io/core v0.11.0 h1:vtIafqUi+1ZNAE/oxLOQQ7Oek2n4S48SWLG8h/+wdbo= @@ -203,20 +203,20 @@ cosmossdk.io/log v1.2.1 h1:Xc1GgTCicniwmMiKwDxUjO4eLhPxoVdI9vtMW8Ti/uk= cosmossdk.io/log v1.2.1/go.mod h1:GNSCc/6+DhFIj1aLn/j7Id7PaO8DzNylUZoOYBL9+I4= cosmossdk.io/math v1.1.3-rc.1 h1:NebCNWDqb1MJRNfvxr4YY7d8FSYgkuB3L75K6xvM+Zo= cosmossdk.io/math v1.1.3-rc.1/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= -cosmossdk.io/store v1.0.0-rc.0 h1:9DwOjuUYxDtYxn/REkTxGQAmxlIGfRroB35MQ8TrxF4= -cosmossdk.io/store v1.0.0-rc.0/go.mod h1:FtBDOJmwtOZfmKKF65bKZbTYgS3bDNjjo3nP76dAegk= -cosmossdk.io/tools/confix v0.0.0-20231006102024-9af83f4b9295 h1:21+l0PO4Me8YnRO/M+8tmJKeiavBdov9SL0DhGcC4+0= -cosmossdk.io/tools/confix v0.0.0-20231006102024-9af83f4b9295/go.mod h1:Lnx3qhgB3L1COaykHzoJC1P3X10XTxLMnfJr5NHr6GM= -cosmossdk.io/x/circuit v0.0.0-20231006102024-9af83f4b9295 h1:eRF9F/7l1o1Fni5wkeF+7pt1FDZMshWMLNDgPXCZtzY= -cosmossdk.io/x/circuit v0.0.0-20231006102024-9af83f4b9295/go.mod h1:syo6njNlaE1KLXRFd1gZQr/7pMstANp2zMqVUC+u4h4= -cosmossdk.io/x/evidence v0.0.0-20231006102024-9af83f4b9295 h1:QNB60YjgL++icMGthEwvlC4t+NA6J8aIa9iu5vFoHhY= -cosmossdk.io/x/evidence v0.0.0-20231006102024-9af83f4b9295/go.mod h1:NnXh/dJmM9Lc/cLqase2tD6Sp1kU2K3iip/4fIMafw8= -cosmossdk.io/x/feegrant v0.0.0-20231006102024-9af83f4b9295 h1:Tb4Y4U4H980eORdzvNmBc+kS/1CHNhgcgmFHsPXh11k= -cosmossdk.io/x/feegrant v0.0.0-20231006102024-9af83f4b9295/go.mod h1:nnIKdJKz1Os+sOlJHrjgMOh1WAlle0aV7Y+0x434OyI= +cosmossdk.io/store v1.0.0 h1:6tnPgTpTSIskaTmw/4s5C9FARdgFflycIc9OX8i1tOI= +cosmossdk.io/store v1.0.0/go.mod h1:ABMprwjvx6IpMp8l06TwuMrj6694/QP5NIW+X6jaTYc= +cosmossdk.io/tools/confix v0.0.0-20231026141021-0469fc17e158 h1:JUU+qAuoT7koMP3Au8uj0pJggSPfyNqUBxBQOwLE3Js= +cosmossdk.io/tools/confix v0.0.0-20231026141021-0469fc17e158/go.mod h1:Dq174Qyh5wJaJtsyoQOKeDWFBF7i95b7fRAYokzMYmo= +cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158 h1:w1WHpy0McqngZXmpYamLfwFytT5lY/EfnDrJIgLeG8w= +cosmossdk.io/x/circuit v0.0.0-20231026141021-0469fc17e158/go.mod h1:xqLjv08l2XgIZLOuNUQpdxSeggQXopbq1PV6ZfHOyOE= +cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158 h1:vXroToZDOIqOxsLxkmFjuPaKr2HlDmhD9Md2eT9abp0= +cosmossdk.io/x/evidence v0.0.0-20231026141021-0469fc17e158/go.mod h1:N//0zHq1MoGysusHeZC/LmH0Lw3u55QR/mUr5UMzCSw= +cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158 h1:/Vvseql0IDcoBquKcRopFt4wKEVFC8EQUOGG79BS+Zo= +cosmossdk.io/x/feegrant v0.0.0-20231026141021-0469fc17e158/go.mod h1:vmiW+2cIfGZULh6ReN03sawbhn8UUGrttNMxiIiduKI= cosmossdk.io/x/tx v0.11.0 h1:Ak2LIC06bXqPbpMIEorkQbwVddRvRys1sL3Cjm+KPfs= cosmossdk.io/x/tx v0.11.0/go.mod h1:tzuC7JlfGivYuIO32JbvvY3Ft9s6FK1+r0/nGHiHwtM= -cosmossdk.io/x/upgrade v0.0.0-20231006102024-9af83f4b9295 h1:S13Eg5klPdHtWlDF5R5cou9mgF03D+mHmBBNlP1XDPs= -cosmossdk.io/x/upgrade v0.0.0-20231006102024-9af83f4b9295/go.mod h1:TiRRu0bfrDCN4suS/gYrM5yDitmuZyyjV92P6tA/IFs= +cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158 h1:pxrCcE+kVVhfEwrajiM127XXBsDmqvSO61FwGt68KPY= +cosmossdk.io/x/upgrade v0.0.0-20231026141021-0469fc17e158/go.mod h1:OGcabvCst54+IOZQodvOAbAxEhhlhk6mvGQV8zRh7wI= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= @@ -355,8 +355,8 @@ github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0 github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231025125555-301ceca874dc h1:ky7Vtoph5bRNfokq9iKO/FWntK7Mc9AHiRzzgTmTpRE= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231025125555-301ceca874dc/go.mod h1:FxbXMhS/Fz47QeviJ3yi1JgB0qCzgclMQ8s7MjD/I88= +github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158 h1:2qUCJkcz2X1hveQuhIYH8M5BPjFpeayhmVwJ7gPWFmM= +github.com/cosmos/cosmos-sdk v0.50.0-rc.1.0.20231026141021-0469fc17e158/go.mod h1:FxbXMhS/Fz47QeviJ3yi1JgB0qCzgclMQ8s7MjD/I88= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE= @@ -364,8 +364,8 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g= github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y= -github.com/cosmos/iavl v1.0.0-rc.1 h1:5+73BEWW1gZOIUJKlk/1fpD4lOqqeFBA8KuV+NpkCpU= -github.com/cosmos/iavl v1.0.0-rc.1/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= +github.com/cosmos/iavl v1.0.0 h1:bw6t0Mv/mVCJvlMTOPHWLs5uUE3BRBfVWCRelOzl+so= +github.com/cosmos/iavl v1.0.0/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6 h1:K3lWRr/WJkPdSWErxhQL1x0CTnJyONHwJSyaTefGDf0= github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6/go.mod h1:DBP9jg+NoXU2buK5QDyf87lMjcQYN8qFlByNeNJmuhs= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= @@ -663,8 +663,8 @@ github.com/hashicorp/go-metrics v0.5.1 h1:rfPwUqFU6uZXNvGl4hzjY8LEBsqFVU4si1H9/H github.com/hashicorp/go-metrics v0.5.1/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-plugin v1.4.10 h1:xUbmA4jC6Dq163/fWcp8P3JuHilrHHMLNRxzGQJ9hNk= -github.com/hashicorp/go-plugin v1.4.10/go.mod h1:6/1TEzT0eQznvI/gV2CM29DLSkAK/e58mUWKVsPaph0= +github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= +github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= @@ -709,8 +709,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= -github.com/jhump/protoreflect v1.15.2 h1:7YppbATX94jEt9KLAc5hICx4h6Yt3SaavhQRsIUEHP0= -github.com/jhump/protoreflect v1.15.2/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= +github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFonzls= +github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= @@ -780,8 +780,9 @@ github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNx github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= @@ -894,16 +895,16 @@ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5Fsn github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= -github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= +github.com/prometheus/client_golang v1.17.0 h1:rl2sfwZMtSthVU752MqfjQozy7blglC+1SOtjMAMh+Q= +github.com/prometheus/client_golang v1.17.0/go.mod h1:VeL+gMmOAxkS2IqfCq0ZmHSL+LjWfWDUmp1mBz9JgUY= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= -github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= +github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 h1:v7DLqVdK4VrYkVD5diGdl4sxJurKJEMnODWRJlxV9oM= +github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= @@ -933,8 +934,8 @@ github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo= github.com/rs/cors v1.8.3/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/zerolog v1.30.0 h1:SymVODrcRsaRaSInD9yQtKbtWqwsfoPcRff/oRXLj4c= -github.com/rs/zerolog v1.30.0/go.mod h1:/tk+P47gFdPXq4QYjvCmT5/Gsug2nagsFWBWhAiSi1w= +github.com/rs/zerolog v1.31.0 h1:FcTR3NnLWW+NnTwwhFWiJSZr4ECLpqCm6QsEnyvbV4A= +github.com/rs/zerolog v1.31.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -1007,8 +1008,8 @@ github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70 github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= -github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= +github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= +github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= @@ -1325,6 +1326,7 @@ golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= diff --git a/proto/ibc/applications/fee/v1/tx.proto b/proto/ibc/applications/fee/v1/tx.proto index cc037aed2e2..e59dddfd17a 100644 --- a/proto/ibc/applications/fee/v1/tx.proto +++ b/proto/ibc/applications/fee/v1/tx.proto @@ -91,7 +91,7 @@ message MsgPayPacketFee { option (gogoproto.goproto_getters) = false; // fee encapsulates the recv, ack and timeout fees associated with an IBC packet - ibc.applications.fee.v1.Fee fee = 1 [(gogoproto.nullable) = false]; + ibc.applications.fee.v1.Fee fee = 1 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true]; // the source port unique identifier string source_port_id = 2; // the source channel unique identifer @@ -113,9 +113,9 @@ message MsgPayPacketFeeAsync { option (gogoproto.goproto_getters) = false; // unique packet identifier comprised of the channel ID, port ID and sequence - ibc.core.channel.v1.PacketId packet_id = 1 [(gogoproto.nullable) = false]; + ibc.core.channel.v1.PacketId packet_id = 1 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true]; // the packet fee associated with a particular IBC packet - PacketFee packet_fee = 2 [(gogoproto.nullable) = false]; + PacketFee packet_fee = 2 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true]; } // MsgPayPacketFeeAsyncResponse defines the response type for the PayPacketFeeAsync rpc diff --git a/proto/ibc/applications/transfer/v1/tx.proto b/proto/ibc/applications/transfer/v1/tx.proto index 477865f177b..42c70d3bedc 100644 --- a/proto/ibc/applications/transfer/v1/tx.proto +++ b/proto/ibc/applications/transfer/v1/tx.proto @@ -36,14 +36,14 @@ message MsgTransfer { // the channel by which the packet will be sent string source_channel = 2; // the tokens to be transferred - cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false, (amino.encoding) = "legacy_coin"]; + cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true]; // the sender address string sender = 4; // the recipient address on the destination chain string receiver = 5; // Timeout height relative to the current block height. // The timeout is disabled when set to 0. - ibc.core.client.v1.Height timeout_height = 6 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height timeout_height = 6 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true]; // Timeout timestamp in absolute nanoseconds since unix epoch. // The timeout is disabled when set to 0. uint64 timeout_timestamp = 7; diff --git a/scripts/init-simapp.sh b/scripts/init-simapp.sh new file mode 100755 index 00000000000..722a86d2a52 --- /dev/null +++ b/scripts/init-simapp.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +SIMD_BIN=${SIMD_BIN:=$(which simd 2>/dev/null)} + +if [ -z "$SIMD_BIN" ]; then echo "SIMD_BIN is not set. Make sure to run make install before"; exit 1; fi +echo "using $SIMD_BIN" +if [ -d "$($SIMD_BIN config home)" ]; then rm -r $($SIMD_BIN config home); fi +$SIMD_BIN config set client chain-id simapp-1 +$SIMD_BIN config set client keyring-backend test +$SIMD_BIN config set app api.enable true +$SIMD_BIN keys add alice +$SIMD_BIN keys add bob +$SIMD_BIN init test --chain-id simapp-1 +$SIMD_BIN genesis add-genesis-account alice 5000000000stake --keyring-backend test +$SIMD_BIN genesis add-genesis-account bob 5000000000stake --keyring-backend test +$SIMD_BIN genesis gentx alice 1000000stake --chain-id simapp-1 +$SIMD_BIN genesis collect-gentxs \ No newline at end of file diff --git a/testing/mock/mock.go b/testing/mock/mock.go index 26365bf177b..96da67a25c7 100644 --- a/testing/mock/mock.go +++ b/testing/mock/mock.go @@ -7,6 +7,8 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" + "cosmossdk.io/core/appmodule" + "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" @@ -46,7 +48,12 @@ var ( MockApplicationCallbackError error = &applicationCallbackError{} ) -var _ porttypes.IBCModule = (*IBCModule)(nil) +var ( + _ module.AppModuleBasic = (*AppModuleBasic)(nil) + _ appmodule.AppModule = (*AppModule)(nil) + + _ porttypes.IBCModule = (*IBCModule)(nil) +) // Expected Interface // PortKeeper defines the expected IBC port keeper @@ -69,6 +76,12 @@ func (AppModuleBasic) Name() string { return ModuleName } +// IsOnePerModuleType implements the depinject.OnePerModuleType interface. +func (AppModule) IsOnePerModuleType() {} + +// IsAppModule implements the appmodule.AppModule interface. +func (AppModule) IsAppModule() {} + // RegisterLegacyAminoCodec implements AppModuleBasic interface. func (AppModuleBasic) RegisterLegacyAminoCodec(*codec.LegacyAmino) {} diff --git a/testing/simapp/app.go b/testing/simapp/app.go index cd275c7d9db..754353c6ba2 100644 --- a/testing/simapp/app.go +++ b/testing/simapp/app.go @@ -595,8 +595,8 @@ func NewSimApp( transfer.NewAppModule(app.TransferKeeper), ibcfee.NewAppModule(app.IBCFeeKeeper), ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper), - ibctm.AppModuleBasic{}, - solomachine.AppModuleBasic{}, + ibctm.NewAppModule(), + solomachine.NewAppModule(), mockModule, ) @@ -891,11 +891,8 @@ func (app *SimApp) AutoCliOpts() autocli.AppOptions { } return autocli.AppOptions{ - Modules: modules, - ModuleOptions: runtimeservices.ExtractAutoCLIOptions(app.ModuleManager.Modules), - AddressCodec: authcodec.NewBech32Codec(sdk.GetConfig().GetBech32AccountAddrPrefix()), - ValidatorAddressCodec: authcodec.NewBech32Codec(sdk.GetConfig().GetBech32ValidatorAddrPrefix()), - ConsensusAddressCodec: authcodec.NewBech32Codec(sdk.GetConfig().GetBech32ConsensusAddrPrefix()), + Modules: modules, + ModuleOptions: runtimeservices.ExtractAutoCLIOptions(app.ModuleManager.Modules), } } diff --git a/testing/simapp/simd/cmd/root.go b/testing/simapp/simd/cmd/root.go index 05b1e64fee6..58990794d06 100644 --- a/testing/simapp/simd/cmd/root.go +++ b/testing/simapp/simd/cmd/root.go @@ -9,6 +9,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" + "cosmossdk.io/client/v2/autocli" "cosmossdk.io/log" confixcmd "cosmossdk.io/tools/confix/cmd" @@ -21,6 +22,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/rpc" "github.com/cosmos/cosmos-sdk/client/snapshot" "github.com/cosmos/cosmos-sdk/codec" + addresscodec "github.com/cosmos/cosmos-sdk/codec/address" + "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/server" serverconfig "github.com/cosmos/cosmos-sdk/server/config" servertypes "github.com/cosmos/cosmos-sdk/server/types" @@ -84,20 +87,22 @@ func NewRootCmd() *cobra.Command { } // This needs to go after ReadFromClientConfig, as that function - // sets the RPC client needed for SIGN_MODE_TEXTUAL. - enabledSignModes := append(tx.DefaultSignModes, signing.SignMode_SIGN_MODE_TEXTUAL) //nolint:gocritic // we know we aren't appending to the same slice - txConfigOpts := tx.ConfigOptions{ - EnabledSignModes: enabledSignModes, - TextualCoinMetadataQueryFn: txmodule.NewGRPCCoinMetadataQueryFn(initClientCtx), + // sets the RPC client needed for SIGN_MODE_TEXTUAL. This sign mode + // is only available if the client is online. + if !initClientCtx.Offline { + txConfigOpts := tx.ConfigOptions{ + EnabledSignModes: append(tx.DefaultSignModes, signing.SignMode_SIGN_MODE_TEXTUAL), + TextualCoinMetadataQueryFn: txmodule.NewGRPCCoinMetadataQueryFn(initClientCtx), + } + txConfigWithTextual, err := tx.NewTxConfigWithOptions( + codec.NewProtoCodec(encodingConfig.InterfaceRegistry), + txConfigOpts, + ) + if err != nil { + return err + } + initClientCtx = initClientCtx.WithTxConfig(txConfigWithTextual) } - txConfigWithTextual, err := tx.NewTxConfigWithOptions( - codec.NewProtoCodec(encodingConfig.InterfaceRegistry), - txConfigOpts, - ) - if err != nil { - return err - } - initClientCtx = initClientCtx.WithTxConfig(txConfigWithTextual) if err := client.SetCmdClientContextHandler(initClientCtx, cmd); err != nil { return err @@ -112,13 +117,38 @@ func NewRootCmd() *cobra.Command { initRootCmd(rootCmd, encodingConfig, tempApp.BasicModuleManager) - if err := tempApp.AutoCliOpts().EnhanceRootCommand(rootCmd); err != nil { + autoCliOpts, err := enrichAutoCliOpts(tempApp.AutoCliOpts(), initClientCtx) + if err != nil { + panic(err) + } + + if err := autoCliOpts.EnhanceRootCommand(rootCmd); err != nil { panic(err) } return rootCmd } +func enrichAutoCliOpts(autoCliOpts autocli.AppOptions, clientCtx client.Context) (autocli.AppOptions, error) { + autoCliOpts.AddressCodec = addresscodec.NewBech32Codec(sdk.GetConfig().GetBech32AccountAddrPrefix()) + autoCliOpts.ValidatorAddressCodec = addresscodec.NewBech32Codec(sdk.GetConfig().GetBech32ValidatorAddrPrefix()) + autoCliOpts.ConsensusAddressCodec = addresscodec.NewBech32Codec(sdk.GetConfig().GetBech32ConsensusAddrPrefix()) + + var err error + clientCtx, err = config.ReadFromClientConfig(clientCtx) + if err != nil { + return autocli.AppOptions{}, err + } + + autoCliOpts.ClientCtx = clientCtx + autoCliOpts.Keyring, err = keyring.NewAutoCLIKeyring(clientCtx.Keyring) + if err != nil { + return autocli.AppOptions{}, err + } + + return autoCliOpts, nil +} + // initCometBFTConfig helps to override default CometBFT Config values. // return cmtcfg.DefaultConfig if no custom configuration is required for the application. func initCometBFTConfig() *cmtcfg.Config { diff --git a/testing/utils.go b/testing/utils.go index 302d0e70822..a1178929e3f 100644 --- a/testing/utils.go +++ b/testing/utils.go @@ -1,6 +1,7 @@ package ibctesting import ( + "math/rand" "testing" "github.com/stretchr/testify/require" @@ -23,3 +24,12 @@ func ApplyValSetChanges(tb testing.TB, valSet *tmtypes.ValidatorSet, valUpdates return newVals } + +// GenerateString generates a random string of the given length in bytes +func GenerateString(length uint) string { + bytes := make([]byte, length) + for i := range bytes { + bytes[i] = charset[rand.Intn(len(charset))] + } + return string(bytes) +} diff --git a/testing/values.go b/testing/values.go index 2741b1a5fed..115f3b39281 100644 --- a/testing/values.go +++ b/testing/values.go @@ -43,7 +43,8 @@ const ( Title = "title" Description = "description" - LongString = "LoremipsumdolorsitameconsecteturadipiscingeliseddoeiusmodtemporincididuntutlaboreetdoloremagnaaliquUtenimadminimveniamquisnostrudexercitationullamcolaborisnisiutaliquipexeacommodoconsequDuisauteiruredolorinreprehenderitinvoluptateelitsseillumoloreufugiatnullaariaturEcepteurintoccaectupidatatonroidentuntnulpauifficiaeseruntmollitanimidestlaborum" + // character set used for generating a random string in GenerateString + charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" ) var (