Commit Graph

3 Commits

Author SHA1 Message Date
pezkuwichain e4b9ea062f test: verify Polkadot AH USDT sync too, not just Pezkuwi's own chains (#47)
The FullSyncPaymentUpdater ordering-bug fix isn't Pezkuwi-specific - it
affects any chain's assets on a busy shared subscription connection.
'USDT on Polkadot Asset Hub not showing' was one of the 3 original
symptoms reported at the start of this investigation, alongside Tron
being disabled and Pezkuwi's own tokens missing. Add it to the fixture
so the fix's coverage is actually verified end to end, not assumed.
2026-07-09 17:29:31 -07:00
pezkuwichain 6f87826b23 fix: remove DOT/ETH/BTC from Pezkuwi Asset Hub - never created on-chain (#46)
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.
2026-07-09 16:02:39 -07:00
pezkuwichain 1529de750f test: add per-asset balance fixture covering full Pezkuwi ecosystem (#44)
chains_for_testBalance.json only has one entry per chain (native balance
via a raw RPC query, bypassing the app's real sync pipeline entirely -
this is why it couldn't catch the 2026-07-09 HEZ-on-Asset-Hub silent
sync failure). This new fixture covers individual assets (HEZ/PEZ/USDT/
DOT/ETH/BTC across Pezkuwi's 3 chains) and is meant to drive a test that
goes through the real BalancesUpdateSystem -> AssetCache pipeline, which
is what actually caught that bug.
2026-07-09 12:12:12 -07:00