-
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
“gateway_balances” with unfunded account do not throw an error (Version: [1.9.2]) #4290
Comments
1 task
intelliot
pushed a commit
that referenced
this issue
Sep 21, 2023
gateway_balances * When `account` does not exist in the ledger, return `actNotFound` * (Previously, a normal response was returned) * Fix #4290 * When required field(s) are missing, return `invalidParams` * (Previously, `invalidHotWallet` was incorrectly returned) * Fix #4548 channel_authorize * When the specified `key_type` is invalid, return `badKeyType` * (Previously, `invalidParams` was returned) * Fix #4289 Since these are breaking changes, they apply only to API version 2. Supersedes #4577
ckeshava
pushed a commit
to ckeshava/rippled
that referenced
this issue
Sep 22, 2023
gateway_balances * When `account` does not exist in the ledger, return `actNotFound` * (Previously, a normal response was returned) * Fix XRPLF#4290 * When required field(s) are missing, return `invalidParams` * (Previously, `invalidHotWallet` was incorrectly returned) * Fix XRPLF#4548 channel_authorize * When the specified `key_type` is invalid, return `badKeyType` * (Previously, `invalidParams` was returned) * Fix XRPLF#4289 Since these are breaking changes, they apply only to API version 2. Supersedes XRPLF#4577
sophiax851
pushed a commit
to sophiax851/rippled
that referenced
this issue
Jun 12, 2024
gateway_balances * When `account` does not exist in the ledger, return `actNotFound` * (Previously, a normal response was returned) * Fix XRPLF#4290 * When required field(s) are missing, return `invalidParams` * (Previously, `invalidHotWallet` was incorrectly returned) * Fix XRPLF#4548 channel_authorize * When the specified `key_type` is invalid, return `badKeyType` * (Previously, `invalidParams` was returned) * Fix XRPLF#4289 Since these are breaking changes, they apply only to API version 2. Supersedes XRPLF#4577
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
If the [Address]specified in the account field of the request does not correspond to an account in the ledger then response should result in actNotFound error.
Steps to Reproduce
{ "method": "gateway_balances", "params": [ { "account": "rNGQLojaFxTYphuQUJ24QUhyGBUMMbqBMx", "ledger_index": "validated" } ] }
Expected Result
actNotFound
Actual Result
{ "result": { "account": "rNGQLojaFxTYphuQUJ24QUhyGBUMMbqBMx", "ledger_hash": "CE0AFDF8B84168937941DAEF469AF1D03BE4F8C5532DA77652A18D707FD86981", "ledger_index": 21321107, "status": "success", "validated": true } }
The text was updated successfully, but these errors were encountered: