Skip to content

Commit

Permalink
distribution tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Apr 3, 2023
1 parent 36a7be0 commit 92738c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/e2e/distribution/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"github.com/stretchr/testify/suite"

"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/codec/address"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
"github.com/cosmos/cosmos-sdk/testutil/network"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down Expand Up @@ -440,7 +441,7 @@ total:
tc := tc

s.Run(tc.name, func() {
cmd := cli.GetCmdQueryDelegatorRewards()
cmd := cli.GetCmdQueryDelegatorRewards(address.NewBech32Codec("cosmos"))
clientCtx := val.ClientCtx

out, err := clitestutil.ExecTestCLICmd(clientCtx, cmd, tc.args)
Expand Down Expand Up @@ -724,7 +725,7 @@ func (s *E2ETestSuite) TestNewSetWithdrawAddrCmd() {
tc := tc

s.Run(tc.name, func() {
cmd := cli.NewSetWithdrawAddrCmd()
cmd := cli.NewSetWithdrawAddrCmd(address.NewBech32Codec("cosmos"))
clientCtx := val.ClientCtx

out, err := clitestutil.ExecTestCLICmd(clientCtx, cmd, tc.args)
Expand Down

0 comments on commit 92738c0

Please sign in to comment.