-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
token balance wrong values 3.2.5 and 3.2.6 #1783
Comments
@luckythai: Thanks for opening an issue, it is currently awaiting triage. The triage/accepted label can be added by foundation members by writing /triage accepted in a comment. DetailsI am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository. |
The dfi number is less. also on the dex and gettokenbalanced. defi.conf.zip |
Trying to figure out if this is an RPC issue or an indexing issue, could you run |
Yes, under getaccount the values and tokens are correct the same Defiscan. |
Could you check if the balances are correct when using this build? This build is from this PR. You can copy over the binaries from |
yes now the tokens and token values are correct with gettokenbalances. I took the zip version. the debug log is copied while node is running |
Node-HEAD integrated in the app, the display and number are incorrect, but in the app console using gettokenbalances, the token number and tokens are correct. The automatic pruning with the Node-HEAD (with a new snapshot using Node 3.2.1 and rescan) works faster on a low ram machine than before (7min, before 28min). The ram usage when pruning is the same as the Node 2.3.6-original. The sync afterwards is error-free. Everything works as a node. Haven't rescanned any of the 2 versions with the Node-HEAD. |
|
@jpressler @luckythai could you check with https://github.com/DeFiCh/ain/releases/tag/v3.2.7 and let us know if it resolves the issue? The new snapshots haven't been generated yet. Meanwhile, might a rollback to a block before the first on-chain governance cycle (say, block 2633960: 140b7877dbe43a6833dc6a9342ea148c1150a834fb50fa7d03a96a81c4805641) with
Could you let us know if this resolves it? |
With 3.2.7 the gettokenbalaces query works without error. For each query, the tokens and rewards match defiscan. The node also works in the app and all queries. invalidateblock results in error code: -20 error message: (code67) The reported errors no longer occur. |
Thanks @luckythai - much appreciated. Thanks for the info and helping the team debug the issue! The high utilisation will get resolved in the next network upgrade where we can remove some of the workarounds that's in place. Closing as resolved for now. |
What happened:
node 3.2.5 and node 3.2.6 the token amount deviates from the actual amount.
Even a rescan does not solve the problem.
When using the nodes in the app, incorrect (too few) dfi token numbers are displayed. Access via api delivers the correct values.
When used only as a full node, the number of tokens is also displayed incorrectly using gettoken balances.
After rescanning the database, the problem still exists and the number of tokens is also displayed incorrectly.
gettokenbalances shows the same wrong values in the console.
a downgrade to 3.2.4 solves the problem and the values are correct again. With the fullnode and with the fullnode app.
The text was updated successfully, but these errors were encountered: