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

[DataApi] Handle Deregisterd operator errors #260

Merged
merged 8 commits into from
Feb 28, 2024

Conversation

siddimore
Copy link
Contributor

Why are these changes needed?

Add ProcessOperatorErrorDetail when their is error processing specific operator

Example:

When no socket information is found for an operator
https://dataapi-goerli.eigenda.xyz/api/v1/operators-info/deregistered-operators
Response:
{"error":"no socket found for operator"}

Checks

  • I've made sure the lint is passing in this PR.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, in that case, please comment that they are not relevant.
  • Testing Strategy
    • Unit tests
    • Integration tests
    • This PR is not tested :(

@siddimore siddimore requested review from dmanc and jianoaix February 19, 2024 00:49
@siddimore siddimore changed the title [DataApi ]Deregisterd operator errors [DataApi]Deregisterd operator errors Feb 19, 2024
@siddimore siddimore changed the title [DataApi]Deregisterd operator errors [DataApi]Handle Deregisterd operator errors Feb 19, 2024
@siddimore siddimore changed the title [DataApi]Handle Deregisterd operator errors [DataApi] Handle Deregisterd operator errors Feb 19, 2024
@siddimore siddimore marked this pull request as ready for review February 19, 2024 16:05
disperser/dataapi/operators_info_handlers.go Show resolved Hide resolved
disperser/dataapi/subgraph_client.go Outdated Show resolved Hide resolved
disperser/dataapi/subgraph_client.go Outdated Show resolved Hide resolved
disperser/dataapi/docs/docs.go Outdated Show resolved Hide resolved
disperser/dataapi/server.go Outdated Show resolved Hide resolved
@siddimore siddimore merged commit b8f296b into Layr-Labs:master Feb 28, 2024
4 checks passed
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