Description:
ETH tokens - I tested only with LINK currency, but it seems to be a problem for all ETH tokens - are not synced first time after creating System after Account restore. After creating system I added LINK wallet, but it didn't sync, I know I have non-zero balance from before, but it shows 0 balance.
After debugging I found out that LINK wallet is automatically added to the system if there is non-zero balance. But after restore, System has available only currencies bundled with SDK, so in this case wallet is not added, since SDK has no currency definition. If I try to add wallet for ETH token later after currencies are already fetched from remote, it doesn't help, wallet is still not synced. I have to note, that this bug was not reproducible on Google Pixel 5, And 12, so it might be more prominent on slower/older devices.
If user creates system again (after currencies are fetched and cached) then it is synced correctly and shows non-zero balance.
Environment:
Reproduction steps:
- Restore
Account that has some balance on LINK or other ETH token currency.
- Show LINK wallet if not already shown.
Expected result:
Non-zero balance on LINK currency.
Actual result:
Zero balance with wallet in CONNECTED state.
Description:
ETH tokens - I tested only with LINK currency, but it seems to be a problem for all ETH tokens - are not synced first time after creating
SystemafterAccountrestore. After creating system I added LINK wallet, but it didn't sync, I know I have non-zero balance from before, but it shows 0 balance.After debugging I found out that LINK wallet is automatically added to the system if there is non-zero balance. But after restore,
Systemhas available only currencies bundled with SDK, so in this case wallet is not added, since SDK has no currency definition. If I try to add wallet for ETH token later after currencies are already fetched from remote, it doesn't help, wallet is still not synced. I have to note, that this bug was not reproducible on Google Pixel 5, And 12, so it might be more prominent on slower/older devices.If user creates system again (after currencies are fetched and cached) then it is synced correctly and shows non-zero balance.
Environment:
Reproduction steps:
Accountthat has some balance on LINK or other ETH token currency.Expected result:
Non-zero balance on LINK currency.
Actual result:
Zero balance with wallet in
CONNECTEDstate.