Skip to content

Incorrect STX balance #804

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

Closed
zone117x opened this issue Oct 14, 2021 · 1 comment · Fixed by #817
Closed

Incorrect STX balance #804

zone117x opened this issue Oct 14, 2021 · 1 comment · Fixed by #817
Assignees
Labels
P1 Priority 1 Critical functionality not working Impacts all/most customers

Comments

@zone117x
Copy link
Member

See https://stacks-node-api.mainnet.stacks.co/extended/v1/address/SP1VA9HEH5VJFBCGJ6F8VF9BGS8WF6DJE9AD7856/stx

{
  "balance": "-144884439",
  "total_sent": "368999000",
  "total_received": "239000000",
  "total_fees_sent": "14885439",
  "total_miner_rewards_received": "0",
  "lock_tx_id": "",
  "locked": "0",
  "lock_height": 0,
  "burnchain_lock_height": 0,
  "burnchain_unlock_height": 0
}

https://explorer.stacks.co/address/SP1VA9HEH5VJFBCGJ6F8VF9BGS8WF6DJE9AD7856?chain=mainnet

@zone117x zone117x added the P1 Priority 1 Critical functionality not working Impacts all/most customers label Oct 14, 2021
@rafaelcr rafaelcr self-assigned this Oct 19, 2021
@rafaelcr
Copy link
Collaborator

After further investigation, @zone117x found that this issue is caued by a bug in the block re-org handling code related to microblocks. He's currently working on reproducing the issue in order to write a generalized fix.

@rafaelcr rafaelcr assigned zone117x and unassigned rafaelcr Oct 21, 2021
@zone117x zone117x mentioned this issue Oct 21, 2021
@zone117x zone117x linked a pull request Oct 21, 2021 that will close this issue
blockstack-devops pushed a commit that referenced this issue Oct 22, 2021
## [0.70.1](v0.70.0...v0.70.1) (2021-10-22)

### Bug Fixes

* api versioning ([4ade5ee](4ade5ee))
* microblock related re-org bug causing txs to be incorrectly orphaned [#804](#804) [#818](#818) ([bae619d](bae619d))
wileyj added a commit that referenced this issue Nov 16, 2021
* develop: (42 commits)
  feat: rosetta data api and construction validation with rosetta-cli
  feat: stx addr encoding LRU cache
  feat: add nft_custody pg materialized view to speed up nft event lookup
  fix: build/publish Dockerfile python installation issues
  Add utils module with script to display top address balances
  chore: standardize updates between websockets and socket.io
  fix: transaction broadcast log
  chore: change @kyranjamie to @rafaelcr on pr template
  chore: rename github references from blockstack/ to hirosystems/
  chore: fix flaky BNS tests #723
  feat: endpoint for list of transactions #647
  chore: update c32check and cross-sha256 (including transitive) dependencies
  feat: production-capable CPU profiling #641
  chore: add read-only to readme
  fix: export api version variable for resolution
  fix: microblock related re-org bug causing txs to be incorrectly orphaned #804 #818
  fix: api versioning
  fix(docs): ensure naming convention is followed
  fix: rosetta account/balance speed
  feat: add broadcast/confirmed tx logs
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Priority 1 Critical functionality not working Impacts all/most customers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants