From 3682efeca6299a84845c25db6b1c24d5904c82af Mon Sep 17 00:00:00 2001 From: zemyblue Date: Fri, 22 Jul 2022 19:04:43 +0900 Subject: [PATCH] chore: revert gRPC block height header. Signed-off-by: zemyblue --- server/grpc/server_test.go | 2 +- types/grpc/headers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/grpc/server_test.go b/server/grpc/server_test.go index edafceb83a..c014b521f0 100644 --- a/server/grpc/server_test.go +++ b/server/grpc/server_test.go @@ -190,7 +190,7 @@ func (s *IntegrationTestSuite) TestGRPCServer_BroadcastTx() { } // Test and enforce that we upfront reject any connections to baseapp containing -// invalid initial x-lbm-block-height that aren't positive and in the range [0, max(int64)] +// invalid initial x-cosmos-block-height that aren't positive and in the range [0, max(int64)] // See issue https://github.com/cosmos/cosmos-sdk/issues/7662. func (s *IntegrationTestSuite) TestGRPCServerInvalidHeaderHeights() { t := s.T() diff --git a/types/grpc/headers.go b/types/grpc/headers.go index 58a728ce77..0915307958 100644 --- a/types/grpc/headers.go +++ b/types/grpc/headers.go @@ -2,5 +2,5 @@ package grpc const ( // GRPCBlockHeightHeader is the gRPC header for block height. - GRPCBlockHeightHeader = "x-lbm-block-height" + GRPCBlockHeightHeader = "x-cosmos-block-height" )