fix: resolve parentId for Asset Hub staking to relay chain

ValidatorProvider, DirectStakingProperties, and DirectStakingRecommendation
were querying Asset Hub chainId for staking data (validators, exposures,
minStake, maxNominations) but these live on the relay chain. Added
chain.parentId resolution so parachain staking correctly routes to relay.

Also:
- Add VoterBagsList pallet support (Pezkuwi naming)
- Wrap BagListRepository queries in runCatching for binding compat
- Remove debug logging
This commit is contained in:
Kurdistan Tech Ministry committed 2026-02-15 22:25:48 +03:00
1 parent ffae9159fe
commit fa17968108
8 files changed
+34 -38

No files matched your search

@@ -42,6 +42,7 @@ class ProxyCallFilterFactory {
WhiteListFilter(Modules.SLOTS),
WhiteListFilter(Modules.AUCTIONS),
WhiteListFilter(Modules.VOTER_LIST),
WhiteListFilter(Modules.VOTER_BAGS_LIST),
WhiteListFilter(Modules.NOMINATION_POOLS),
WhiteListFilter(Modules.FAST_UNSTAKE)
)
@@ -62,6 +63,7 @@ class ProxyCallFilterFactory {
WhiteListFilter(Modules.UTILITY),
WhiteListFilter(Modules.FAST_UNSTAKE),
WhiteListFilter(Modules.VOTER_LIST),
WhiteListFilter(Modules.VOTER_BAGS_LIST),
WhiteListFilter(Modules.NOMINATION_POOLS)
)