forked from cerc-io/laconicd-deprecated
[wip] cleanup
This commit is contained in:
parent
d1c4da99b9
commit
75763bf1c4
@ -29,6 +29,7 @@ import (
|
|||||||
|
|
||||||
simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
|
simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
|
||||||
"github.com/cosmos/cosmos-sdk/store/streaming"
|
"github.com/cosmos/cosmos-sdk/store/streaming"
|
||||||
|
storetypes "github.com/cosmos/cosmos-sdk/store/v2alpha1"
|
||||||
"github.com/cosmos/cosmos-sdk/store/v2alpha1/multi"
|
"github.com/cosmos/cosmos-sdk/store/v2alpha1/multi"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/types/module"
|
"github.com/cosmos/cosmos-sdk/types/module"
|
||||||
@ -88,6 +89,7 @@ import (
|
|||||||
upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
|
upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
|
||||||
upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper"
|
upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper"
|
||||||
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
|
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
|
||||||
|
|
||||||
abci "github.com/tendermint/tendermint/abci/types"
|
abci "github.com/tendermint/tendermint/abci/types"
|
||||||
"github.com/tendermint/tendermint/libs/log"
|
"github.com/tendermint/tendermint/libs/log"
|
||||||
tmos "github.com/tendermint/tendermint/libs/os"
|
tmos "github.com/tendermint/tendermint/libs/os"
|
||||||
@ -113,7 +115,6 @@ import (
|
|||||||
"github.com/tharsis/ethermint/x/evm"
|
"github.com/tharsis/ethermint/x/evm"
|
||||||
|
|
||||||
// evmrest "github.com/tharsis/ethermint/x/evm/client/rest"
|
// 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"
|
evmkeeper "github.com/tharsis/ethermint/x/evm/keeper"
|
||||||
"github.com/tharsis/ethermint/x/feemarket"
|
"github.com/tharsis/ethermint/x/feemarket"
|
||||||
feemarketkeeper "github.com/tharsis/ethermint/x/feemarket/keeper"
|
feemarketkeeper "github.com/tharsis/ethermint/x/feemarket/keeper"
|
||||||
|
@ -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")
|
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
|
// since we will only verify the signature against the hash of the MsgEthereumTx.Data
|
||||||
if wrapperTx, ok := reqTx.(protoTxProvider); ok {
|
if wrapperTx, ok := reqTx.(protoTxProvider); ok {
|
||||||
protoTx := wrapperTx.GetProtoTx()
|
protoTx := wrapperTx.GetProtoTx()
|
||||||
|
@ -32,6 +32,7 @@ usage() {
|
|||||||
echo "-q <number> -- Quantity of nodes to run. eg: 3"
|
echo "-q <number> -- Quantity of nodes to run. eg: 3"
|
||||||
echo "-z <number> -- Quantity of nodes to run tests against eg: 3"
|
echo "-z <number> -- Quantity of nodes to run tests against eg: 3"
|
||||||
echo "-s <number> -- Sleep between operations in secs. eg: 5"
|
echo "-s <number> -- Sleep between operations in secs. eg: 5"
|
||||||
|
echo "-m <string> -- Mode for testing. eg: rpc"
|
||||||
echo "-r <string> -- Remove test dir after, eg: true, default is false"
|
echo "-r <string> -- Remove test dir after, eg: true, default is false"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user