ghost-portal/packages/page-staking-async
Arjun Porwal 9edb3bec12
Improved session keys UX (#11909)
* feat: adding stash info for relay chain

* feat: set session keys in relay chain explorer

* fix: remove session keys setting from asset hub ui

* feat: info fr setting session key

* Update packages/page-staking-async/src/Actions/SessionKeyInfo.tsx

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

* Update packages/page-staking-async/src/Actions/SessionKeyInfo.tsx

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

---------

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
2025-10-13 22:06:22 +05:30
..
src Improved session keys UX (#11909) 2025-10-13 22:06:22 +05:30
.skip-build
.skip-npm
package.json [CI Skip] bump/beta 0.166.2-3-x 2025-10-13 16:35:39 +00:00
README.md
tsconfig.build.json

@polkadot/app-staking-async

With Asset Hub migration, the workflow of the staking system will change. The "user interactions" (nominate, bond, etc) are by and large the same, yet some details outlined below will change:

On the relay chain, the session pallet will rotate session (aka. epochs) at a fixed rate as it did before. It will send these to AH in the form of a SessionReport message. Possibly, it will also send messages about offences to AH so that they can be applied and actually slash staker balances in AH.

pallet-session on the relay chain will only interact with pallet-staking-async-ah-client. ah-client could at any point, if it has one, return a validator set to session to be used for the next session.

In any session change in pallet-session where a new validator set is activated, that SessionReport will contain two pieces of information:

More Info can be found here - https://hackmd.io/7PiBrGxxRG2ib-WRZYJZhQ