Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sontrinh16 committed Sep 11, 2024
1 parent ae68ee1 commit 94763c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 10 additions & 0 deletions types/genesis.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package types

import cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"

type GenesisValidator struct {
Address ConsAddress
PubKey cryptotypes.PubKey
Power int64
Name string
}
4 changes: 1 addition & 3 deletions x/genutil/client/cli/gentx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import (
"path/filepath"
"testing"

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

sdkmath "cosmossdk.io/math"
Expand Down Expand Up @@ -48,7 +46,7 @@ func (s *CLITestSuite) SetupSuite() {
WithKeyring(s.kr).
WithTxConfig(s.encCfg.TxConfig).
WithCodec(s.encCfg.Codec).
WithClient(clitestutil.MockCometRPC{Client: rpcclientmock.Client{}}).
WithClient(clitestutil.MockCometRPC{}).
WithAccountRetriever(client.MockAccountRetriever{}).
WithOutput(io.Discard).
WithChainID("test-chain")
Expand Down

0 comments on commit 94763c6

Please sign in to comment.