Skip to content

Commit

Permalink
goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
Faulty Tolly committed Oct 3, 2024
1 parent 5a6db76 commit 9e43f29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

sdk "github.com/cosmos/cosmos-sdk/types"
types2 "github.com/cosmos/cosmos-sdk/x/bank/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/gogo/protobuf/proto"
prototypes "github.com/gogo/protobuf/types"
"github.com/stretchr/testify/require"
Expand All @@ -19,7 +19,7 @@ func TestBeginBlocker(t *testing.T) {
ChainID: "testchain_9000-1",
})

bankSend := &types2.MsgSend{
bankSend := &banktypes.MsgSend{
FromAddress: valAccount.GetAddress().String(),
ToAddress: valAccount.GetAddress().String(),
Amount: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))),
Expand All @@ -28,7 +28,7 @@ func TestBeginBlocker(t *testing.T) {
require.NoError(t, err)

goodMessage := &prototypes.Any{
TypeUrl: proto.MessageName(&types2.MsgSend{}),
TypeUrl: proto.MessageName(&banktypes.MsgSend{}),
Value: msgBz,
}

Expand Down
5 changes: 3 additions & 2 deletions app/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ package app
import (
"encoding/json"
"fmt"
"testing"
"time"

appcodec "github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/crypto/codec"
Expand All @@ -20,8 +23,6 @@ import (
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
types2 "github.com/tendermint/tendermint/types"
dbm "github.com/tendermint/tm-db"
"testing"
"time"

"github.com/stretchr/testify/require"
abci "github.com/tendermint/tendermint/abci/types"
Expand Down

0 comments on commit 9e43f29

Please sign in to comment.