Validator: Remove early context cancellation. (#15369)

This is causing issues where submitting validator registrations and proposer settings were failing about 50% of the time in testing.
This commit is contained in:
Preston Van Loon
2025-06-02 14:38:14 -05:00
committed by GitHub
parent 472c5da49e
commit 91b44360fc
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
### Fixed
- Removed eager validator context cancellation that was causing validator builder registrations to fail occasionally.

View File

@@ -123,7 +123,6 @@ func run(ctx context.Context, v iface.Validator) {
cancel()
continue
}
cancel()
// performRoles calls span.End()
rolesCtx, _ := context.WithDeadline(ctx, deadline)
performRoles(rolesCtx, allRoles, v, slot, &wg, span)