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

Oprs info parallel query #239

Merged
merged 2 commits into from
May 9, 2024
Merged

Oprs info parallel query #239

merged 2 commits into from
May 9, 2024

Conversation

samlaf
Copy link
Collaborator

@samlaf samlaf commented May 9, 2024

created on top of #238 so should merge that first, which will simplify this PR.

What Changed?

Reviewer Checklist

  • Code is well-documented
  • Code adheres to Go naming conventions
  • Code deprecates any old functionality before removing it

@samlaf samlaf requested a review from shrimalmadhur May 9, 2024 22:21
panic(err)
wg.Wait()
if pubkeysErr != nil {
return errors.Join(errors.New("error querying existing registered operators"), pubkeysErr)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have a wrapErr function in utils now right? should use that

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

side note: actually don't like utils.wrapErr, wish it was in an errors module, so that we would do errors.wrapErr instead. we could import the sdk errors module as sdkerrors.wrapErr or something

fix operatorsinfo and rebuild mocks

fix bug

make operators-info query logs in parallel

fix lint issue
@samlaf samlaf force-pushed the oprs-info-parallel-query branch from 33a8b18 to 9320da8 Compare May 9, 2024 23:38
@samlaf samlaf merged commit 2bab9cc into master May 9, 2024
3 checks passed
@samlaf samlaf deleted the oprs-info-parallel-query branch May 9, 2024 23:53
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