Details
- Reviewers
emack - Group Reviewers
Restricted Project - Commits
- rABC10c9f21d563d: [Cashtab] [chronik tx history p15] parsing token burn txs
Review new unit tests and npm test
npm start, burn some of an eToken, confirm the tx is rendered correctly in tx history
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- chronik-for-tx-history-stack
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 20350 Build 40373: Build Diff cashtab-tests Build 40372: arc lint + arc unit
Event Timeline
Burning partial amount of tokens works fine however when you choose to burn the entire balance of the token it gets into a continuous loop when it routes back to the TxHistory screen as below:
It's getting stuck somewhere after 'chronikTxHistory as flatterend array, sorted by...' and before the 'tokenInfoById' update, so it could be related to the caching of token info in cashtabCache. i.e. when the full balance is burnt, I don't think I've seen any diff that removes it from token cache. Not sure if that is causing this.
Having said that, the tx history is still getting updated with the burn tx all ok, so there's probably a gap somewhere that is not recognizing the burn token tx as part of the usual utxo update and thus not removing the passLoadingStatus.
I'm able to recreate this. I've created a separate task for this issue at T2716, which exists in prod at Cashtab.com and does not appear related to this diff.