-
Notifications
You must be signed in to change notification settings - Fork 55
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
[amm_info] with malformed account error differs with rippled #1157
Comments
This is caused by a difference in how Unfortunately, there is no proper fix for us to apply here to get parity. One way to "fix" would be to move validation logic for While we could easily fix the exact case reported in this issue, we can't solve the general case. For example this request would still produce different error code/message: {
"method": "amm_info",
"params": [
{
"account": "rP32Fk3eRYDNSz8B31CxC5Jphc8Tz6Gt8",
"amm_account" : "rLL58S26SjzyzmUoc65Cd1MvkpQk74ae4H"
}
]
} Another way to achieve parity would be to fix this on @Bronek what do you think about this? |
Currently
|
@gregtatcam do you think that's something we ought to change in |
It makes sense to have a consistent error. |
I think this is because in
In this case indeed both I wonder if we could push this check down. |
I will prepare a PR to change the order of checks in |
Fixed on rippled side. |
Clio returns
actMalformed
whereas rippled returnsinvalidParams
errorRequest:
Rippled response:
Clio response:
The text was updated successfully, but these errors were encountered: