Skip to content

Commit

Permalink
chore: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed Jun 24, 2024
1 parent 9271ed0 commit e11195f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 2 additions & 3 deletions eth/hex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package eth_test
import (
"fmt"

"github.com/NibiruChain/nibiru/eth"
"github.com/ethereum/go-ethereum/common"

"github.com/NibiruChain/nibiru/eth"
)

var threeValidAddrs []eth.HexAddr = []eth.HexAddr{
Expand All @@ -23,7 +24,6 @@ var threeValidAddrs []eth.HexAddr = []eth.HexAddr{
// upper case will all produce the same `HexAddr` when passed to
// `eth.NewHexAddrFromStr`.
func (s *Suite) TestHexAddr_NewHexAddr() {

// InputAddrVariation: An instance of a "hexAddr" that derives to the
// expected Ethereum address and results in the same string representation.
type InputAddrVariation struct {
Expand Down Expand Up @@ -90,7 +90,6 @@ func (s *Suite) TestHexAddr_NewHexAddr() {
},
},
} {

want := tcGroup.want
for _, tc := range tcGroup.hexAddrs {
tcName := fmt.Sprintf("want %s, %s", want, tc.testCaseName)
Expand Down
3 changes: 2 additions & 1 deletion x/evm/evm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import (
"strconv"
"testing"

"github.com/stretchr/testify/suite"

"github.com/NibiruChain/nibiru/eth"
"github.com/NibiruChain/nibiru/x/evm"
"github.com/stretchr/testify/suite"
)

type TestSuite struct {
Expand Down
7 changes: 4 additions & 3 deletions x/evm/keeper/funtoken_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ package keeper

import (
"github.com/NibiruChain/collections"
"github.com/NibiruChain/nibiru/eth"
"github.com/NibiruChain/nibiru/x/evm"
funtoken "github.com/NibiruChain/nibiru/x/evm"
sdkcodec "github.com/cosmos/cosmos-sdk/codec"
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
gethcommon "github.com/ethereum/go-ethereum/common"

"github.com/NibiruChain/nibiru/eth"
"github.com/NibiruChain/nibiru/x/evm"
funtoken "github.com/NibiruChain/nibiru/x/evm"
)

type funtokenPrimaryKeyType = []byte
Expand Down

0 comments on commit e11195f

Please sign in to comment.