Skip to content

Commit

Permalink
Wrong RPC path (w3f#4247)
Browse files Browse the repository at this point in the history
* Wrong RPC path 

I think the path should be "consts.staking.maxNominatorRewardedPerValidator" not query. Kusama is currently 512 but because of the wrong path the wiki shows the wrong default of 256. Would default "0" not be better so errors show up quicker?

* Update docs/maintain/maintain-guides-validator-payout.md

Co-authored-by: Keith Alfaro <keith4895@gmail.com>
  • Loading branch information
stakeworld and alfarok authored Dec 30, 2022
1 parent 628c4fa commit d78a9a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/maintain/maintain-guides-validator-payout.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ validator, then you will lose 1 DOT in each case.
:::caution

If a validator is oversubscribed in an era, staking rewards are distributed only to the the top
{{ polkadot: <RPC network="polkadot" path="query.staking.maxNominatorRewardedPerValidator" defaultValue={256}/> :polkadot }}
{{ kusama: <RPC network="kusama" path="query.staking.maxNominatorRewardedPerValidator" defaultValue={256}/> :kusama }}
{{ polkadot: <RPC network="polkadot" path="consts.staking.maxNominatorRewardedPerValidator" defaultValue={256}/> :polkadot }}
{{ kusama: <RPC network="kusama" path="consts.staking.maxNominatorRewardedPerValidator" defaultValue={512}/> :kusama }}
nominators and the rest of the nominators do not receive any rewards. This is not the case for
slashing! Every active nominator of the validator committing slashable offence will be slashed.

Expand Down

0 comments on commit d78a9a6

Please sign in to comment.