From 75763bf1c4235dab8a14479d5d88f184bdb45a44 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 12 May 2022 20:26:04 +0800 Subject: [PATCH] [wip] cleanup --- app/app.go | 3 ++- app/middleware/eth.go | 2 +- scripts/integration-test-all.sh | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/app.go b/app/app.go index f6a358f4..1db4865c 100644 --- a/app/app.go +++ b/app/app.go @@ -29,6 +29,7 @@ import ( simappparams "github.com/cosmos/cosmos-sdk/simapp/params" "github.com/cosmos/cosmos-sdk/store/streaming" + storetypes "github.com/cosmos/cosmos-sdk/store/v2alpha1" "github.com/cosmos/cosmos-sdk/store/v2alpha1/multi" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" @@ -88,6 +89,7 @@ import ( upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" tmos "github.com/tendermint/tendermint/libs/os" @@ -113,7 +115,6 @@ import ( "github.com/tharsis/ethermint/x/evm" // evmrest "github.com/tharsis/ethermint/x/evm/client/rest" - storetypes "github.com/cosmos/cosmos-sdk/store/v2alpha1" evmkeeper "github.com/tharsis/ethermint/x/evm/keeper" "github.com/tharsis/ethermint/x/feemarket" feemarketkeeper "github.com/tharsis/ethermint/x/feemarket/keeper" diff --git a/app/middleware/eth.go b/app/middleware/eth.go index 951b6842..fecb0585 100644 --- a/app/middleware/eth.go +++ b/app/middleware/eth.go @@ -180,7 +180,7 @@ func (vbd EthValidateBasicMiddleware) CheckTx(cx context.Context, req tx.Request return tx.Response{}, tx.ResponseCheckTx{}, sdkerrors.Wrap(err, "tx basic validation failed") } - // For eth type cosmos tx, some fields should be veified as zero values, + // For eth type cosmos tx, some fields should be verified as zero values, // since we will only verify the signature against the hash of the MsgEthereumTx.Data if wrapperTx, ok := reqTx.(protoTxProvider); ok { protoTx := wrapperTx.GetProtoTx() diff --git a/scripts/integration-test-all.sh b/scripts/integration-test-all.sh index 5e71ded1..b8074073 100755 --- a/scripts/integration-test-all.sh +++ b/scripts/integration-test-all.sh @@ -32,6 +32,7 @@ usage() { echo "-q -- Quantity of nodes to run. eg: 3" echo "-z -- Quantity of nodes to run tests against eg: 3" echo "-s -- Sleep between operations in secs. eg: 5" + echo "-m -- Mode for testing. eg: rpc" echo "-r -- Remove test dir after, eg: true, default is false" exit 1 }