-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better error for failed signature verification #3655
Comments
Push |
What do we want here? Just to update the error message? How about: |
It would be cool if it would say if this is an error based on the wrong |
@faboweb this is not possible afaik. We construct bytes over which we expect the signer to sign and then call |
But you receive the whole message which holds not only the signature but the |
Transactions do not contain the chain-id or anything related to the account. This was removed some time ago. It's not going to be added back as it's redundant and would bloat state too much. |
Ahh you're right, I still had the old format in my memory. Who is evaluating the tx? The full node which is on a certain Spinning this further: How about sending the |
You'd be surprised haha. But with the advent of more mature wallets, I agree this should be less of a common problem.
Hmmm, I suppose this would be nice, but I don't know of anyway of doing this because the ante-handler receives a The best I think we can do here is improve the error message. |
I thought about a check in the handler of the broadcast endpoint. Would that be a possibility? |
Yes, indeed @valuead. What are you stating? |
By adding 10 seconds between commands in my bash script error was gone or was occurring rarely so next command was bonding my tokens. (C) Maestro |
Yes, that is due to the fact of the CheckTx state not having the correct sequence. By waiting for the next block, you'll have the correct value. |
So each account/address can send 1 transaction the most in a block, or the 2nd transaction will get a duplicate sequence number. Is that what you mean? |
You should send 1 tx with multiple messages. |
This error can normally arises from an incorrect sequence number (trying to send another transaction too quickly) or
chain_id
The text was updated successfully, but these errors were encountered: