Nexusoft / LLL-TAO

LLL: Lower Level Library - TAO: Tritium, Amine, and Obsidian as a high performance application framework
MIT License
61 stars 28 forks source link

Private Network - Account balances not updating following debit from token address #141

Closed Brad241 closed 1 year ago

Brad241 commented 1 year ago

Using the testnode. Prior to the test, I updated the node to the latest commit. (https://github.com/Nexusoft/LLL-TAO/commit/f6ac9f4414c1428d4007cde0048a448990088be2)

Actions:

  1. Created a token - success (get/transaction result screenshot below) image

  2. Created a token account - success image

  3. Debited the full token balance to the sig chain's token account (when I run finance/get/token the balance is shown as 0) image

Issue: When using finance/get/account or register/list/finance:accounts, the token account balance is 0 when it should be 20,000. I can confirm the correct token account was debited to, so it was not a user error. (see 2nd screenshot below)

image image

VidereLicet commented 1 year ago

Never seen debits fail, are you sure it was logged in? You need to give me circumstances I can replicate otherwise it's just guessing

Brad241 commented 1 year ago

After testing on two separate testnodes (I have a separate node for demos + the Nexus general testnode) whether I run sessions/unlock/local it does not result in the credits being claimed. If the transaction in manually credits, the tokens are claimed.

The tokens are successfully created, the accounts are created successfully, it appears that the transactions are completed, but the receiving account does not claim the tokens unless manually credited. This has only been tested with Tokens and not Assets. This has been replicated across a number of accounts and sig chains, so doesn't appear to be an isolated event.

Attached are the logs for the demo testnet. I have highlighted the POST profiles/notifications/master. There were no errors shown in the logs, however the debits were never claimed by the intended recipient account.

Evidence logs 1.pdf

VidereLicet commented 1 year ago

Was a simple issue, testnode has no connections since it's single node. Events weren't processing without, fixed with commit https://github.com/Nexusoft/LLL-TAO/commit/441807018dec9cf58b6c3cb810c834067bf0d44b