Skip to content

Shown era duration correctly in staking#11972

Merged
ap211unitech merged 2 commits into
masterfrom
fix/era-duration
Nov 5, 2025
Merged

Shown era duration correctly in staking#11972
ap211unitech merged 2 commits into
masterfrom
fix/era-duration

Conversation

@ap211unitech
Copy link
Copy Markdown
Member

📝 Description

This PR aims to fix era duration calculation for Staking Overview page. Era duration for Polkadot is 24h and for Kusama and Westend is 6h.

With this PR, we will be calculating it directly from on-chain data, unlike hardcoding it as last time.


image image

@ap211unitech ap211unitech merged commit b5599b3 into master Nov 5, 2025
5 checks passed
@ap211unitech ap211unitech deleted the fix/era-duration branch November 5, 2025 12:26
@polkadot-js-bot
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Nov 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants