Closed joaosa closed 4 months ago
I think we should probably give each of these cases different names - we can make it easier to understand exactly where the process failed AND give the operator better intuition about whether the transaction actually made it to a validator... what do you think?
You make excellent points. Indeed all failures happen in different contexts. I took your suggestions and modified filenames accordingly. Also extracted a function for that to keep it DRY.
Also, given that all failure filenames are going to be different it makes sense to sort them based on when they occurred, so I moved the timestamp before the filename. Wdyt?
sounds great - I've approved, thanks!
It makes more sense for the output file to be called
SuccessfulPayouts
since it contains the addresses that have been paid and not those which failed.I left everything else the same.