Skip to content
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

Pre-indexed collections has incorrect count #34

Open
vikiival opened this issue Aug 2, 2024 · 1 comment · Fixed by #35
Open

Pre-indexed collections has incorrect count #34

vikiival opened this issue Aug 2, 2024 · 1 comment · Fixed by #35
Labels

Comments

@vikiival
Copy link
Member

vikiival commented Aug 2, 2024

Describe the bug

Some collections that were pre-indexed, does not calculate with the update of supply,
therefore
you have 7 items and one count

To Reproduce
Steps to reproduce the behavior:

Expected behavior

I expect that
select nft_count from collection_entity where id = ${id}
should be equal to
select count(*) as nft_count from nft_entity where collection_id = ${id}

Screenshots

Screenshot 2024-08-02 at 15 55 30

Screenshot 2024-08-02 at 15 58 45

Additional context
Add any other context about the problem here.

@vikiival vikiival added the base label Aug 2, 2024
@vikiival vikiival linked a pull request Aug 2, 2024 that will close this issue
@vikiival vikiival reopened this Aug 2, 2024
@vikiival
Copy link
Member Author

vikiival commented Aug 8, 2024

Screenshot 2024-08-08 at 12 39 22

I was able to fix few but still an issue on few items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant