File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ func TestDefaultForMode_ValidatorDisablesServices(t *testing.T) {
3434 if cfg .API .REST .Enable {
3535 t .Error ("validator should have REST API disabled" )
3636 }
37- if cfg .API .GRPC .Enable {
38- t .Error ("validator should have gRPC disabled" )
37+ if cfg .API .GRPCWeb .Enable {
38+ t .Error ("validator should have gRPC-web disabled (no current consumer; raw gRPC carries the price-feeder + cosmos-exporter traffic) " )
3939 }
4040 if cfg .EVM .HTTPEnabled {
4141 t .Error ("validator should have EVM HTTP disabled" )
@@ -48,6 +48,14 @@ func TestDefaultForMode_ValidatorDisablesServices(t *testing.T) {
4848 }
4949}
5050
51+ func TestDefaultForMode_ValidatorEnablesGRPC (t * testing.T ) {
52+ cfg := DefaultForMode (ModeValidator )
53+
54+ if ! cfg .API .GRPC .Enable {
55+ t .Error ("validator should have gRPC enabled (parity with sei-infra canonical EC2 deploy; price feeder + cosmos-exporter dial localhost:9090)" )
56+ }
57+ }
58+
5159func TestDefaultForMode_SeedHighConnections (t * testing.T ) {
5260 cfg := DefaultForMode (ModeSeed )
5361
Original file line number Diff line number Diff line change @@ -259,7 +259,6 @@ func applyValidatorOverrides(cfg *SeiConfig) {
259259 cfg .Network .P2P .AllowDuplicateIP = false
260260
261261 cfg .API .REST .Enable = false
262- cfg .API .GRPC .Enable = false
263262 cfg .API .GRPCWeb .Enable = false
264263 cfg .Storage .StateStore .Enable = false
265264
Original file line number Diff line number Diff line change 11{
2- "version" : " v0.0.14 "
2+ "version" : " v0.0.15 "
33}
You can’t perform that action at this time.
0 commit comments