Skip to content
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

tx_signer: increment sequence on DeliverTx failure #168

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

tony-iqlusion
Copy link
Member

If DeliverTx fails, the transaction has still been accepted by the chain and the sequence number still needs to be updated.

This introduces separate handling for CheckTx vs DeliverTx failures, and ensures if CheckTx succeeds the sequence number is still incremented.

If DeliverTx fails, the transaction has still been accepted by the chain
and the sequence number still needs to be updated.

This introduces separate handling for CheckTx vs DeliverTx failures, and
ensures if CheckTx succeeds the sequence number is still incremented.
@tony-iqlusion tony-iqlusion merged commit 434d42d into develop Oct 15, 2020
@tony-iqlusion tony-iqlusion deleted the tx_signer/increment-on-delivertx-failures branch October 15, 2020 14:57
@tony-iqlusion tony-iqlusion mentioned this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant