the main point is in the question itself.
Let's assume the inflation rate
varies between 1% and 10%
. However, in the end, the inflation will always be 10%. In this link, you can find reasons for why it has been designed this way.
I'm curious about the most efficient method to modify this behavior so that what comes from the staking pallet is burned, with as few changes as possible. I assume we need to modify this in the staking pallet:
type RewardRemainder = Treasury;
But I'm unsure about the replacement. Should it be ()
? Or should we create a struct with a custom OnUnbalanced
implementation? Or perhaps there's another solution available?