Skip to content

Commit

Permalink
Add t.Helper() to new funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
ysv committed Jul 25, 2023
1 parent cf9e821 commit 240cbdc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration-tests/coreum.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ func (c CoreumChain) CreateValidator(ctx context.Context, t *testing.T, stakingA

// QueryAssetFTParams queries for asset/ft module params and returns them.
func (c CoreumChain) QueryAssetFTParams(ctx context.Context, t *testing.T) assetfttypes.Params {
t.Helper()

queryClient := assetfttypes.NewQueryClient(c.ClientContext)
resp, err := queryClient.Params(ctx, &assetfttypes.QueryParamsRequest{})
require.NoError(t, err)
Expand All @@ -192,6 +194,8 @@ func (c CoreumChain) QueryAssetFTParams(ctx context.Context, t *testing.T) asset

// QueryAssetNFTParams queries for asset/nft module params and returns them.
func (c CoreumChain) QueryAssetNFTParams(ctx context.Context, t *testing.T) assetnfttypes.Params {
t.Helper()

queryClient := assetnfttypes.NewQueryClient(c.ClientContext)
resp, err := queryClient.Params(ctx, &assetnfttypes.QueryParamsRequest{})
require.NoError(t, err)
Expand Down

0 comments on commit 240cbdc

Please sign in to comment.