Commit f8771fe
committed
feat(validator): submit weights on startup if missed
If validator starts mid-epoch (after CommitWindowOpen), it now:
1. Waits 2 minutes for initialization
2. Checks if weights were already submitted (has_pending_commits)
3. If not, submits weights immediately
Also refactored weight submission logic into reusable submit_weights_for_epoch() function.1 parent 10332c3 commit f8771fe
1 file changed
+296
-252
lines changed
0 commit comments