-
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 malformed hotwallet account error response] (Version: [1.11.0-rc2]) #4548
Labels
Comments
mounikakun
changed the title
[gateway_balances with malformed hotwallet account error response] (Version: [rippled version])
[gateway_balances with malformed hotwallet account error response] (Version: [1.11.0-rc2])
May 30, 2023
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
As per the documentation,
invalidParams - One or more fields are specified incorrectly, or one or more required fields are missing.
invalidHotWallet - One or more of the addresses specified in the hotwallet field is not the Address of an account holding currency issued by the account from the request.
gateway_balances with malformed hotwallet account should return
invalidParams
instead ofinvalidHotWallet
Steps to Reproduce
Request:
{ "method": "gateway_balances", "params": [ { "account": "rPMeLRzDEBb2S8kSwynm1if6j6N58xQtv7", "hotwallet": [ "rhKKk5KB8LuxmjvTSA7r3iYmJXGqnno7M" ], "ledger_index": "validated", "strict": true } ] }
Expected Result
invalidParams
Actual Result
invalidHotWallet
Environment
Supporting Files
The text was updated successfully, but these errors were encountered: