feat: add AH GraphQL engine + block handler for pool stakers init

- Add handleBlock to query live chain state for existing pool members
- Add second GraphQL engine container for Asset Hub schema (port 3001)
- Register block handler in pezkuwi-assethub.yaml
This commit is contained in:
2026-02-18 04:07:45 +03:00
parent 1c79402d5c
commit 7b58fa0e4a
3 changed files with 63 additions and 2 deletions
+3
View File
@@ -23,6 +23,9 @@ dataSources:
mapping:
file: ./dist/index.js
handlers:
# Block handler: initialize active pool stakers from chain state
- handler: handleBlock
kind: substrate/BlockHandler
# Signed extrinsics for history
- handler: handleHistoryElement
kind: substrate/CallHandler