github.com/okex/exchain@v1.8.0/libs/ibc-go/modules/apps/27-interchain-accounts/host/keeper/grpc_query_test.go (about) 1 package keeper_test 2 3 import ( 4 sdk "github.com/okex/exchain/libs/cosmos-sdk/types" 5 "github.com/okex/exchain/libs/ibc-go/modules/apps/27-interchain-accounts/host/types" 6 ) 7 8 func (suite *KeeperTestSuite) TestQueryParams() { 9 ctx := sdk.WrapSDKContext(suite.chainA.GetContext()) 10 expParams := types.DefaultParams() 11 res, _ := suite.chainA.GetSimApp().ICAHostKeeper.Params(ctx, &types.QueryParamsRequest{}) 12 suite.Require().Equal(&expParams, res.Params) 13 }