Post-v10 treegen improvements

Basically, to support v10, we removed rolling records, so treegen is slow again.

One way to speed it up would be to desist from populating the missingAttestationSlots from the minipool-performance json, which is generated only for debugging purposes.

If we can tell you which epochs you missed instead of which specific slots, we can reduce the runtime substantially. We will infer the epochs based on the absence of an attestation for a validator in a given epoch for which it was eligible to receive a duty.

  • This would not bother me
  • This would bother me
0 voters
1 Like

Seems a non-issue, especially if there’s some kinda configured to one-off populate for debug when desired

Eh, on second thought, this isn’t feasible- committee positions come from the same query, and we need those to determine which validator each attestation bit represents.

Instead I’ll probably try to integrate zrnt to do state transition logic during treegen, and validate its results with state roots.