ContractTransactionResponse.wait()
hangs when the transaction is replaced
#4875
Labels
ContractTransactionResponse.wait()
hangs when the transaction is replaced
#4875
Ethers Version
6.13.4
Search Terms
wait
Describe the Problem
ContractTransactionResponse.wait()
does not reject when the transaction is replaced, the promise hangs forever.The attached snippet sends 2
approve(randomAddress,0)
tx using the same wallet and same nonce, one is confirmed, the other is dropped but thewait()
method does not detect it.NB:
TransactionResponse
(when usingsendTransaction()
)Code Snippet
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: