-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[ledger_entry of oracle with non numeric input of oracle_document_id do not return an error] (Version: ["2.2.0-b2"]) #5014
Comments
This seems like correct behavior to me. Numbers can be represented as strings in most cases in rippled JSON. |
@cindyyan317 please add your thoughts on this. |
|
As the comment here suggested , I believed this is a known mismatch. @godexsoft We have decided not to accept the string type uint, right? |
We could support this in Clio but it would have to be the same for all RPCs, not just some of them as in Clio there is lots of common code that does all the parsing and validation, unlike We discussed this with @gregtatcam some time ago and at least for |
I'm fine with Clio supporting just |
Issue Description
As per docs,
oracle_document_id
type is a number and should return an error if there's non numeric input but rippled do not return error whereas Clio does.Steps to Reproduce
OracleSet
transaction.ledger_entry
of above transaction with non numeric value inoracle_document_id
Sample request:
Expected Result
Clio response
Actual Result
Environment
Supporting Files
The text was updated successfully, but these errors were encountered: