diff --git a/CHANGELOG.md b/CHANGELOG.md index f41dbb3ddbf2..cb0cc6344df4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i * (all) [#23445](https://github.com/cosmos/cosmos-sdk/pull/23445) Remove `v2` code from codebase. * (codec) [#22988](https://github.com/cosmos/cosmos-sdk/pull/22988) Improve edge case handling for recursion limits. +* (proto) [#23437](https://github.com/cosmos/cosmos-sdk/pull/23437) Deprecate `Block` field from `GetBlockByHeightResponse` and return empty comet block for `GetBlockByHeight`. ### Bug Fixes diff --git a/client/grpc/cmtservice/query.pb.go b/client/grpc/cmtservice/query.pb.go index ff1675cb3a6e..b4d139a638fd 100644 --- a/client/grpc/cmtservice/query.pb.go +++ b/client/grpc/cmtservice/query.pb.go @@ -381,7 +381,7 @@ func (m *GetBlockByHeightRequest) GetHeight() int64 { type GetBlockByHeightResponse struct { BlockId *v1.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // Deprecated: please use `sdk_block` instead - Block *v1.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` + Block *v1.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` // Deprecated: Do not use. SdkBlock *Block `protobuf:"bytes,3,opt,name=sdk_block,json=sdkBlock,proto3" json:"sdk_block,omitempty"` } @@ -425,6 +425,7 @@ func (m *GetBlockByHeightResponse) GetBlockId() *v1.BlockID { return nil } +// Deprecated: Do not use. func (m *GetBlockByHeightResponse) GetBlock() *v1.Block { if m != nil { return m.Block @@ -1223,103 +1224,103 @@ func init() { } var fileDescriptor_40c93fb3ef485c5d = []byte{ - // 1525 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xcb, 0x6f, 0xdb, 0x46, - 0x1a, 0x37, 0x25, 0xc7, 0x92, 0x3e, 0x65, 0x13, 0x7b, 0xec, 0x4d, 0x14, 0xad, 0xa3, 0x78, 0x05, - 0x6c, 0x9e, 0x6b, 0x32, 0x92, 0x63, 0x27, 0xbb, 0xc8, 0x66, 0x61, 0xc7, 0x59, 0xc7, 0xd9, 0x24, - 0x75, 0xe9, 0xa0, 0x05, 0x8a, 0x02, 0x04, 0x25, 0x8e, 0x68, 0xc2, 0x12, 0x67, 0xc2, 0x19, 0xa9, - 0x15, 0x8a, 0x02, 0x45, 0x4f, 0x3d, 0x16, 0xe8, 0xbf, 0xd0, 0x43, 0x7b, 0xeb, 0x21, 0x68, 0x6f, - 0x01, 0xda, 0x53, 0xd0, 0x53, 0x90, 0x02, 0x45, 0x90, 0x43, 0x51, 0x24, 0x05, 0xfa, 0x2f, 0xf4, - 0x58, 0xcc, 0x83, 0x14, 0x15, 0xdb, 0x91, 0x9d, 0x5b, 0x7b, 0x21, 0x66, 0xbe, 0xe7, 0xef, 0x7b, - 0xcc, 0x37, 0x43, 0x38, 0xdf, 0x24, 0xac, 0x43, 0x98, 0xd5, 0x70, 0x19, 0xb6, 0x38, 0x0e, 0x3d, - 0x1c, 0x75, 0x82, 0x90, 0x5b, 0xbd, 0x5a, 0x03, 0x73, 0xb7, 0x66, 0xdd, 0xef, 0xe2, 0xa8, 0x6f, - 0xd2, 0x88, 0x70, 0x82, 0x2a, 0x4a, 0xd6, 0x14, 0xb2, 0xe6, 0x40, 0xd6, 0xd4, 0xb2, 0xe5, 0x29, - 0xb7, 0x13, 0x84, 0xc4, 0x92, 0x5f, 0xa5, 0x52, 0xae, 0x34, 0x49, 0x07, 0xf3, 0x46, 0x8b, 0x5b, - 0xcd, 0xa8, 0x4f, 0x39, 0xb1, 0x7a, 0x35, 0x8b, 0x46, 0x84, 0xb4, 0x34, 0xff, 0x6f, 0x09, 0x9f, - 0xd6, 0xa9, 0x60, 0xf2, 0x3e, 0xc5, 0x4c, 0x33, 0x4f, 0x26, 0x4c, 0x49, 0x15, 0xec, 0x46, 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e9, 0xd5, 0x4c, - 0xa9, 0xbb, 0xbe, 0x6a, 0xe7, 0xa4, 0xec, 0xba, 0x87, 0x4c, 0x38, 0x24, 0x97, 0x3a, 0x07, 0xa5, - 0xbd, 0x74, 0x6c, 0x25, 0x86, 0xde, 0x86, 0x02, 0xf3, 0xb6, 0x1d, 0xa5, 0xa3, 0xea, 0xf7, 0x8f, - 0x51, 0xad, 0xa0, 0x00, 0x4f, 0x3f, 0x7b, 0x30, 0x7f, 0x54, 0x49, 0xce, 0x33, 0x6f, 0x7b, 0xee, - 0xa2, 0x79, 0xe9, 0xb2, 0x9d, 0x67, 0xde, 0xb6, 0x64, 0x57, 0x8f, 0xc3, 0x5f, 0x93, 0x46, 0x55, - 0x1e, 0x55, 0x36, 0xc4, 0x14, 0x38, 0xf6, 0x32, 0xe7, 0x4f, 0x12, 0xf3, 0x34, 0x4c, 0xad, 0x61, - 0xbe, 0xd9, 0x0f, 0x9b, 0xa2, 0x33, 0x75, 0xbc, 0x26, 0xa0, 0x34, 0x51, 0x87, 0x5a, 0x82, 0x1c, - 0x53, 0x24, 0x19, 0x69, 0xde, 0x8e, 0xb7, 0xd5, 0x19, 0x29, 0x7f, 0x97, 0x78, 0x78, 0x3d, 0x6c, - 0x91, 0xd8, 0xca, 0xb7, 0x06, 0x4c, 0x0f, 0x91, 0xb5, 0x9d, 0xdb, 0x30, 0xe5, 0xe1, 0x96, 0xdb, - 0x6d, 0x73, 0x27, 0x24, 0x1e, 0x76, 0x82, 0xb0, 0x45, 0x74, 0xee, 0xe6, 0x06, 0x79, 0xa0, 0x75, - 0x2a, 0xb2, 0xb0, 0xaa, 0x24, 0x13, 0x23, 0x47, 0xbd, 0x61, 0x02, 0x7a, 0x17, 0xa6, 0x5d, 0x4a, - 0xdb, 0x41, 0x53, 0x1e, 0x4a, 0xa7, 0x87, 0x23, 0x36, 0x18, 0xf9, 0x17, 0x46, 0x8e, 0x08, 0x25, - 0x2e, 0x4d, 0xa3, 0x94, 0x1d, 0x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 0xbd, 0x11, 0xdb, - 0x1b, 0xb8, 0xb3, 0x9a, 0xed, 0x00, 0x87, 0xdc, 0xf2, 0x23, 0xda, 0xb4, 0x9a, 0x1d, 0xce, 0xd4, - 0x1c, 0x6e, 0x4c, 0xc8, 0xbf, 0xae, 0x85, 0xdf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x77, 0x79, - 0x79, 0x14, 0x12, 0x00, 0x00, + // 1536 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xdd, 0x6f, 0x1b, 0xc5, + 0x16, 0xcf, 0xda, 0x69, 0x6c, 0x1f, 0xf7, 0xb6, 0xc9, 0x24, 0xb7, 0x75, 0x7d, 0x53, 0x37, 0xd7, + 0xd2, 0xed, 0xe7, 0xcd, 0x6e, 0xed, 0x34, 0x69, 0xef, 0x55, 0x29, 0x4a, 0x9a, 0x92, 0xa6, 0xb4, + 0x25, 0x6c, 0x2a, 0x90, 0x10, 0x92, 0xb5, 0xf6, 0x8e, 0x37, 0xab, 0xd8, 0x3b, 0xd3, 0x9d, 0xb1, + 0xc1, 0x42, 0x48, 0x88, 0x27, 0x1e, 0x91, 0xf8, 0x17, 0x78, 0x80, 0x37, 0x1e, 0x2a, 0x78, 0xab, + 0x04, 0x4f, 0x15, 0x4f, 0x55, 0x91, 0x50, 0xd5, 0x87, 0x0a, 0xb5, 0x48, 0xfc, 0x0b, 0x3c, 0xa2, + 0xf9, 0xd8, 0xf5, 0xba, 0x49, 0x6a, 0xa7, 0x88, 0x07, 0x5e, 0x56, 0x33, 0xe7, 0x6b, 0x7e, 0xbf, + 0x73, 0x66, 0xce, 0xcc, 0xc2, 0xd9, 0x06, 0x61, 0x6d, 0xc2, 0xac, 0xba, 0xc3, 0xb0, 0xc5, 0x71, + 0xe0, 0xe2, 0xb0, 0xed, 0x07, 0xdc, 0xea, 0x56, 0xea, 0x98, 0x3b, 0x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, 0xbb, 0x84, 0x96, 0xf6, 0x47, 0x2d, 0xae, 0xd8, 0x77, + 0x06, 0xe4, 0xe2, 0x4b, 0x03, 0x9d, 0x1f, 0x06, 0xe7, 0xc5, 0xab, 0xac, 0x58, 0xd9, 0x87, 0x87, + 0x86, 0x7c, 0xed, 0xc7, 0x1d, 0xaf, 0x87, 0x25, 0xc9, 0xe2, 0xbf, 0xe8, 0xec, 0x30, 0x16, 0x4e, + 0xbd, 0xe1, 0xd7, 0xe4, 0x6f, 0xda, 0xca, 0xad, 0x07, 0xcf, 0x4a, 0xc6, 0xc3, 0x67, 0x25, 0xe3, + 0x97, 0x67, 0x25, 0xe3, 0xf3, 0xe7, 0xa5, 0xb1, 0x87, 0xcf, 0x4b, 0x63, 0x8f, 0x9f, 0x97, 0xc6, + 0xde, 0x5b, 0xf0, 0x7c, 0xbe, 0xd5, 0xa9, 0x8b, 0x7b, 0x23, 0x8a, 0xd7, 0x5f, 0xce, 0x6a, 0xb4, + 0x7c, 0x1c, 0x70, 0xcb, 0x0b, 0x69, 0xc3, 0x6a, 0xb4, 0x39, 0x53, 0x7d, 0xb8, 0x3e, 0x21, 0xff, + 0xbc, 0x16, 0xfe, 0x08, 0x00, 0x00, 0xff, 0xff, 0x46, 0x99, 0x3d, 0xbd, 0x18, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/client/grpc/cmtservice/service.go b/client/grpc/cmtservice/service.go index aabbee441bea..b2be81541b6e 100644 --- a/client/grpc/cmtservice/service.go +++ b/client/grpc/cmtservice/service.go @@ -4,6 +4,7 @@ import ( "context" abci "github.com/cometbft/cometbft/api/cometbft/abci/v1" + v1 "github.com/cometbft/cometbft/api/cometbft/types/v1" gogogrpc "github.com/cosmos/gogoproto/grpc" gogoprotoany "github.com/cosmos/gogoproto/types/any" "github.com/grpc-ecosystem/grpc-gateway/runtime" @@ -109,7 +110,7 @@ func (s queryServer) GetBlockByHeight(ctx context.Context, req *GetBlockByHeight return &GetBlockByHeightResponse{ BlockId: &protoBlockID, - Block: protoBlock, + Block: &v1.Block{}, // fill with empty block to reduce response size SdkBlock: sdkBlock, }, nil } diff --git a/proto/cosmos/base/tendermint/v1beta1/query.proto b/proto/cosmos/base/tendermint/v1beta1/query.proto index c5462b523678..8b90a8456f44 100644 --- a/proto/cosmos/base/tendermint/v1beta1/query.proto +++ b/proto/cosmos/base/tendermint/v1beta1/query.proto @@ -106,7 +106,7 @@ message GetBlockByHeightResponse { .cometbft.types.v1.BlockID block_id = 1; // Deprecated: please use `sdk_block` instead - .cometbft.types.v1.Block block = 2; + .cometbft.types.v1.Block block = 2 [deprecated = true]; Block sdk_block = 3 [(cosmos_proto.field_added_in) = "cosmos-sdk 0.47"]; }