babylonlabs-io / finality-provider

Other
6 stars 10 forks source link

Account sequence mismatch errors after chain halt and full mempool #9

Open gitferry opened 3 months ago

gitferry commented 3 months ago

After prolonged chain halt and full mempool, transactions produced by finality provider end with account sequence mismatch error:

2024-05-09T14:36:51.140045Z debug   retrying    {"attemp": 1, "max_attempts": 5, "error": "rpc error: code = Unknown desc = rpc error: code = Unknown desc = account sequence mismatch, expected 225448, got 223588: incorrect account sequence [cosmos/cosmos-sdk@v0.50.4-0.20240126152601-c4a2fe2b8987/x/auth/ante/sigverify.go:290] with gas used: '16931': unknown request"}

restarts of the program do not help to fix the situation and with time the mismatch only grows:

2024-05-10T10:51:32.133572Z debug   retrying    {"attemp": 1, "max_attempts": 5, "error": "rpc error: code = Unknown desc = rpc error: code = Unknown desc = account sequence mismatch, expected 239563, got 231244: incorrect account sequence [cosmos/cosmos-sdk@v0.50.4-0.20240126152601-c4a2fe2b8987/x/auth/ante/sigverify.go:290] with gas used: '16931': unknown request"}