Skip to content

Pre-indexed collections has incorrect count #34

@vikiival

Description

@vikiival

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions