diff --git a/.pending/improvements/sdk/3655-Improve-signatu b/.pending/improvements/sdk/3655-Improve-signatu new file mode 100644 index 000000000000..deaeaf828835 --- /dev/null +++ b/.pending/improvements/sdk/3655-Improve-signatu @@ -0,0 +1 @@ +#3655 Improve signature verification failure error message. diff --git a/x/auth/ante.go b/x/auth/ante.go index 57b566d04f7d..fb6cc7eae16c 100644 --- a/x/auth/ante.go +++ b/x/auth/ante.go @@ -199,7 +199,7 @@ func processSig( } if !simulate && !pubKey.VerifyBytes(signBytes, sig.Signature) { - return nil, sdk.ErrUnauthorized("signature verification failed").Result() + return nil, sdk.ErrUnauthorized("signature verification failed; verify correct account sequence and chain-id").Result() } if err := acc.SetSequence(acc.GetSequence() + 1); err != nil {