-
Notifications
You must be signed in to change notification settings - Fork 239
fix: remove blacklist wiring from nodes #1788
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
Conversation
The latest Buf updates on your PR. Results from workflow Buf Proto / buf (pull_request).
|
@@ -134,13 +134,6 @@ func (s *ServerV2) StoreChunks(ctx context.Context, in *pb.StoreChunksRequest) ( | |||
return nil, api.NewErrorInvalidArg(fmt.Sprintf("failed to serialize batch header hash: %v", err)) | |||
} | |||
|
|||
// If the disperser is blacklisted and the blob authenticator is not nil, return an error | |||
// we don't want to blacklist the disperser if the blob authenticator is nil since that indicated v1 | |||
if s.node.BlacklistStore.IsBlacklisted(ctx, in.GetDisperserID()) && s.config.EnableV2 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given it's not longer used, consider also deleting the instantiation of the BlacklistStore
inside node.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will make the PR bigger, but sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deployed the latest commit and everything looks good.
* removing blacklist wiring and check * removing blacklist test * fixing unit tests * removing node initialization --------- Co-authored-by: anupsv <[email protected]>
fix: remove blacklist wiring from nodes (#1788) * removing blacklist wiring and check * removing blacklist test * fixing unit tests * removing node initialization --------- Co-authored-by: anupsv <[email protected]> Co-authored-by: anupsv <[email protected]>
* removing blacklist wiring and check * removing blacklist test * fixing unit tests * removing node initialization --------- Co-authored-by: anupsv <[email protected]>
* removing blacklist wiring and check * removing blacklist test * fixing unit tests * removing node initialization --------- Co-authored-by: anupsv <[email protected]>
Why are these changes needed?
We are removing the wiring of the blacklist feature. I.E we are removing the place where it is added to the list and the place where it was being checked. We are also removing the integration test which was testing these features.
Checks