Open
Description
When using max_limit parameter along with fixed tax, reward mechanism does not take max_limit parameter value into account.
Example:
Given stake pool registration:
StakePool { ...,
rewards: TaxType {
fixed: Value(100),
ratio: Ratio { numerator: 0, denominator: 1 },
max_limit: Some(30)
}, ....
}
Actual reward: 100
Expected reward: 30