forked from cerc-io/laconicd-deprecated
ante: ignore no signature error for evm transactions (#143)
fixes #118 don't sign unit test tx since that's the same case as real tx comment EthValidateBasicDecorator
This commit is contained in:
@@ -550,6 +550,10 @@ func (e *PublicEthAPI) doCall(
|
||||
// Create new call message
|
||||
msg := evmtypes.NewMsgEthereumTx(e.chainIDEpoch, seq, args.To, value, gas, gasPrice, data, accessList)
|
||||
msg.From = args.From.String()
|
||||
signer := ethtypes.LatestSignerForChainID(e.chainIDEpoch)
|
||||
if err := msg.Sign(signer, e.clientCtx.Keyring); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if err := msg.ValidateBasic(); err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user