Skip to content

[V112-specific] Use totalEffectiveBond instead of totalBonded for Incentive Pendulum

[V112-specific]

Intended to close #1540 (closed)
'The Incentive Pendulum currently incentivises relative to the total Active bond, not the effective security bond or the total effective bond',
though further discussion is greatly welcome for that Issue.

This MR is intended to be a low-controversy change to ignore network-security-ineffective excess bonded RUNE in the Incentive Pendulum in the same way that it is ignored in churn block BondRewardRune distribution.

To put it one way, adding more RUNE to a bond above the effective bond should not make other nodes earn less.

To put it another way, doing something which doesn't change network security (adding network-security-ineffective RUNE to a bond)
should not change Incentive Pendulum pressure in the direction of incentivising lowering security.


It may be appropriate to later have a separate MR to address that (as described in the Issue)
since by definition effectiveSecurityBond can never exceed 2/3rds totalEffectiveBond,
even with this code change the driven-towards equilibrium point has effectiveSecurityBond that can be no higher than 4/3rds the Pool Module balance (and may be less),
since the Incentive Pendulum would drive towards an equilibrium where totalEffectiveBond were 2x the Pool Module balance,
and the effectiveSecurityBond could not be greater than 2/3rds of that (4/3rds of the Pool Module balance) while it could be lower.

Edited by Multipartite

Merge request reports