Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client_for_proxy_worker -> worker_client #2893

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

ndr-ds
Copy link
Contributor

@ndr-ds ndr-ds commented Nov 14, 2024

Motivation

A lot of the code around this function changed, and I think we forgot to also update the name

Proposal

Change it from client_for_proxy_worker to worker_client. This is already inside GrpcProxy, so I think having proxy in the name is redundant. The name of the struct that this returns is ValidatorWorkerClient, so worker_client seemed to make the most sense.
I think (IMHO) this makes it a lot easier to understand what this function is returning.

Test Plan

CI

Release Plan

  • Nothing to do / These changes follow the usual release cycle.

Copy link
Contributor Author

ndr-ds commented Nov 14, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Contributor Author

ndr-ds commented Nov 15, 2024

Merge activity

  • Nov 15, 9:29 AM EST: A user started a stack merge that includes this pull request via Graphite.
  • Nov 15, 9:30 AM EST: A user merged this pull request with Graphite.

@ndr-ds ndr-ds merged commit 2686e80 into main Nov 15, 2024
22 checks passed
@ndr-ds ndr-ds deleted the 11-14-client_for_proxy_worker_-_worker_client branch November 15, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants