upgrade to ethermint v0.21.0 #99

Closed
0xmuralik wants to merge 384 commits from murali/update-fork into main
Showing only changes of commit 78e6df2ed2 - Show all commits

View File

@ -39,7 +39,7 @@ func (b *Backend) SendTransaction(args evmtypes.TransactionArgs) (common.Hash, e
_, err := b.clientCtx.Keyring.KeyByAddress(sdk.AccAddress(args.GetFrom().Bytes())) _, err := b.clientCtx.Keyring.KeyByAddress(sdk.AccAddress(args.GetFrom().Bytes()))
if err != nil { if err != nil {
b.logger.Error("failed to find key in keyring", "address", args.GetFrom(), "error", err.Error()) b.logger.Error("failed to find key in keyring", "address", args.GetFrom(), "error", err.Error())
return common.Hash{}, fmt.Errorf("%s; %s", keystore.ErrNoMatch, err.Error()) return common.Hash{}, fmt.Errorf("failed to find key in the node's keyring; %s; %s", keystore.ErrNoMatch, err.Error())
} }
if args.ChainID != nil && (b.chainID).Cmp((*big.Int)(args.ChainID)) != 0 { if args.ChainID != nil && (b.chainID).Cmp((*big.Int)(args.ChainID)) != 0 {