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

Cleanup disperser apiserver #278

Closed

Conversation

mooselumph
Copy link
Collaborator

Why are these changes needed?

Breaks up server.go into more specific files.

Separates out the request validation and improves metric coverage.

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 :(

defer timer.ObserveDuration()

securityParams := blob.RequestHeader.SecurityParams
if len(securityParams) == 0 {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These validation errors aren't currently resulting in a call to s.metrics.HandleFailedRequest(quorumId, blobSize, "DisperseBlob")

@mooselumph mooselumph closed this Feb 23, 2024
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.

1 participant