fix(x/auth): update proto address conversion query to prevent duplicate HTTP binding (backport #23357) (#23422)

Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2025-01-17 01:08:34 +01:00
committed by GitHub
co-authored by Tyler
parent 8da43091dc
commit f44a150767
13 changed files with 303 additions and 161 deletions
+74 -73
View File
@@ -958,79 +958,80 @@ func init() {
func init() { proto.RegisterFile("cosmos/auth/v1beta1/query.proto", fileDescriptor_c451370b3929a27c) }
var fileDescriptor_c451370b3929a27c = []byte{
// 1148 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcf, 0x6f, 0x1b, 0x45,
0x14, 0xf6, 0xa6, 0xa1, 0x49, 0x5f, 0xd2, 0x54, 0x8c, 0x5d, 0x11, 0xd6, 0xa9, 0x6d, 0x6d, 0x21,
0x71, 0x42, 0xbd, 0x5b, 0x3b, 0x6e, 0x0a, 0x91, 0x38, 0x64, 0x41, 0xad, 0x22, 0x04, 0x72, 0xb7,
0x15, 0x94, 0x5e, 0xac, 0xb5, 0xbd, 0x76, 0x56, 0xd4, 0xbb, 0xae, 0x77, 0x8d, 0x6a, 0x22, 0x0b,
0x84, 0x84, 0xd4, 0x03, 0x07, 0x24, 0xb8, 0x71, 0xc9, 0x9f, 0xc0, 0xc1, 0x12, 0x07, 0xb8, 0xc1,
0xa1, 0xe4, 0x54, 0x85, 0x0b, 0xe2, 0x80, 0x50, 0x82, 0x04, 0x7f, 0x06, 0xf2, 0xcc, 0xdb, 0x1f,
0x8e, 0xc7, 0xf6, 0xa6, 0xbd, 0xed, 0xce, 0xbc, 0xf7, 0xbd, 0xef, 0x7b, 0xf3, 0xe6, 0xbd, 0x81,
0x74, 0xd5, 0x76, 0x9a, 0xb6, 0xa3, 0xe8, 0x1d, 0x77, 0x4f, 0xf9, 0x34, 0x5f, 0x31, 0x5c, 0x3d,
0xaf, 0x3c, 0xea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x34, 0xab, 0xc8,
0xb5, 0xa9, 0x8d, 0x2c, 0x34, 0x36, 0xc5, 0x5c, 0x44, 0x6b, 0x64, 0xfd, 0xde, 0x28, 0xeb, 0x9b,
0xd3, 0x8b, 0xdc, 0x6f, 0x6f, 0x56, 0xdd, 0x0e, 0xda, 0xb7, 0xfa, 0xce, 0xd3, 0xe3, 0x94, 0xf0,
0xec, 0x38, 0x25, 0xfc, 0x7d, 0x9c, 0x12, 0xbe, 0x39, 0x49, 0xc5, 0x9e, 0x9d, 0xa4, 0x62, 0x7f,
0x9c, 0xa4, 0x62, 0x0f, 0xd6, 0x1b, 0xa6, 0xbb, 0xd7, 0xa9, 0xc8, 0x55, 0xbb, 0xe9, 0x01, 0x06,
0x41, 0x95, 0xc7, 0x0c, 0xdd, 0xed, 0xb6, 0x0c, 0xa7, 0x72, 0x9e, 0xbe, 0x9b, 0x37, 0xff, 0x0f,
0x00, 0x00, 0xff, 0xff, 0xa8, 0x40, 0x30, 0xd4, 0xe7, 0x0f, 0x00, 0x00,
// 1165 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcf, 0x6f, 0x1b, 0x55,
0x10, 0xf6, 0xa6, 0xa1, 0x49, 0x27, 0x69, 0x2a, 0x9e, 0x5d, 0x11, 0x36, 0xa9, 0x6d, 0x6d, 0x21,
0xbf, 0xc0, 0xbb, 0x8d, 0xe3, 0xa4, 0x10, 0x89, 0x43, 0x0c, 0x2a, 0x8a, 0x10, 0x95, 0xbb, 0xad,
0xa0, 0xe4, 0x62, 0xad, 0xbd, 0x1b, 0x67, 0x45, 0xbd, 0xcf, 0xf5, 0xae, 0x51, 0x43, 0x88, 0x90,
0x90, 0x90, 0x7a, 0xe0, 0x80, 0x04, 0x37, 0x2e, 0xf9, 0x13, 0x38, 0x44, 0xe2, 0x00, 0xdc, 0x4b,
0xb8, 0x54, 0xe1, 0x82, 0x38, 0x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0xcf,
0xfa, 0xb1, 0xae, 0x6f, 0x95, 0x48, 0x71, 0x00, 0x6f, 0xcd, 0xb4, 0xea, 0xd4, 0xb4, 0x82, 0x01,
0xc2, 0x77, 0xef, 0x7e, 0x9f, 0xca, 0xa0, 0xcf, 0x59, 0xe3, 0x5f, 0x43, 0xed, 0xb1, 0xdd, 0x3e,
0x58, 0xbb, 0xe8, 0x85, 0x31, 0x58, 0xbb, 0xf0, 0xe1, 0xa0, 0xdc, 0xee, 0xa7, 0x7d, 0x95, 0xac,
0x0c, 0x52, 0x61, 0x39, 0x71, 0xe5, 0xfc, 0x45, 0xb3, 0x4f, 0x7e, 0x90, 0x60, 0x22, 0xb2, 0xe8,
0xc8, 0xeb, 0x43, 0xa7, 0x60, 0x64, 0xe7, 0xca, 0x85, 0x84, 0xd6, 0x48, 0xfe, 0xbd, 0x5e, 0xf2,
0x37, 0x87, 0xdf, 0x90, 0x60, 0x36, 0x3a, 0xdb, 0x34, 0x9c, 0xfd, 0xe5, 0xb7, 0x9f, 0x9c, 0x64,
0xa5, 0xa7, 0x27, 0x59, 0xe9, 0xaf, 0x93, 0xac, 0xf4, 0xf5, 0x69, 0x36, 0xf5, 0xf4, 0x34, 0x9b,
0xfa, 0xfd, 0x34, 0x9b, 0xda, 0x5a, 0x6c, 0xd8, 0xde, 0x4e, 0xa7, 0xa6, 0xd6, 0x69, 0xd3, 0x07,
0x0c, 0x83, 0x6a, 0x8f, 0x38, 0xba, 0xb7, 0xdb, 0xb2, 0xdc, 0xda, 0x45, 0xf6, 0xe8, 0x5e, 0xf9,
0x3f, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x15, 0xa3, 0xf5, 0x24, 0x10, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
+102 -1
View File
@@ -357,6 +357,60 @@ func local_request_Query_AddressBytesToString_0(ctx context.Context, marshaler r
}
func request_Query_AddressBytesToString_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq AddressBytesToStringRequest
var metadata runtime.ServerMetadata
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["address_bytes"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "address_bytes")
}
protoReq.AddressBytes, err = runtime.Bytes(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "address_bytes", err)
}
msg, err := client.AddressBytesToString(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
func local_request_Query_AddressBytesToString_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq AddressBytesToStringRequest
var metadata runtime.ServerMetadata
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["address_bytes"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "address_bytes")
}
protoReq.AddressBytes, err = runtime.Bytes(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "address_bytes", err)
}
msg, err := server.AddressBytesToString(ctx, &protoReq)
return msg, metadata, err
}
func request_Query_AddressStringToBytes_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq AddressStringToBytesRequest
var metadata runtime.ServerMetadata
@@ -655,6 +709,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
})
mux.Handle("GET", pattern_Query_AddressBytesToString_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := local_request_Query_AddressBytesToString_1(rctx, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_Query_AddressBytesToString_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
mux.Handle("GET", pattern_Query_AddressStringToBytes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -902,6 +979,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
})
mux.Handle("GET", pattern_Query_AddressBytesToString_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := request_Query_AddressBytesToString_1(rctx, inboundMarshaler, client, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_Query_AddressBytesToString_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
mux.Handle("GET", pattern_Query_AddressStringToBytes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -962,7 +1059,9 @@ var (
pattern_Query_AddressBytesToString_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"cosmos", "auth", "v1beta1", "bech32", "address_bytes"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_AddressStringToBytes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"cosmos", "auth", "v1beta1", "bech32", "address_string"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_AddressBytesToString_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"cosmos", "auth", "v1beta1", "bech32", "decode", "address_bytes"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_AddressStringToBytes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"cosmos", "auth", "v1beta1", "bech32", "encode", "address_string"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_AccountInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"cosmos", "auth", "v1beta1", "account_info", "address"}, "", runtime.AssumeColonVerbOpt(false)))
)
@@ -984,6 +1083,8 @@ var (
forward_Query_AddressBytesToString_0 = runtime.ForwardResponseMessage
forward_Query_AddressBytesToString_1 = runtime.ForwardResponseMessage
forward_Query_AddressStringToBytes_0 = runtime.ForwardResponseMessage
forward_Query_AccountInfo_0 = runtime.ForwardResponseMessage