substrate-node-template and just explored the feature. I've managed to add validators and nominators and it looks like everything is working well.
One thing I'm not able to figure out is how the rewards are being distributed. I've been watching the events at the end of every era and it looks like only
Staking.EraPaid is being fired.
From what I understand from the discussion here, What does the Staking.EraPaid event mean? , I should be getting the events
Staking.Rewarded as well.
I guess I'm trying to figure out the following
- Which pallet is actually distributing the rewards?
- Is there anything I need to define for the Payouts to happen?