mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 23:48:06 -05:00
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:
3
changelog/pvl-rm-ctx-rm.md
Normal file
3
changelog/pvl-rm-ctx-rm.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Removed eager validator context cancellation that was causing validator builder registrations to fail occasionally.
|
||||||
@@ -123,7 +123,6 @@ func run(ctx context.Context, v iface.Validator) {
|
|||||||
cancel()
|
cancel()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
cancel()
|
|
||||||
// performRoles calls span.End()
|
// performRoles calls span.End()
|
||||||
rolesCtx, _ := context.WithDeadline(ctx, deadline)
|
rolesCtx, _ := context.WithDeadline(ctx, deadline)
|
||||||
performRoles(rolesCtx, allRoles, v, slot, &wg, span)
|
performRoles(rolesCtx, allRoles, v, slot, &wg, span)
|
||||||
|
|||||||
Reference in New Issue
Block a user