@@ -66,7 +66,8 @@ func (suite *KeeperTestSuite) TestQueryIncentivizedPackets() {
66
66
tc .malleate () // malleate mutates test data
67
67
68
68
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
69
- res , err := suite .queryClient .IncentivizedPackets (ctx , req )
69
+
70
+ res , err := suite .chainA .GetSimApp ().IBCFeeKeeper .IncentivizedPackets (ctx , req )
70
71
71
72
if tc .expPass {
72
73
suite .Require ().NoError (err )
@@ -125,7 +126,7 @@ func (suite *KeeperTestSuite) TestQueryIncentivizedPacket() {
125
126
tc .malleate () // malleate mutates test data
126
127
127
128
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
128
- res , err := suite .queryClient .IncentivizedPacket (ctx , req )
129
+ res , err := suite .chainA . GetSimApp (). IBCFeeKeeper .IncentivizedPacket (ctx , req )
129
130
130
131
if tc .expPass {
131
132
suite .Require ().NoError (err )
@@ -219,7 +220,7 @@ func (suite *KeeperTestSuite) TestQueryIncentivizedPacketsForChannel() {
219
220
tc .malleate ()
220
221
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
221
222
222
- res , err := suite .queryClient .IncentivizedPacketsForChannel (ctx , req )
223
+ res , err := suite .chainA . GetSimApp (). IBCFeeKeeper .IncentivizedPacketsForChannel (ctx , req )
223
224
224
225
if tc .expPass {
225
226
suite .Require ().NoError (err )
@@ -275,7 +276,7 @@ func (suite *KeeperTestSuite) TestQueryTotalRecvFees() {
275
276
tc .malleate ()
276
277
277
278
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
278
- res , err := suite .queryClient .TotalRecvFees (ctx , req )
279
+ res , err := suite .chainA . GetSimApp (). IBCFeeKeeper .TotalRecvFees (ctx , req )
279
280
280
281
if tc .expPass {
281
282
suite .Require ().NoError (err )
@@ -334,7 +335,7 @@ func (suite *KeeperTestSuite) TestQueryTotalAckFees() {
334
335
tc .malleate ()
335
336
336
337
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
337
- res , err := suite .queryClient .TotalAckFees (ctx , req )
338
+ res , err := suite .chainA . GetSimApp (). IBCFeeKeeper .TotalAckFees (ctx , req )
338
339
339
340
if tc .expPass {
340
341
suite .Require ().NoError (err )
@@ -393,7 +394,7 @@ func (suite *KeeperTestSuite) TestQueryTotalTimeoutFees() {
393
394
tc .malleate ()
394
395
395
396
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
396
- res , err := suite .queryClient .TotalTimeoutFees (ctx , req )
397
+ res , err := suite .chainA . GetSimApp (). IBCFeeKeeper .TotalTimeoutFees (ctx , req )
397
398
398
399
if tc .expPass {
399
400
suite .Require ().NoError (err )
@@ -460,7 +461,7 @@ func (suite *KeeperTestSuite) TestQueryPayee() {
460
461
tc .malleate ()
461
462
462
463
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
463
- res , err := suite .queryClient .Payee (ctx , req )
464
+ res , err := suite .chainA . GetSimApp (). IBCFeeKeeper .Payee (ctx , req )
464
465
465
466
if tc .expPass {
466
467
suite .Require ().NoError (err )
@@ -523,7 +524,7 @@ func (suite *KeeperTestSuite) TestQueryCounterpartyPayee() {
523
524
tc .malleate ()
524
525
525
526
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
526
- res , err := suite .queryClient .CounterpartyPayee (ctx , req )
527
+ res , err := suite .chainA . GetSimApp (). IBCFeeKeeper .CounterpartyPayee (ctx , req )
527
528
528
529
if tc .expPass {
529
530
suite .Require ().NoError (err )
@@ -630,7 +631,7 @@ func (suite *KeeperTestSuite) TestQueryFeeEnabledChannels() {
630
631
tc .malleate ()
631
632
632
633
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
633
- res , err := suite .queryClient .FeeEnabledChannels (ctx , req )
634
+ res , err := suite .chainA . GetSimApp (). IBCFeeKeeper .FeeEnabledChannels (ctx , req )
634
635
635
636
if tc .expPass {
636
637
suite .Require ().NoError (err )
@@ -679,7 +680,7 @@ func (suite *KeeperTestSuite) TestQueryFeeEnabledChannel() {
679
680
tc .malleate ()
680
681
681
682
ctx := sdk .WrapSDKContext (suite .chainA .GetContext ())
682
- res , err := suite .queryClient .FeeEnabledChannel (ctx , req )
683
+ res , err := suite .chainA . GetSimApp (). IBCFeeKeeper .FeeEnabledChannel (ctx , req )
683
684
684
685
if tc .expPass {
685
686
suite .Require ().NoError (err )
0 commit comments