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

Verify submitted transaction is not malformed before waiting for its final outcome. #379

Merged
merged 8 commits into from Apr 26, 2022

Conversation

khancode
Copy link
Collaborator

@khancode khancode commented Apr 25, 2022

High Level Overview of Change

Inside send_reliable_submission, verify submitted transaction is not malformed before waiting for its final outcome.

Context of Change

There's a bug in send_reliable_submission reported by users where it throws an txnNotFound: Transaction not found exception; Issue1, Issue2. From my investigation, this bug is reproduced when waiting for the final outcome on a submitted malformed transaction (temMALFORMED). Therefore, this fix verifies a submitted transaction is not malformed before waiting for its final outcome inside send_reliable_submission.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Test Plan

Integration and unit tests pass.

@XRPLF XRPLF deleted a comment from mvadari Apr 25, 2022
@khancode khancode changed the title Verify submitted transaction response is valid before waiting for its final outcome. Verify submitted transaction response is not malformed before waiting for its final outcome. Apr 25, 2022
Copy link
Collaborator

@JST5000 JST5000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@mvadari mvadari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to edit the changelog

@khancode khancode changed the title Verify submitted transaction response is not malformed before waiting for its final outcome. Verify submitted transaction is not malformed before waiting for its final outcome. Apr 25, 2022
@khancode khancode merged commit b7d6aaf into master Apr 26, 2022
@khancode khancode deleted the fix-reliable-submission branch April 26, 2022 16:37
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.

None yet

4 participants