[BUG] Bifrost signer cache failed to remove failed transactions
Currently there are two additional transactions get stuck in outbound queue
{
"chain": "ETH",
"to_address": "0xf841a830cd94f6f00be674c81f57d5fcbbee2857",
"vault_pub_key": "thorpub1addwnpepqwk8cx4x6jjlsrq6305zs68xtpfcyk3l2k7gp37yqcz0q4g8ar2sz9ms9ur",
"coin": {
"asset": "ETH.CREAM-0X2BA592F78DB6436527729929AAF6C908497CB200",
"amount": "35243467473"
},
"memo": "REFUND:D0BB3DB33D9F8DE3E598741D3D41A0E3C214B2757E4C866FC7C680A156E658A9",
"max_gas": [
{
"asset": "ETH.ETH",
"amount": "3960000"
}
],
"gas_rate": 36,
"in_hash": "D0BB3DB33D9F8DE3E598741D3D41A0E3C214B2757E4C866FC7C680A156E658A9"
},
{
"chain": "ETH",
"to_address": "0xeb423dcC9b346eE4dDd3A9273854d22599566a3f",
"vault_pub_key": "thorpub1addwnpepqwk8cx4x6jjlsrq6305zs68xtpfcyk3l2k7gp37yqcz0q4g8ar2sz9ms9ur",
"coin": {
"asset": "ETH.YFI-0X0BC529C00C6401AEF6D220BE8C6EA1667F6AD93E",
"amount": "47574842"
},
"memo": "OUT:BC0AFE4E3B170C8378DB970479A367522040BE9DC03878798064B481E115BADD",
"max_gas": [
{
"asset": "ETH.ETH",
"amount": "3600000"
}
],
"gas_rate": 36,
"in_hash": "BC0AFE4E3B170C8378DB970479A367522040BE9DC03878798064B481E115BADD"
},
Based on investigation , bifrost signed & broadcast the transaction to ETH , but unfortunately it failed to commit to block , because of running out of gas
https://etherscan.io/tx/0x131d9fedd90fb94c58dc0e3f0fcb47b527d4f042af0e7853285f92544e9374b4
https://etherscan.io/tx/0x1b585fbf0376fc22558b40732209d5d35272c3243f77a20562c4a7eeb022b3ff
This is a bug in !1986 (merged). The PR was mean to remove the transaction that failed due to running out of gas from bifrost's internal signer cache, but it fail to do so. The bug is in ETH block scanner , it didn't remove the signer cache