Closed technotip closed 1 year ago
I tried this and received the same error. When I connected thought the web socket it works though. The response error I get is:
raise JSONDecodeError("Expecting value", s, err.value) from None
Thanks for the report @dangell7!
Looping in @RichardAH
This does seem to work. We have been using this to query account objects on a hooks enabled account for a while now. However there's no possibility to get Rippled to filter by "HookState" objects which I've mentioned in #31.
The following works:
// Using ripple-lib 1.9.x
api.getAccountObjects("<address>", { type: "state" })
This appears to have been fixed for a while. If you can still reproduce then please reopen
Issue Description
rippled gets aborted when tried to fetch account_objects information from the ledger for the account which has hooks installed. It works fine for accounts which does not have hooks installed.
Steps to Reproduce
Make sure rGuTzjM71We1fCN6pkjx868eVdhjG4wgLC has some hooks installed before running above command.
there is "no response from server" as the server gets aborted because of running above command (account_objects) on hook account.
Result (server log)
Environment
Rippled version:
rippled version 1.6.0-hooks
Supporting Files