mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-22 03:07:57 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user