mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-utils.git
synced 2026-07-12 15:45:50 +00:00
6f87826b23
These 3 assetIds (1001/1002/1003) were added in 173f08a with icons
pointing at novasamatech/nova-utils (Nova's own repo, not Pezkuwi's)
and generic names/priceIds - clearly copied from a template rather than
verified against Pezkuwi's actual chain state.
Verified live via @pezkuwi/api against wss://asset-hub-rpc.pezkuwichain.io:
api.query.assets.asset(1) -> Live, real supply (PEZ, correct)
api.query.assets.asset(1000) -> Live, real supply (USDT, correct)
api.query.assets.asset(1001) -> None (DOT, does not exist)
api.query.assets.asset(1002) -> None (ETH, does not exist)
api.query.assets.asset(1003) -> None (BTC, does not exist)
This is what caused wallet-android's StatemineAssetBalance to silently
never complete a sync for these 3 assets - it was fetching details for
assets that were never created in pallet-assets, not a wallet bug. Also
removes them from the new pezkuwi_assets_for_testBalance.json fixture
so the test doesn't assert on assets that were never real.
38 lines
1.7 KiB
JSON
38 lines
1.7 KiB
JSON
{
|
|
"description": "Per-asset fixture for exercising the REAL BalancesUpdateSystem -> AssetCache/AssetDao pipeline (not a raw low-level RPC query like chains_for_testBalance.json/BalancesIntegrationTest uses). Each entry asserts an `assets` DB row eventually gets written for that (chainId, assetId) pair for the mainnet Founder account - this is what actually caught the 2026-07-09 HEZ-on-Asset-Hub silent sync failure, which chains_for_testBalance.json's raw-query test could NOT have caught since it bypasses BalancesUpdateSystem entirely. The assertion is 'a row exists', not 'balance is non-zero' - a written zero-balance row is still valid proof the sync pipeline completed for that asset.",
|
|
"last_updated": "2026-07-09",
|
|
"account": "5CyuFfbF95rzBxru7c9yEsX4XmQXUxpLUcbj9RLg9K1cGiiF",
|
|
"assets": [
|
|
{
|
|
"chainId": "1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca",
|
|
"chainName": "Pezkuwi",
|
|
"assetId": 0,
|
|
"symbol": "HEZ"
|
|
},
|
|
{
|
|
"chainId": "e7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949",
|
|
"chainName": "Pezkuwi Asset Hub",
|
|
"assetId": 0,
|
|
"symbol": "HEZ"
|
|
},
|
|
{
|
|
"chainId": "e7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949",
|
|
"chainName": "Pezkuwi Asset Hub",
|
|
"assetId": 1,
|
|
"symbol": "PEZ"
|
|
},
|
|
{
|
|
"chainId": "e7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949",
|
|
"chainName": "Pezkuwi Asset Hub",
|
|
"assetId": 1000,
|
|
"symbol": "USDT"
|
|
},
|
|
{
|
|
"chainId": "69a8d025ab7b63363935d7d9397e0f652826c94271c1bc55c4fdfe72cccf1cfa",
|
|
"chainName": "Pezkuwi People",
|
|
"assetId": 0,
|
|
"symbol": "HEZ"
|
|
}
|
|
]
|
|
}
|