Illustrates how to reset WG debt, particularly the distribution working group debt. The debt amount displayed in pioneer is the cumulative sum of each missed_reward
for each worker.
The missed reward is increased when the WG budget is not sufficient in order to pay the worker the reward per block at the beginning each reward cycle.
The solution is to fire and hire each worker. distId
denotes the distribution bucket id the oldId
worker is serving
<aside> 💡 WORKERS SHOULD CARRY OUT ONLY STEPS WITH ORANGE BACKGROUND (lead will take care of the rest)
</aside>
<aside> 💡 STEPS SHOULD BE SERIALIZED TO HAVE AT MOST 1 OPERATOR NON DISTRIBUTING AT EACH TIME
</aside>
<MEMBER_HANDLE>
/ <MEMBER_ID>
(or some other member identifier for the previous workerdistId
as non distributingoldId
operatorTerminating the role removes all worker info from chain, including missed_reward
thus decreasing the budget debt
oldId
for operator