pezkuwichain 67a246a760 fix(subquery): bump startBlocks past pruning window
Both governance and AH indexers were crashing at pruned blocks (RPC
nodes only retain last ~256 blocks of state). Bumping startBlock to
near-tip allows clean indexing forward from current state.

- governance: 57100 → 1228500 (relay tip - ~200)
- AH: 582592 → 1029200 (AH tip - ~200)

Loss: governance 57100-1228500 (mostly empty, pre-governance-activity);
AH 582592-1029200 (~410k blocks of staking/transfer data — postgres
state will be dropped, accept loss).

Long-term fix: provision Asset Hub archive node so reindexing from
genesis is possible without recurring pruning issues.
2026-05-23 05:08:16 -07:00

Pezkuwi SubQuery

SubQuery indexer for Pezkuwi blockchain - provides staking rewards, NominationPools, transfers and era validator data for PezWallet.

Projects

  • pezkuwi.yaml - Pezkuwi Relay Chain staking indexer
  • pezkuwi-assethub.yaml - Pezkuwi Asset Hub NominationPools and transfers indexer

Features

  • Staking rewards (Reward/Rewarded events)
  • Nomination Pool rewards (PaidOut events)
  • Slashing events (Slash/Slashed, PoolSlashed, UnbondingPoolSlashed)
  • Native transfers (balances.Transfer)
  • Asset transfers (assets.Transferred) - Asset Hub only
  • Era validator information (StakersElected/StakingElection)
  • Full transaction history (signed extrinsics)

Get Started

Install dependencies

yarn install

Build

yarn build

Local Development

sh local-runner.sh pezkuwi.yaml

Deploy to SubQuery Network

./node_modules/.bin/subql publish -f pezkuwi.yaml
./node_modules/.bin/subql publish -f pezkuwi-assethub.yaml

Endpoints

  • Pezkuwi Relay: wss://rpc.pezkuwichain.io
  • Pezkuwi Asset Hub: wss://asset-hub-rpc.pezkuwichain.io

License

Apache 2.0 - Based on Nova SubQuery implementation

S
Description
No description provided
Readme Apache-2.0 624 KiB
Languages
TypeScript 55.4%
JavaScript 23.6%
Python 16.4%
Shell 4.2%
Dockerfile 0.4%