[ADD] ETH chain client vault unstuck process
At the moment, the network can't tolerant ETH chain gas price to hike more than 50% , so we need to implement a unstuck process for ETH chain client in bifrost, the logic will be like this
- ETH chain client sign a tx , and broadcast to ETH chain
- chain client add the signed txid to key value store , along with the block height(thorchain block height) it was signed and broadcast
- whenever it scan a block , and find a transaction has been commit to block , success/fail , remove it from the keyvalue store
- a process will scan the key value store every minute, if a transaction had been broadcast and still in pending status after 150 thorchain blocks , then sign a transaction to cancel it.
this means the tx will be canceled before asgard reschedule it , and when asgard reschedule it , it should use a higher gas , which should get it through This hopefully will solve the vault get stuck issue