-
Notifications
You must be signed in to change notification settings - Fork 121
fix: optimize principal transaction lists and etags #2370
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
Conversation
|
Vercel deployment URL: https://stacks-blockchain-k8yngnz6y-hirosystems.vercel.app 🚀 |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Next step is to perform smoke tests on dev to compare consistency vs prod and check query response times for accounts with large numbers of transactions |
CharlieC3
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM pending validation in dev ![]()
## [9.0.0-next.1](v8.13.1...v9.0.0-next.1) (2025-12-04) ### ⚠ BREAKING CHANGES * consolidate db migrations into one file per table (#2392) * This change will require resyncing from genesis * optimize principal transaction lists and etags (#2370) ### Features * migrate default postgres schema ([2cc2459](2cc2459)) * migrate default postgres schema ([#2373](#2373)) ([eb183cf](eb183cf)) * optimize principal transaction lists and etags ([#2370](#2370)) ([30c63d7](30c63d7)) ### Bug Fixes * calculate burnchain reward reorgs correctly ([#2355](#2355)) ([f82efbc](f82efbc)) * do not display revoked pool delegations ([#2357](#2357)) ([c6de314](c6de314)) * push redis updates to a stream ([#2360](#2360)) ([2bfacf6](2bfacf6)) * sanitize event observer strings ([#2361](#2361)) ([2604539](2604539)) ### Miscellaneous Chores * consolidate db migrations into one file per table ([#2392](#2392)) ([60b8db0](60b8db0))
Introduces a new
principal_txstable to consolidate and optimize transaction tracking for principals, replacing the oldprincipal_stx_txstable with a more comprehensive solution that allows us to do direct SELECTs instead of calculating data on demand. The old table is kept intact for backwards compatibility.