The validators page (#4722) shows Slashed in validator details (#4327). Since p-js doesn't expose this information very well can do a better job to give operators and nominators insights\
When past slashes happened to also help nominators judging the reliability of a node.
If known show hints why slashes were applied (reasons are listed here and be linked in a tooltip.
When multiple slashes were applied to several nodes in an era, because one criterion to be slashed is: Slashing starts when 10% of the active validators set are offline and increases in a linear manner until 44% of the validator set is offline; at this point, the slash is held at 7%.
Steps
[ ] When Slashed is non-zero add a tooltip with information from staking.staking.slashingSpans.prior listing the era. Add this link for reference.
[ ] Include a list of affected nominators.
[ ] When other nodes were offline in the same era include also affected with a list of those validators. See also offences.concurrentReportsIndex: Vec<H256>A vector of reports of the same kind that happened at the same time slot.
[ ] Make it clear of there were non-zero slashes which were actual slashes or "just" being booted for being offline to give nominators more context of what might have happened.
[ ] At some point a separate tab dedicated to slashes would make sense for CM and others to better assess such chain events. There also is a SlashJournalEntry exposes more relevant information. (note that i haven't found this option in our chain state yet, please add if you know details):
It can help to include information about offences.reports which reflect when a validator was caught offline without prior chilling. As i understand singular im-offline reports are without penalty and only contain the list of nominators like so:
The validators page (#4722) shows
Slashed
in validator details (#4327). Since p-js doesn't expose this information very well can do a better job to give operators and nominators insights\Slashing starts when 10% of the active validators set are offline and increases in a linear manner until 44% of the validator set is offline; at this point, the slash is held at 7%
.Steps
Slashed
is non-zero add a tooltip with information fromstaking.staking.slashingSpans.prior
listing the era. Add this link for reference.also affected
with a list of those validators. See alsooffences.concurrentReportsIndex: Vec<H256>
A vector of reports of the same kind that happened at the same time slot.Details
For context: apparently there were multiple slashing spans during the early mainnet when the number of nodes was much less:
It can help to include information about
offences.reports
which reflect when a validator was caught offline without prior chilling. As i understand singular im-offline reports are without penalty and only contain the list of nominators like so: