-
Notifications
You must be signed in to change notification settings - Fork 266
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
chore: disable API, GRPC, and GRPC web by default #2761
chore: disable API, GRPC, and GRPC web by default #2761
Conversation
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.
PR looks good to me, but not sure about the rationale for this decision. Why disable them by default?
Great question. I think it was motivated by this Slack thread. |
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.
thanks
Closes #2758 ## Testing ``` ./scripts/single-node.sh cat ~/.celestia-app/config/app.toml ``` Verified that ```toml [api] # Enable defines if the API server should be enabled. enable = false ``` ```toml [grpc] # Enable defines if the gRPC server should be enabled. enable = false ``` ```toml [grpc-web] # GRPCWebEnable defines if the gRPC-web should be enabled. # NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op. enable = false ``` (cherry picked from commit b786b08)
Closes #2758 ## Testing ``` ./scripts/single-node.sh cat ~/.celestia-app/config/app.toml ``` Verified that ```toml [api] # Enable defines if the API server should be enabled. enable = false ``` ```toml [grpc] # Enable defines if the gRPC server should be enabled. enable = false ``` ```toml [grpc-web] # GRPCWebEnable defines if the gRPC-web should be enabled. # NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op. enable = false ``` (cherry picked from commit b786b08)
Closes #2758
Testing
Verified that