graphprotocol / mission-control-indexer

Technical indexer documentation and infrastructure templates for the Mission Control testnet
21 stars 4 forks source link

Indexer agent: Deadlock | Sending tx after restart with higher nonce #268

Open WayneWayner opened 3 years ago

WayneWayner commented 3 years ago

Problem:

Would be better if the agent uses the same nonce to replace the low gas price transaction. This results in a deadlock for the agent to start an allocation.

Imagine we have a gas price drop to 1gwei for a short moment and the agent wants to send with 1 gwei gas price. We could wait weeks for this to go through.

WayneWayner commented 3 years ago

Can be fixed by manual tx with the same nonce of the low gas price tx But would be better if this is never needed.