-
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
tx command fails to return transactions that can't be submitted #2597
Labels
Comments
ShangyanLi
added a commit
to ShangyanLi/rippled
that referenced
this issue
Sep 25, 2019
Historical Transaction retrieval no longer needs to pass current validity check; Introduced additional RPC error code for database deserialization error.
ShangyanLi
added a commit
to ShangyanLi/rippled
that referenced
this issue
Sep 26, 2019
Historical Transaction retrieval no longer needs to pass current validity check; Introduced additional RPC error code for database deserialization error.
ShangyanLi
added a commit
to ShangyanLi/rippled
that referenced
this issue
Oct 28, 2019
… pass current validity check; introduced additional RPC error code for database deserialization error.
ShangyanLi
added a commit
to ShangyanLi/rippled
that referenced
this issue
Oct 28, 2019
… pass current validity check; introduced additional RPC error code for database deserialization error.
ShangyanLi
added a commit
to ShangyanLi/rippled
that referenced
this issue
Oct 29, 2019
* historical tx retrieval no longer needs to pass current validity check; * introduced additional RPC error code for database deserialization error.
ShangyanLi
added a commit
to ShangyanLi/rippled
that referenced
this issue
Nov 1, 2019
* historical tx retrieval no longer needs to pass current validity check; * introduced additional RPC error code for database deserialization error.
undertome
pushed a commit
to undertome/rippled
that referenced
this issue
Nov 11, 2019
* historical tx retrieval no longer needs to pass current validity check; * introduced additional RPC error code for database deserialization error.
I'll test this out on a 1.5.0 beta server soon and close it when I confirm it works as expected. |
This problem seems to have come back—but it only applies to Reporting Mode. (To repro: take the example requests from the OP and test them on s1/s2 vs xrplcluster.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(Original issue: RIPD-1098)
The
tx
method cannot fetch pseudo-transactions, nor others transactions that aren't currently considered "valid" for submission, even if those transactions were incorporated into a validated ledger under rules that applied at the time. Doing so returns a misleading "not found" error. Example of atx
websocket command that will always fail (use a full-history server to confirm):The
transaction_entry
method can fetch such transactions, provided you know what ledger contains them. Example of atransaction_entry
websocket command that succeeds at fetching the same:Per @JoelKatz:
So, the changes to make would be:
tx
command. Return it if we can deserialize it.txnDeserializingError
. Also, this should be logged at the warning level, becauserippled
should be able to deserialize any transaction in valid history (even if that transaction is no longer valid under current rules).The text was updated successfully, but these errors were encountered: