From c018447c95832720e419282c7695d0655765a775 Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Thu, 16 May 2024 16:53:33 +0200 Subject: [PATCH] fix(vesting): format and lint --- x/vesting/client/cli/tx_test.go | 4 ++-- x/vesting/msg_server_test.go | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/x/vesting/client/cli/tx_test.go b/x/vesting/client/cli/tx_test.go index 2b53819d..07b60100 100644 --- a/x/vesting/client/cli/tx_test.go +++ b/x/vesting/client/cli/tx_test.go @@ -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" @@ -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)) diff --git a/x/vesting/msg_server_test.go b/x/vesting/msg_server_test.go index 26c29426..644f4d29 100644 --- a/x/vesting/msg_server_test.go +++ b/x/vesting/msg_server_test.go @@ -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"