Skip to content

Commit

Permalink
fix(vesting): format and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Jun 4, 2024
1 parent f00b7bb commit c018447
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions x/vesting/client/cli/tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import (
"testing"
"time"

rpcclientmock "github.com/cometbft/cometbft/rpc/client/mock"
"github.com/stretchr/testify/suite"

rpcclientmock "github.com/cometbft/cometbft/rpc/client/mock"

sdkmath "cosmossdk.io/math"

"github.com/cosmos/cosmos-sdk/client"
Expand Down Expand Up @@ -124,7 +125,6 @@ func (s *CLITestSuite) TestNewMsgCreateVestingAccountCmd() {
ctx := svrcmd.CreateExecuteContext(context.Background())

cmd.SetContext(ctx)
fmt.Println(tc.amount.String())
cmd.SetArgs(append([]string{tc.to.String(), tc.amount.String(), fmt.Sprint(tc.endTime)}, tc.extraArgs...))

s.Require().NoError(client.SetCmdClientContextHandler(tc.ctxGen(), cmd))
Expand Down
7 changes: 4 additions & 3 deletions x/vesting/msg_server_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package vesting_test

import (
"cosmossdk.io/math"
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
cmttime "github.com/cometbft/cometbft/types/time"
"testing"
"time"

"github.com/golang/mock/gomock"
"github.com/stretchr/testify/suite"

cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
cmttime "github.com/cometbft/cometbft/types/time"

"cosmossdk.io/math"
storetypes "cosmossdk.io/store/types"

"github.com/cosmos/cosmos-sdk/runtime"
Expand Down

0 comments on commit c018447

Please sign in to comment.