fix: cancel tx if missing from blockchain after some timeout#5159
fix: cancel tx if missing from blockchain after some timeout#5159
Conversation
|
Is there a way we can test this? |
Maybe we can test it mannualy with insufficient gas, invalid signature, low nonce, or insufficient funds. |
|
In general, I'm not sure about this mechanism. If there has been a transaction that has been signed, and broadcast to some RPC, while that RPC may have some failures of some sort, the As such, transactions should never be deemed "cancelled" unless in the circumstance that another transaction has been verified on chain that corresponds to the cancelled transaction's For example, if the transaction monitor sent to the RPC a transaction, and after some time, when checking the account's |
Checklist
Description
Cancel a tx if it's missing from the blockchain after a certain timeout—currently, 5 block times.
closes #5133