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
Update sign-and-submit command to include accepted, broadcast, queued and other fields #4864
base: develop
Are you sure you want to change the base?
Conversation
@@ -6216,9 +6216,46 @@ class RPCCall_test : public beast::unit_test::suite | |||
} | |||
} | |||
|
|||
void | |||
testSubmitResponseFields() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I need to modify this unit test to incorporate apiVersion ? Since I'm adding new fields, it shouldn't break backwards compatibility even if an older version of rippled recieves the new output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, this should not be a breaking change and therefore should not be on the next apiVersion.
…g messages in transactionSubmit
|
@ckeshava what's the status of this, from your perspective? |
As it stands, I don't have anything else to add to the PR |
High Level Overview of Change
Fix #3284
This PR purports to make the response of the submit command identical -- irrespective of whether a binary blob or JSON is provided as input to the command.
Context of Change
The linked issue provides a description of the context of the change, actual and expected behaviors.
Type of Change
.gitignore
, formatting, dropping support for older tooling)API Impact
This change adds
accepted, queued, broadcast and other fields
that were originally included in PR #3125libxrpl
change (any change that may affectlibxrpl
or dependents oflibxrpl
)Before / After
With this change, the cited example in the bug page (payment transaction from the genesis account) returns the expected behavior i.e.
accepted, broadcast
and other fields are returned in the output.