Follow up from #619
In kathmandu, some rpc fields changed names resulting in a python exception when calculating payouts.
The exception was inproperly caught, resulting the failed payouts to NOT be listed in the failed folder. Instead, they were listed in the done folder with a status of undefined.
We are missing a try/catch somewhere, so when such errors happen, we mark payout as failed, and an updated TRD can then reprocess the payouts without needing to manipulate files by hand.
To replicate:
- revert e1c5e4e
- run a payout where some delegators are KT1
Follow up from #619
In kathmandu, some rpc fields changed names resulting in a python exception when calculating payouts.
The exception was inproperly caught, resulting the failed payouts to NOT be listed in the
failedfolder. Instead, they were listed in thedonefolder with a status ofundefined.We are missing a try/catch somewhere, so when such errors happen, we mark payout as failed, and an updated TRD can then reprocess the payouts without needing to manipulate files by hand.
To replicate: