You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an ideal world, this works as intended: accounts that are partially/errored are marked as degraded.
However, there is a current bug in THORChain unchained-client (related to THOR refund Txs parsing in particular): , which makes accounts with said THOR fail fetching/unchained-client parsing.
Now where things get weird is that the accountId in scope for that exception will be... a BTC AccountId (at least it is in my case).
The result of that is that Bitcoin Tx history will fail fetching, and be marked as degraded, while in fact it fetched and parsed absolutely fine.
This also does not mark the actual errored account as errored, which is wrong both for us for debugging purposes, and for users.
ok, so there isn't an issue with the tx history fetching and marking of errored accounts. it just looks weird since it is the thorchain parser, but we are parsing thorchain actions for all chains. so in your case it was an attempt to withdraw bitcoin via a bitcoin tx which failed during parsing. so the bitcoin tx history is degraded, just due to the thorchain parsing failing on that tx
Closing for now, we could improve by throwing better errors here since the stack doesn't deserialize into an actual stack and is a good ol' string.
Overview
Currently in txHistorySlice, fetch failures are caught, which we handle by marking the AccountId as degraded:
web/src/state/slices/txHistorySlice/txHistorySlice.ts
Lines 280 to 282 in 2760692
In an ideal world, this works as intended: accounts that are partially/errored are marked as degraded.
However, there is a current bug in THORChain unchained-client (related to THOR refund Txs parsing in particular): , which makes accounts with said THOR fail fetching/unchained-client parsing.
Now where things get weird is that the
accountId
in scope for that exception will be... a BTC AccountId (at least it is in my case).The result of that is that Bitcoin Tx history will fail fetching, and be marked as degraded, while in fact it fetched and parsed absolutely fine.
This also does not mark the actual errored account as errored, which is wrong both for us for debugging purposes, and for users.
References and additional details
web/src/state/slices/txHistorySlice/txHistorySlice.ts
Lines 280 to 282 in 2760692
Acceptance Criteria
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response
The text was updated successfully, but these errors were encountered: