diff --git a/modules/apps/27-interchain-accounts/types/packet_test.go b/modules/apps/27-interchain-accounts/types/packet_test.go index b8dd1043743..3f55c1f45a8 100644 --- a/modules/apps/27-interchain-accounts/types/packet_test.go +++ b/modules/apps/27-interchain-accounts/types/packet_test.go @@ -7,8 +7,6 @@ import ( ibctesting "github.com/cosmos/ibc-go/v8/testing" ) -var largeMemo = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum" - func (suite *TypesTestSuite) TestValidateBasic() { testCases := []struct { name string @@ -64,7 +62,7 @@ func (suite *TypesTestSuite) TestValidateBasic() { types.InterchainAccountPacketData{ Type: types.EXECUTE_TX, Data: []byte("data"), - Memo: largeMemo, + Memo: ibctesting.GenerateString(types.MaxMemoCharLength + 1), }, false, },