getTransactionReceipt sometimes blocks, expected always non-blocking? #1587
jnieuwenhuijzen
started this conversation in
General
Replies: 1 comment 6 replies
-
What version are you using? Nothing has access to the mempool, but in previous versions an internal cache used for consistency could cause a transaction that was submitted through the same provider, in some cases, cause a blocking |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using the function
getTransactionReceipt
and expecting it to be always non blocking.Testing it on some random transactions that are in the mempool waiting to be confirmed or already mined transactions return a value immediately. However when I run it on live transactions (via my local node - openethereum) the request becomes blocking until the transaction is mined. Strangely enough this does not happen all the time.
Is this expected behaviour or is this a bug?
Thanks in advance,
Jarl
Beta Was this translation helpful? Give feedback.
All reactions