Linted Repo (#136)

* Linted
* Updated lint to include config file
* Linted repo
* Updated make command

* made requested changes

* added no lint
This commit is contained in:
Dustin Brickwood
2019-11-01 10:26:53 -05:00
committed by GitHub
parent 9294fa8423
commit fc57cabcab
7 changed files with 251 additions and 9 deletions
+5 -3
View File
@@ -17,9 +17,9 @@ import (
evmtypes "github.com/cosmos/ethermint/x/evm/types"
ethcrypto "github.com/ethereum/go-ethereum/crypto"
abci "github.com/tendermint/tendermint/abci/types"
tmcrypto "github.com/tendermint/tendermint/crypto"
cmn "github.com/tendermint/tendermint/libs/common"
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"
)
@@ -44,8 +44,10 @@ func newTestSetup() testSetup {
ms.MountStoreWithDB(keySupply, sdk.StoreTypeIAVL, db)
ms.MountStoreWithDB(keyParams, sdk.StoreTypeIAVL, db)
ms.MountStoreWithDB(tkeyParams, sdk.StoreTypeIAVL, db)
// nolint:errcheck
ms.LoadLatestVersion()
if err := ms.LoadLatestVersion(); err != nil {
cmn.Exit(err.Error())
}
cdc := MakeCodec()
cdc.RegisterConcrete(&sdk.TestMsg{}, "test/TestMsg", nil)