Files
pezkuwi-apps/packages
Satoshi Qazi Muhammed 405fb9ce30 Read the active validator set from the relay session on Asset Hub staking
Connected to Asset Hub, the staking page asked the relay for
derive.staking.validators. The api only offers the staking derives on a
chain with the staking pallet, and the Pezkuwi relay carries only
stakingAhClient, so rcApi.derive.staking is undefined: the page rendered,
then crashed with "reading 'validators'" once the relay api connected.

Neither chain can answer that derive alone. Take the active set from the
relay's session.validators (Asset Hub's session set is its collators) and
the next elected set from Asset Hub, where staking lives, in the shape the
derive returns.
2026-10-12 12:15:57 +04:00
..
2026-10-12 11:20:27 +04:00
2026-10-12 11:20:27 +04:00
2026-10-12 01:46:05 +04:00
2026-10-10 06:02:46 +04:00
2026-10-12 11:20:27 +04:00
2026-10-12 11:20:27 +04:00
2026-10-12 11:20:27 +04:00
2026-10-12 01:46:05 +04:00