From c782d85d6cb80afe530a6e2ae44d24ee1e1417b8 Mon Sep 17 00:00:00 2001 From: Spoorthi Satheesha <9302666+spoo-bar@users.noreply.github.com> Date: Fri, 19 Apr 2024 11:11:33 +0530 Subject: [PATCH] fixing test --- CHANGELOG.md | 1 + x/cwerrors/keeper/msg_server_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25aa66e6..8cb95300 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,7 @@ Contains all the PRs that improved the code without changing the behaviors. - [#539](https://github.com/archway-network/archway/pull/539) - Remediations for x/callback audit - [#552](https://github.com/archway-network/archway/pull/552) - Fix issue with x/callback callback error code was not identified correctly when setting cwerrors - [#559](https://github.com/archway-network/archway/pull/559) - Fixing wrong bond denom being considered for x/callback and x/cwerrors fees +- [#562](https://github.com/archway-network/archway/pull/562) - Fixing the account from which x/cwerrors subscription fees are deducted ## [v6.0.0](https://github.com/archway-network/archway/releases/tag/v6.0.0) diff --git a/x/cwerrors/keeper/msg_server_test.go b/x/cwerrors/keeper/msg_server_test.go index a5380b57..4448111f 100644 --- a/x/cwerrors/keeper/msg_server_test.go +++ b/x/cwerrors/keeper/msg_server_test.go @@ -90,7 +90,7 @@ func (s *KeeperTestSuite) TestSubscribeToError() { testCase: "FAIL: account doesnt have enough balance", input: func() *types.MsgSubscribeToError { return &types.MsgSubscribeToError{ - Sender: contractAdminAcc.Address.String(), + Sender: contractAddr.String(), ContractAddress: contractAddr.String(), Fee: sdk.NewInt64Coin(sdk.DefaultBondDenom, 101), }