diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e5da624cd..f15dad68cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (x/collection) [\#571](https://github.com/line/lbm-sdk/pull/571) add x/collection proto * (x/collection) [\#574](https://github.com/line/lbm-sdk/pull/574) implement x/collection * (amino) [\600](https://github.com/line/lbm-sdk/pull/600) change amino codec path from `lbm-sdk/` to `cosmos-sdk/` +* (server/grpc) [\#607](https://github.com/line/lbm-sdk/pull/607) revert gRPC block height header. ### Improvements 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" )