-
Notifications
You must be signed in to change notification settings - Fork 627
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
RPC for querying receipts #3177
Comments
We disabled receipt query long ago. The issue here is that a node cannot distinguish just from the hash whether you intend to query transaction or receipt and it assumes that you are trying to query a transaction. |
Should this be transformed into an issue of adding an API for fetching Receipt status (execution outcome)? |
According to @abacabadabacaba, it is now needed for the bridge to work. Let's prioritize this |
What data is needed? Receipt or execution outcome, or both? |
@abacabadabacaba please clarify. |
For the bridge, the receipt itself is needed (specifically, which functions were called, as well as the arguments). |
@Kouprin , is this something that needs to be done to enable #3658 ? You managed to do it somehow, don't you? The background is outlined in the Near-One/rainbow-bridge#432 . In short here're the steps that we would like to reproduce:
Now, there should be an ability to do the step 2, having all the necessary info from the first transaction. @Kouprin , can you please comment whether this is something that can be achieved at the moment? |
That is already possible currently. |
@khorolets we need a new |
I forgot to refer to this issue in #3883 I guess we can close the issue. |
Getting timeout errors while fetching tx-status of the receipt when using a single node setup on localhost.
Steps to reproduce
near tx-status <account_id>:<receipt_hash>
Observe timeout error.
Expected:
The text was updated successfully, but these errors were encountered: