GithubHelp home page GithubHelp logo

basick's People

Contributors

vikiival avatar

Watchers

 avatar

basick's Issues

Invalid nft count

          > The only thing is that drop page is showing 0 mints (I minted two, + there are around 40 NFTs minted before me)

@vikiival the indexer returns nftCount: 0

{
  "data": {
    "collectionEntityById": {
      "id": "0x61fa91bc4df01c199f2c9576a2fe10ea206a55e1",
      "issuer": "0xE844b2a0a6453250c920BD2b4B7741946aB16C08",
      "meta": null,
      "nftCount": 0,
      "max": 256,
      "metadata": "ipfs://QmPyi8YmfjgktC3UGNiV1naeGK6Cg8rRxnNZRfCErpjf8g",
      "name": "Quadz",
      "currentOwner": "0xE844b2a0a6453250c920BD2b4B7741946aB16C08",
      "createdAt": "2024-07-19T14:37:41.904000Z",
      "__typename": "CollectionEntity"
    }
  }
}
`````

_Originally posted by @hassnian in https://github.com/kodadot/nft-gallery/issues/10670#issuecomment-2250334785_
            

Pre-indexed collections has incorrect count

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.