You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was writing some tests with simd/v2, and the start command was failing because the gRPC server component could not bind to port 9090. I did not need the gRPC server for my test, so I set the config to Enable=false, but it still tried to bind to 9090.
The (*GRPCServer).Start method is short enough that it is easy to see it does not respect the Enable setting:
Is there an existing issue for this?
What happened?
I was writing some tests with simd/v2, and the
start
command was failing because the gRPC server component could not bind to port 9090. I did not need the gRPC server for my test, so I set the config toEnable=false
, but it still tried to bind to 9090.The
(*GRPCServer).Start
method is short enough that it is easy to see it does not respect theEnable
setting:cosmos-sdk/server/v2/api/grpc/server.go
Lines 73 to 94 in d426a5d
For my purposes, setting
Address=127.0.0.1:0
to bind to an anonymous port is a sufficient workaround, althoughEnabled=false
would be preferable.Cosmos SDK Version
main
How to reproduce?
No response
The text was updated successfully, but these errors were encountered: