Minor Issues Identified in runner
at validator/client/runner.go
#14253
Labels
Priority: Low
Low priority item
runner
at validator/client/runner.go
#14253
💎 Issue
Background
I noticed a few minor issues with
runner
atvalidator/client/runner.go
:slotCtx
is not cancelled upon return, which may cause a context leakage.span
is not closed on all execution paths, e.g., here.slotCtx
can be better scoped, e.g., in this invocation,slotCtx
seems a more appropriate option than the generalctx
due to its scope.I can proceed with a PR if we have a shared agreement on the enhancements related to these minor issues.
Description
The text was updated successfully, but these errors were encountered: