-
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
Universe events stats handle universe identity proof type #561
Conversation
646b3d1
to
e90f314
Compare
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.
SGTM for the split approach.
I think we still need to decide if we go with split or unified on the RPC layer.
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.
Looks good as far as I can tell. Will do some manual testing once the base PR has been merged.
6bb6a33
to
b2d27d6
Compare
e90f314
to
fbab2ec
Compare
@Roasbeef stats are still aggregated as before. This PR adds proof type resolution to how we store stats, but stats are still queried and aggregated as before. |
The universe_stats view represents per asset/asset group aggregated stats. However, the universe namespace field is now specific to a proof type. This commit removes the namespace field from the stats group by.
fbab2ec
to
91186e6
Compare
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.
Did a bunch of manual testing and found a bunch of small things that should be fixed.
Summarized them in this commit (feel free to just take over/split into fixup commits): https://github.com/lightninglabs/taproot-assets/tree/561-fixups
With those fixes applied, I think this is ready to go.
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
111d885
to
dec1676
Compare
Depends on #540 . Do not merge this PR before merging #540 I've converted this PR to draft until all parent PRs have been merged.
This PR adds universe identity proof type support to universe events stats database SQL statements.