Skip to content

Conversation

ap211unitech
Copy link
Member

@ap211unitech ap211unitech commented Sep 30, 2025

📝 Description

After the Asset Hub Migration (AHM), the list of nominated validators was not displaying correctly.
The issue was caused by slashing spans no longer existing on Asset Hub, which removed the storage item staking.slashingSpans.

This PR fixes the issue by refactoring the useInactives hook and related components.

🔧 Changes

  • Migrated a copy of the Actions folder into staking-async (from the original staking page) to avoid redundancy and handle the updated slashing flow. We could have kept all the logic for staking-async in the original version itself, but that would have been a bad idea — it would have resulted in highly complex and unnecessary code.

  • Refactored the useInactives hook and ListNominee component to correctly display validator information.

image

@ap211unitech ap211unitech self-assigned this Sep 30, 2025
@ap211unitech ap211unitech linked an issue Sep 30, 2025 that may be closed by this pull request
Base automatically changed from fix/validator-set-keys-ux to master October 1, 2025 16:40
@ap211unitech ap211unitech marked this pull request as ready for review October 1, 2025 16:41
@ap211unitech ap211unitech requested a review from TarikGul October 6, 2025 07:14
@ap211unitech ap211unitech linked an issue Oct 9, 2025 that may be closed by this pull request
Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ap211unitech ap211unitech merged commit ee4621e into master Oct 9, 2025
5 checks passed
@ap211unitech ap211unitech deleted the fix/slashing-spans branch October 9, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AHM] staking accounts page don't load on KAH Can not display validators info after AHM

2 participants