Comments (6)
OK, I think I see what's going on here:
let asset = scopes::asset::get_by_id(db, id, false).await?;
since include_no_supply: bool,
is set to false then the asset gets filtered by the das api frontend:
if !include_no_supply {
asset_data = asset_data.filter(Condition::all().add(asset::Column::Supply.gt(0)));
}
```
from digital-asset-rpc-infrastructure.
For some reason these assets have supply set to 0 after ingestion into the DB.
from digital-asset-rpc-infrastructure.
Look for flawed error handling where errors are silently swallowed, and a default value is set to zero.
from digital-asset-rpc-infrastructure.
It seems like there might be an issue with the API not being able to find the assets in the database. One possible reason could be that the assets were not properly indexed in the API's database.
To troubleshoot this issue, you can try the following steps:
-
Check if the assets are present in the API's database by querying the database directly. You can use a database client like
pgAdmin
to connect to the database and run a query to check if the assets are present. -
If the assets are present in the database, then there might be an issue with the API's indexing. You can try re-indexing the assets by running a script that updates the API's database with the latest data from the blockchain.
-
If the assets are not present in the database, then there might be an issue with the data pipeline that feeds data into the API's database. You can check the logs of the data pipeline to see if there are any errors or issues that might be causing the assets to not be properly indexed.
I hope this helps! Let me know if you have any further questions.
from digital-asset-rpc-infrastructure.
Yeah we added this filter to eliminate burned nfts.
This could be where the metadata shows up and they mint in a instruction or transaction later and somehow that's missed by the token account query to update the supply of the nft
from digital-asset-rpc-infrastructure.
This looks like it was fixed already by patch submitted.
from digital-asset-rpc-infrastructure.
Related Issues (20)
- Potential issue with redeem indexing of transactions HOT 1
- When 1.16 is out upgrade to use stack height changes from blockbuster HOT 1
- Feat: Out of order updates: if we see a missing mint, push that to be backfilled HOT 1
- All Seller Fee Basis Points Indexed as 0 HOT 1
- Outdated init.sql HOT 2
- Consider removing `name` and `symbol` from chain data and just use raw_name and raw_symbol
- Return metadata in raw format
- Question: Get owner from PDA if the owner is off-curve
- Reading from snapshot during the startup
- Decompression indexing authority HOT 1
- Validator slot falling behind when enabled `nft_ingester`. HOT 4
- [Feature] Tree Sequence Based Backfilling HOT 5
- [Bug] saving cl_audit records is not idempotent HOT 1
- Replace `cl_audits` table with `tree_transactions` HOT 2
- [Proposal] Project Structure and DAS Operations HOT 3
- Ingestion congestion from inserting backfill_items
- [Proposal] getAssetSignatures method response schema
- [RFC] Solana Transaction Structures HOT 4
- Store transaction status in plerkle serialised format
- Proposal: gRPC based indexer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from digital-asset-rpc-infrastructure.