-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Light] Bad response on request: [ TransactionIndex ] on eth_getTransactionReceipt #10444
Comments
It is indeed an issue on light client. It also breaks web3 implementation of transaction sending. |
I am suffering from this issue lot. I hope this issue fix it soon. |
@donamk and @gituser can you tell us more about your use case? FWIW, here is a possible explanation for this behavior. Now a better way to avoid this error is to poll |
@Tbaut if you use standard web3 method for sending transaction https://web3js.readthedocs.io/en/1.0/web3-eth.html?highlight=sendtransaction#id72 the error will occur on So parity in this case returns this (because the reply from parity light node is empty on this particular transaction when it's still pending and not mined):
Yes, I understand that the error is because light client isn't storing anything locally and once transaction is mined the error is gone. |
I confim that this happens with other API calls such as |
Closing issue due to its stale state. |
In the following trace I send a
eth_sendRawTransaction
and theneth_getTransactionReceipt
. I'll subsequently get theBad response on request
.Below is a
-l rpc
log (I removed non useful info, just in case here is the full log).edit: I can confirm that the problem doesn't exist on full nodes.
The text was updated successfully, but these errors were encountered: