forked from cerc-io/laconicd-deprecated
Tools configuration and linters (#215)
* tools config * lint * lint * codecov
This commit is contained in:
+1
-2
@@ -12,7 +12,6 @@ import (
|
||||
emintcrypto "github.com/cosmos/ethermint/crypto"
|
||||
params "github.com/cosmos/ethermint/rpc/args"
|
||||
emint "github.com/cosmos/ethermint/types"
|
||||
etypes "github.com/cosmos/ethermint/types"
|
||||
"github.com/cosmos/ethermint/utils"
|
||||
"github.com/cosmos/ethermint/version"
|
||||
"github.com/cosmos/ethermint/x/evm"
|
||||
@@ -885,7 +884,7 @@ func (e *PublicEthAPI) generateFromArgs(args params.SendTxArgs) (msg *types.Ethe
|
||||
|
||||
// Set default gas price
|
||||
// TODO: Change to min gas price from context once available through server/daemon
|
||||
gasPrice = big.NewInt(etypes.DefaultGasPrice)
|
||||
gasPrice = big.NewInt(emint.DefaultGasPrice)
|
||||
}
|
||||
|
||||
if args.Nonce == nil {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ func NewPublicNetAPI(cliCtx context.CLIContext) *PublicNetAPI {
|
||||
// parse the chainID from a integer string
|
||||
intChainID, err := strconv.ParseUint(chainID, 0, 64)
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("Invalid chainID: %s, must be integer format", chainID))
|
||||
panic(fmt.Sprintf("invalid chainID: %s, must be integer format", chainID))
|
||||
}
|
||||
|
||||
return &PublicNetAPI{
|
||||
|
||||
Reference in New Issue
Block a user