Colm3na / polkastats-backend-v3

polkastats.io backend repository
Apache License 2.0
17 stars 15 forks source link

Wrong era progress in Westend #188

Open mariopino opened 4 years ago

mariopino commented 4 years ago

Describe the bug

Take in account force era status!

If force era is active a new era starts at the end of each session.

const forceEra = await api.query.staking.forceEra();
console.log(JSON.stringify(forceEra, null, 2));

Westend:

"AlwaysForcing"

Kusama:

"NotForcing"

To Reproduce

Expected behavior

Screenshots

Additional context