From 04a07b16f30e9e0eae44e6c5a26c7b3f3802fc7e Mon Sep 17 00:00:00 2001 From: TimmyExogenous Date: Tue, 15 Oct 2024 14:41:38 +0800 Subject: [PATCH] add parameter for url of the google api when defining RPC check the AVS address and convert it to lower case in the command line --- proto/exocore/operator/v1/query.proto | 28 ++- x/operator/client/cli/query.go | 29 ++- x/operator/keeper/grpc_query.go | 6 +- x/operator/types/query.pb.go | 337 ++++++++++++-------------- x/operator/types/query.pb.gw.go | 186 +++++++++++++- 5 files changed, 379 insertions(+), 207 deletions(-) diff --git a/proto/exocore/operator/v1/query.proto b/proto/exocore/operator/v1/query.proto index da30a63b5..6bec82d0e 100644 --- a/proto/exocore/operator/v1/query.proto +++ b/proto/exocore/operator/v1/query.proto @@ -31,18 +31,18 @@ message QueryAllOperatorsResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// OperatorAVSAddressDetails includes the address of operator and AVS -message OperatorAVSAddressDetails { +// OperatorAVSAddress includes the address of operator and AVS +message OperatorAVSAddress { // operator_addr should be the string type of sdk.AccAddress string operator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // avs_address is the address of the AVS - either an 0x address or a chainID. - string avs_address = 2 [(gogoproto.customname) = "AVSAddress"]; + string avs_address = 2; } // QueryOperatorUSDValueRequest is the request to obtain the USD value for operator. message QueryOperatorUSDValueRequest { - // details is the operator and AVS address - OperatorAVSAddressDetails details = 1; + // operator_and_avs is the operator and AVS address + OperatorAVSAddress operator_and_avs = 1 [(gogoproto.embed) = true];; } // QueryOperatorUSDValueResponse is the response to obtain the USD value for operator. @@ -62,8 +62,8 @@ message QueryAVSUSDValueRequest { // QueryOperatorSlashInfoRequest is the request to obtain the slash information for the specified // operator and AVS message QueryOperatorSlashInfoRequest { - // details is the operator and AVS address - OperatorAVSAddressDetails details = 1; + // operator_and_avs is the operator and AVS address + OperatorAVSAddress operator_and_avs = 1 [(gogoproto.embed) = true]; // pagination related options. cosmos.base.query.v1beta1.PageRequest pagination = 2; } @@ -217,8 +217,8 @@ message QueryAllAVSsByOperatorResponse { // QueryOptInfoRequest is the request to obtain the opted information of specified operator // and AVS message QueryOptInfoRequest { - // details is the operator and AVS address - OperatorAVSAddressDetails details = 1; + // operator_and_avs is the operator and AVS address + OperatorAVSAddress operator_and_avs = 1 [(gogoproto.embed) = true]; } // Query defines the gRPC querier service. @@ -265,7 +265,9 @@ service Query { // QueryOperatorUSDValue queries the opted-in USD value for the operator rpc QueryOperatorUSDValue(QueryOperatorUSDValueRequest) returns(QueryOperatorUSDValueResponse){ - option (google.api.http).get = "/exocore/operator/v1/QueryOperatorUSDValue"; + option (google.api.http).get = + "/exocore/operator/v1/QueryOperatorUSDValue/{operator_and_avs.operator_addr}/" + "{operator_and_avs.avs_address}"; } // QueryAVSUSDValue queries the USD value for the AVS @@ -275,7 +277,9 @@ service Query { // QueryOperatorSlashInfo queries the slash information for the specified operator and AVS rpc QueryOperatorSlashInfo(QueryOperatorSlashInfoRequest) returns(QueryOperatorSlashInfoResponse){ - option (google.api.http).get = "/exocore/operator/v1/QueryOperatorSlashInfo"; + option (google.api.http).get = + "/exocore/operator/v1/QueryOperatorSlashInfo/{operator_and_avs.operator_addr}/" + "{operator_and_avs.avs_address}"; } // QueryAllOperatorConsAddrsByChainID queries all operators and their consensus addresses @@ -306,7 +310,7 @@ service Query { // QueryOptInfo queries specified opted information. rpc QueryOptInfo(QueryOptInfoRequest) returns (OptedInfo) { option (google.api.http) = { - get: "/exocore/operator/v1/opt_info" + get: "/exocore/operator/v1/opt_info/{operator_and_avs.operator_addr}/{operator_and_avs.avs_address}" }; } } \ No newline at end of file diff --git a/x/operator/client/cli/query.go b/x/operator/client/cli/query.go index 745d01498..0b28e6ed7 100644 --- a/x/operator/client/cli/query.go +++ b/x/operator/client/cli/query.go @@ -2,6 +2,7 @@ package cli import ( "context" + "strings" "github.com/ExocoreNetwork/exocore/x/avs/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -261,15 +262,18 @@ func QueryOperatorUSDValue() *cobra.Command { if err != nil { return xerrors.Errorf("invalid operator address,err:%s", err.Error()) } + if !common.IsHexAddress(args[1]) { + return xerrors.Errorf("invalid avs address,err:%s", types.ErrInvalidAddr) + } clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err } queryClient := operatortypes.NewQueryClient(clientCtx) req := &operatortypes.QueryOperatorUSDValueRequest{ - Details: &operatortypes.OperatorAVSAddressDetails{ + OperatorAVSAddress: &operatortypes.OperatorAVSAddress{ OperatorAddr: args[0], - AVSAddress: args[1], + AvsAddress: strings.ToLower(args[1]), }, } res, err := queryClient.QueryOperatorUSDValue(context.Background(), req) @@ -292,13 +296,16 @@ func QueryAVSUSDValue() *cobra.Command { Long: "Get the USD value for the avs", Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { + if !common.IsHexAddress(args[0]) { + return xerrors.Errorf("invalid avs address,err:%s", types.ErrInvalidAddr) + } clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err } queryClient := operatortypes.NewQueryClient(clientCtx) req := &operatortypes.QueryAVSUSDValueRequest{ - AVSAddress: args[0], + AVSAddress: strings.ToLower(args[0]), } res, err := queryClient.QueryAVSUSDValue(context.Background(), req) if err != nil { @@ -325,6 +332,9 @@ func QueryOperatorSlashInfo() *cobra.Command { if err != nil { return xerrors.Errorf("invalid operator address,err:%s", err.Error()) } + if !common.IsHexAddress(args[1]) { + return xerrors.Errorf("invalid avs address,err:%s", types.ErrInvalidAddr) + } clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err @@ -335,9 +345,9 @@ func QueryOperatorSlashInfo() *cobra.Command { } queryClient := operatortypes.NewQueryClient(clientCtx) req := &operatortypes.QueryOperatorSlashInfoRequest{ - Details: &operatortypes.OperatorAVSAddressDetails{ + OperatorAVSAddress: &operatortypes.OperatorAVSAddress{ OperatorAddr: args[0], - AVSAddress: args[1], + AvsAddress: strings.ToLower(args[1]), }, Pagination: pageReq, } @@ -372,7 +382,7 @@ func QueryAllOperatorsWithOptInAVS() *cobra.Command { queryClient := operatortypes.NewQueryClient(clientCtx) req := operatortypes.QueryAllOperatorsByOptInAVSRequest{ - Avs: args[0], + Avs: strings.ToLower(args[0]), } res, err := queryClient.QueryAllOperatorsWithOptInAVS(context.Background(), &req) if err != nil { @@ -431,15 +441,18 @@ func GetOptInfo() *cobra.Command { if err != nil { return xerrors.Errorf("invalid operator address,err:%s", err.Error()) } + if !common.IsHexAddress(args[1]) { + return xerrors.Errorf("invalid avs address,err:%s", types.ErrInvalidAddr) + } clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err } queryClient := operatortypes.NewQueryClient(clientCtx) req := &operatortypes.QueryOptInfoRequest{ - Details: &operatortypes.OperatorAVSAddressDetails{ + OperatorAVSAddress: &operatortypes.OperatorAVSAddress{ OperatorAddr: args[0], - AVSAddress: args[1], + AvsAddress: strings.ToLower(args[1]), }, } res, err := queryClient.QueryOptInfo(context.Background(), req) diff --git a/x/operator/keeper/grpc_query.go b/x/operator/keeper/grpc_query.go index ee3458080..1273cff3b 100644 --- a/x/operator/keeper/grpc_query.go +++ b/x/operator/keeper/grpc_query.go @@ -179,7 +179,7 @@ func (k Keeper) QueryAllOperatorConsAddrsByChainID( func (k *Keeper) QueryOperatorUSDValue(ctx context.Context, req *types.QueryOperatorUSDValueRequest) (*types.QueryOperatorUSDValueResponse, error) { c := sdk.UnwrapSDKContext(ctx) - optedUSDValues, err := k.GetOperatorOptedUSDValue(c, req.Details.AVSAddress, req.Details.OperatorAddr) + optedUSDValues, err := k.GetOperatorOptedUSDValue(c, req.AvsAddress, req.OperatorAddr) if err != nil { return nil, err } @@ -203,7 +203,7 @@ func (k *Keeper) QueryOperatorSlashInfo(goCtx context.Context, req *types.QueryO ctx := sdk.UnwrapSDKContext(goCtx) res := make([]*types.OperatorSlashInfoByID, 0) - slashPrefix := types.AppendMany(types.KeyPrefixOperatorSlashInfo, assetstype.GetJoinedStoreKeyForPrefix(req.Details.OperatorAddr, req.Details.AVSAddress)) + slashPrefix := types.AppendMany(types.KeyPrefixOperatorSlashInfo, assetstype.GetJoinedStoreKeyForPrefix(req.OperatorAddr, req.AvsAddress)) store := prefix.NewStore(ctx.KVStore(k.storeKey), slashPrefix) pageRes, err := query.Paginate(store, req.Pagination, func(key []byte, value []byte) error { ret := &types.OperatorSlashInfo{} @@ -251,5 +251,5 @@ func (k *Keeper) QueryAllAVSsByOperator(goCtx context.Context, req *types.QueryA func (k *Keeper) QueryOptInfo(goCtx context.Context, req *types.QueryOptInfoRequest) (*types.OptedInfo, error) { ctx := sdk.UnwrapSDKContext(goCtx) - return k.GetOptedInfo(ctx, req.Details.OperatorAddr, req.Details.AVSAddress) + return k.GetOptedInfo(ctx, req.OperatorAddr, req.AvsAddress) } diff --git a/x/operator/types/query.pb.go b/x/operator/types/query.pb.go index f6bc191af..e60af35f0 100644 --- a/x/operator/types/query.pb.go +++ b/x/operator/types/query.pb.go @@ -179,26 +179,26 @@ func (m *QueryAllOperatorsResponse) GetPagination() *query.PageResponse { return nil } -// OperatorAVSAddressDetails includes the address of operator and AVS -type OperatorAVSAddressDetails struct { +// OperatorAVSAddress includes the address of operator and AVS +type OperatorAVSAddress struct { // operator_addr should be the string type of sdk.AccAddress OperatorAddr string `protobuf:"bytes,1,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` // avs_address is the address of the AVS - either an 0x address or a chainID. - AVSAddress string `protobuf:"bytes,2,opt,name=avs_address,json=avsAddress,proto3" json:"avs_address,omitempty"` + AvsAddress string `protobuf:"bytes,2,opt,name=avs_address,json=avsAddress,proto3" json:"avs_address,omitempty"` } -func (m *OperatorAVSAddressDetails) Reset() { *m = OperatorAVSAddressDetails{} } -func (m *OperatorAVSAddressDetails) String() string { return proto.CompactTextString(m) } -func (*OperatorAVSAddressDetails) ProtoMessage() {} -func (*OperatorAVSAddressDetails) Descriptor() ([]byte, []int) { +func (m *OperatorAVSAddress) Reset() { *m = OperatorAVSAddress{} } +func (m *OperatorAVSAddress) String() string { return proto.CompactTextString(m) } +func (*OperatorAVSAddress) ProtoMessage() {} +func (*OperatorAVSAddress) Descriptor() ([]byte, []int) { return fileDescriptor_f91e795a3cecbdbf, []int{3} } -func (m *OperatorAVSAddressDetails) XXX_Unmarshal(b []byte) error { +func (m *OperatorAVSAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *OperatorAVSAddressDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *OperatorAVSAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_OperatorAVSAddressDetails.Marshal(b, m, deterministic) + return xxx_messageInfo_OperatorAVSAddress.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -208,36 +208,36 @@ func (m *OperatorAVSAddressDetails) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *OperatorAVSAddressDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatorAVSAddressDetails.Merge(m, src) +func (m *OperatorAVSAddress) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperatorAVSAddress.Merge(m, src) } -func (m *OperatorAVSAddressDetails) XXX_Size() int { +func (m *OperatorAVSAddress) XXX_Size() int { return m.Size() } -func (m *OperatorAVSAddressDetails) XXX_DiscardUnknown() { - xxx_messageInfo_OperatorAVSAddressDetails.DiscardUnknown(m) +func (m *OperatorAVSAddress) XXX_DiscardUnknown() { + xxx_messageInfo_OperatorAVSAddress.DiscardUnknown(m) } -var xxx_messageInfo_OperatorAVSAddressDetails proto.InternalMessageInfo +var xxx_messageInfo_OperatorAVSAddress proto.InternalMessageInfo -func (m *OperatorAVSAddressDetails) GetOperatorAddr() string { +func (m *OperatorAVSAddress) GetOperatorAddr() string { if m != nil { return m.OperatorAddr } return "" } -func (m *OperatorAVSAddressDetails) GetAVSAddress() string { +func (m *OperatorAVSAddress) GetAvsAddress() string { if m != nil { - return m.AVSAddress + return m.AvsAddress } return "" } // QueryOperatorUSDValueRequest is the request to obtain the USD value for operator. type QueryOperatorUSDValueRequest struct { - // details is the operator and AVS address - Details *OperatorAVSAddressDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // operator_and_avs is the operator and AVS address + *OperatorAVSAddress `protobuf:"bytes,1,opt,name=operator_and_avs,json=operatorAndAvs,proto3,embedded=operator_and_avs" json:"operator_and_avs,omitempty"` } func (m *QueryOperatorUSDValueRequest) Reset() { *m = QueryOperatorUSDValueRequest{} } @@ -273,13 +273,6 @@ func (m *QueryOperatorUSDValueRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryOperatorUSDValueRequest proto.InternalMessageInfo -func (m *QueryOperatorUSDValueRequest) GetDetails() *OperatorAVSAddressDetails { - if m != nil { - return m.Details - } - return nil -} - // QueryOperatorUSDValueResponse is the response to obtain the USD value for operator. type QueryOperatorUSDValueResponse struct { // usd_info includes the self and total staking for the operator and AVS @@ -375,8 +368,8 @@ func (m *QueryAVSUSDValueRequest) GetAVSAddress() string { // QueryOperatorSlashInfoRequest is the request to obtain the slash information for the specified // operator and AVS type QueryOperatorSlashInfoRequest struct { - // details is the operator and AVS address - Details *OperatorAVSAddressDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // operator_and_avs is the operator and AVS address + *OperatorAVSAddress `protobuf:"bytes,1,opt,name=operator_and_avs,json=operatorAndAvs,proto3,embedded=operator_and_avs" json:"operator_and_avs,omitempty"` // pagination related options. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -414,13 +407,6 @@ func (m *QueryOperatorSlashInfoRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryOperatorSlashInfoRequest proto.InternalMessageInfo -func (m *QueryOperatorSlashInfoRequest) GetDetails() *OperatorAVSAddressDetails { - if m != nil { - return m.Details - } - return nil -} - func (m *QueryOperatorSlashInfoRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination @@ -1330,8 +1316,8 @@ func (m *QueryAllAVSsByOperatorResponse) GetAvsList() []string { // QueryOptInfoRequest is the request to obtain the opted information of specified operator // and AVS type QueryOptInfoRequest struct { - // details is the operator and AVS address - Details *OperatorAVSAddressDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // operator_and_avs is the operator and AVS address + *OperatorAVSAddress `protobuf:"bytes,1,opt,name=operator_and_avs,json=operatorAndAvs,proto3,embedded=operator_and_avs" json:"operator_and_avs,omitempty"` } func (m *QueryOptInfoRequest) Reset() { *m = QueryOptInfoRequest{} } @@ -1367,18 +1353,11 @@ func (m *QueryOptInfoRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryOptInfoRequest proto.InternalMessageInfo -func (m *QueryOptInfoRequest) GetDetails() *OperatorAVSAddressDetails { - if m != nil { - return m.Details - } - return nil -} - func init() { proto.RegisterType((*GetOperatorInfoReq)(nil), "exocore.operator.v1.GetOperatorInfoReq") proto.RegisterType((*QueryAllOperatorsRequest)(nil), "exocore.operator.v1.QueryAllOperatorsRequest") proto.RegisterType((*QueryAllOperatorsResponse)(nil), "exocore.operator.v1.QueryAllOperatorsResponse") - proto.RegisterType((*OperatorAVSAddressDetails)(nil), "exocore.operator.v1.OperatorAVSAddressDetails") + proto.RegisterType((*OperatorAVSAddress)(nil), "exocore.operator.v1.OperatorAVSAddress") proto.RegisterType((*QueryOperatorUSDValueRequest)(nil), "exocore.operator.v1.QueryOperatorUSDValueRequest") proto.RegisterType((*QueryOperatorUSDValueResponse)(nil), "exocore.operator.v1.QueryOperatorUSDValueResponse") proto.RegisterType((*QueryAVSUSDValueRequest)(nil), "exocore.operator.v1.QueryAVSUSDValueRequest") @@ -1405,99 +1384,101 @@ func init() { func init() { proto.RegisterFile("exocore/operator/v1/query.proto", fileDescriptor_f91e795a3cecbdbf) } var fileDescriptor_f91e795a3cecbdbf = []byte{ - // 1463 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 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0x00, 0x00, + // 1493 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4f, 0x6f, 0xdc, 0xc4, + 0x1b, 0x8e, 0xd3, 0xf6, 0xd7, 0xec, 0xa4, 0xed, 0x2f, 0x9d, 0xa4, 0x90, 0xba, 0xed, 0x6e, 0xeb, + 0x42, 0x9b, 0x46, 0xad, 0x4d, 0xd2, 0xb4, 0xa0, 0x86, 0x82, 0x76, 0x9b, 0xb6, 0x4a, 0x5b, 0x91, + 0xe0, 0x15, 0x29, 0x20, 0xc1, 0xca, 0xb1, 0xa7, 0x1b, 0x53, 0xc7, 0xb3, 0xf5, 0xcc, 0x6e, 0xbb, + 0x8a, 0x82, 0x10, 0x27, 0xb8, 0x20, 0x44, 0x8f, 0x08, 0x3e, 0x05, 0x12, 0x07, 0x0e, 0x70, 0xcc, + 0x81, 0x43, 0x80, 0x0b, 0xa7, 0x80, 0x12, 0x3e, 0x01, 0x07, 0xce, 0xc8, 0xe3, 0x19, 0xaf, 0xbd, + 0xb6, 0xf7, 0x4f, 0x1a, 0x7a, 0x5b, 0xdb, 0xf3, 0xce, 0xfb, 0x3c, 0xef, 0xbf, 0x79, 0x66, 0x41, + 0x01, 0x3d, 0xc1, 0x26, 0xf6, 0x90, 0x86, 0x6b, 0xc8, 0x33, 0x28, 0xf6, 0xb4, 0xc6, 0x94, 0xf6, + 0xa8, 0x8e, 0xbc, 0xa6, 0x5a, 0xf3, 0x30, 0xc5, 0x70, 0x94, 0x2f, 0x50, 0xc5, 0x02, 0xb5, 0x31, + 0x25, 0x4f, 0x9a, 0x98, 0xac, 0x62, 0xa2, 0x2d, 0x1b, 0x04, 0x05, 0xab, 0xb5, 0xc6, 0xd4, 0x32, + 0xa2, 0xc6, 0x94, 0x56, 0x33, 0xaa, 0xb6, 0x6b, 0x50, 0x1b, 0xbb, 0xc1, 0x06, 0xf2, 0xf1, 0x60, +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, 0xfa, 0x70, 0x09, 0xbc, 0x1d, 0xc3, 0x34, 0xc8, + 0x30, 0x9d, 0xef, 0x8a, 0x29, 0x70, 0x15, 0x03, 0x45, 0x01, 0x14, 0x58, 0x8a, 0x4b, 0x65, 0x1e, + 0xa2, 0x67, 0x8c, 0x26, 0x2c, 0x80, 0x61, 0xa3, 0x41, 0x98, 0x25, 0x22, 0x84, 0xc1, 0xcb, 0xe9, + 0xc0, 0x68, 0x10, 0x6e, 0xa4, 0x3c, 0x06, 0x27, 0x59, 0x24, 0x84, 0xeb, 0x77, 0xca, 0x73, 0x4b, + 0x86, 0x53, 0x17, 0x61, 0x83, 0xf7, 0xc1, 0x48, 0xcb, 0xbf, 0x6b, 0x55, 0x8c, 0x06, 0xe1, 0x81, + 0x3f, 0xaf, 0xa6, 0x94, 0xb2, 0x9a, 0xa4, 0x50, 0xda, 0xbf, 0xb9, 0x55, 0x90, 0xf4, 0x23, 0x21, + 0x2e, 0xd7, 0x2a, 0x36, 0x88, 0xd2, 0x04, 0xa7, 0x32, 0x1c, 0xf3, 0x34, 0xbc, 0x0b, 0x40, 0x9d, + 0x58, 0x95, 0x86, 0xff, 0x52, 0xf8, 0x9c, 0xec, 0xe8, 0x73, 0xa1, 0x46, 0x91, 0x25, 0xf6, 0x29, + 0x1d, 0xde, 0xde, 0x2a, 0xe4, 0xc4, 0x13, 0xd1, 0x73, 0x75, 0x62, 0x05, 0x3f, 0x95, 0x3b, 0xe0, + 0xc5, 0x20, 0xfb, 0x4b, 0xe5, 0x76, 0xba, 0x5a, 0x3c, 0x5e, 0x41, 0xb0, 0x8f, 0x6c, 0x6f, 0x15, + 0x40, 0x8b, 0x50, 0x2c, 0x7e, 0x3f, 0x49, 0x6d, 0x3c, 0xca, 0x8e, 0x41, 0x56, 0x78, 0x2f, 0xfc, + 0xa7, 0x11, 0x6c, 0xeb, 0x86, 0xc1, 0x5d, 0x77, 0xc3, 0x1a, 0x38, 0x96, 0x00, 0x5f, 0x6a, 0xce, +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0xaa, 0xdd, + 0x0c, 0x20, 0xbc, 0x85, 0xe8, 0x63, 0xec, 0xb5, 0x9a, 0xf9, 0x49, 0x0b, 0x13, 0x6d, 0xd6, 0x10, + 0x59, 0xfe, 0x1f, 0xfb, 0x5f, 0xf7, 0xf2, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x78, 0xe6, + 0x95, 0xc6, 0x16, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2113,7 +2094,7 @@ func (m *QueryAllOperatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *OperatorAVSAddressDetails) Marshal() (dAtA []byte, err error) { +func (m *OperatorAVSAddress) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2123,20 +2104,20 @@ func (m *OperatorAVSAddressDetails) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *OperatorAVSAddressDetails) MarshalTo(dAtA []byte) (int, error) { +func (m *OperatorAVSAddress) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *OperatorAVSAddressDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *OperatorAVSAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.AVSAddress) > 0 { - i -= len(m.AVSAddress) - copy(dAtA[i:], m.AVSAddress) - i = encodeVarintQuery(dAtA, i, uint64(len(m.AVSAddress))) + if len(m.AvsAddress) > 0 { + i -= len(m.AvsAddress) + copy(dAtA[i:], m.AvsAddress) + i = encodeVarintQuery(dAtA, i, uint64(len(m.AvsAddress))) i-- dAtA[i] = 0x12 } @@ -2170,9 +2151,9 @@ func (m *QueryOperatorUSDValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, e _ = i var l int _ = l - if m.Details != nil { + if m.OperatorAVSAddress != nil { { - size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.OperatorAVSAddress.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2282,9 +2263,9 @@ func (m *QueryOperatorSlashInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, i-- dAtA[i] = 0x12 } - if m.Details != nil { + if m.OperatorAVSAddress != nil { { - size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.OperatorAVSAddress.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2970,9 +2951,9 @@ func (m *QueryOptInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.Details != nil { + if m.OperatorAVSAddress != nil { { - size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.OperatorAVSAddress.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3041,7 +3022,7 @@ func (m *QueryAllOperatorsResponse) Size() (n int) { return n } -func (m *OperatorAVSAddressDetails) Size() (n int) { +func (m *OperatorAVSAddress) Size() (n int) { if m == nil { return 0 } @@ -3051,7 +3032,7 @@ func (m *OperatorAVSAddressDetails) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } - l = len(m.AVSAddress) + l = len(m.AvsAddress) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -3064,8 +3045,8 @@ func (m *QueryOperatorUSDValueRequest) Size() (n int) { } var l int _ = l - if m.Details != nil { - l = m.Details.Size() + if m.OperatorAVSAddress != nil { + l = m.OperatorAVSAddress.Size() n += 1 + l + sovQuery(uint64(l)) } return n @@ -3103,8 +3084,8 @@ func (m *QueryOperatorSlashInfoRequest) Size() (n int) { } var l int _ = l - if m.Details != nil { - l = m.Details.Size() + if m.OperatorAVSAddress != nil { + l = m.OperatorAVSAddress.Size() n += 1 + l + sovQuery(uint64(l)) } if m.Pagination != nil { @@ -3388,8 +3369,8 @@ func (m *QueryOptInfoRequest) Size() (n int) { } var l int _ = l - if m.Details != nil { - l = m.Details.Size() + if m.OperatorAVSAddress != nil { + l = m.OperatorAVSAddress.Size() n += 1 + l + sovQuery(uint64(l)) } return n @@ -3687,7 +3668,7 @@ func (m *QueryAllOperatorsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *OperatorAVSAddressDetails) Unmarshal(dAtA []byte) error { +func (m *OperatorAVSAddress) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3710,10 +3691,10 @@ func (m *OperatorAVSAddressDetails) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: OperatorAVSAddressDetails: wiretype end group for non-group") + return fmt.Errorf("proto: OperatorAVSAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: OperatorAVSAddressDetails: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: OperatorAVSAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3750,7 +3731,7 @@ func (m *OperatorAVSAddressDetails) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AVSAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AvsAddress", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3778,7 +3759,7 @@ func (m *OperatorAVSAddressDetails) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AVSAddress = string(dAtA[iNdEx:postIndex]) + m.AvsAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -3832,7 +3813,7 @@ func (m *QueryOperatorUSDValueRequest) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OperatorAVSAddress", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3859,10 +3840,10 @@ func (m *QueryOperatorUSDValueRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Details == nil { - m.Details = &OperatorAVSAddressDetails{} + if m.OperatorAVSAddress == nil { + m.OperatorAVSAddress = &OperatorAVSAddress{} } - if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.OperatorAVSAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -4086,7 +4067,7 @@ func (m *QueryOperatorSlashInfoRequest) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OperatorAVSAddress", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4113,10 +4094,10 @@ func (m *QueryOperatorSlashInfoRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Details == nil { - m.Details = &OperatorAVSAddressDetails{} + if m.OperatorAVSAddress == nil { + m.OperatorAVSAddress = &OperatorAVSAddress{} } - if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.OperatorAVSAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5955,7 +5936,7 @@ func (m *QueryOptInfoRequest) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OperatorAVSAddress", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5982,10 +5963,10 @@ func (m *QueryOptInfoRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Details == nil { - m.Details = &OperatorAVSAddressDetails{} + if m.OperatorAVSAddress == nil { + m.OperatorAVSAddress = &OperatorAVSAddress{} } - if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.OperatorAVSAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/operator/types/query.pb.gw.go b/x/operator/types/query.pb.gw.go index 96a4a696d..e334c7205 100644 --- a/x/operator/types/query.pb.gw.go +++ b/x/operator/types/query.pb.gw.go @@ -348,13 +348,42 @@ func local_request_Query_QueryAllOperatorConsKeysByChainID_0(ctx context.Context } var ( - filter_Query_QueryOperatorUSDValue_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_Query_QueryOperatorUSDValue_0 = &utilities.DoubleArray{Encoding: map[string]int{"operator_and_avs": 0, "operator_addr": 1, "avs_address": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) func request_Query_QueryOperatorUSDValue_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryOperatorUSDValueRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -371,6 +400,35 @@ func local_request_Query_QueryOperatorUSDValue_0(ctx context.Context, marshaler var protoReq QueryOperatorUSDValueRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -420,13 +478,42 @@ func local_request_Query_QueryAVSUSDValue_0(ctx context.Context, marshaler runti } var ( - filter_Query_QueryOperatorSlashInfo_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_Query_QueryOperatorSlashInfo_0 = &utilities.DoubleArray{Encoding: map[string]int{"operator_and_avs": 0, "operator_addr": 1, "avs_address": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) func request_Query_QueryOperatorSlashInfo_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryOperatorSlashInfoRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -443,6 +530,35 @@ func local_request_Query_QueryOperatorSlashInfo_0(ctx context.Context, marshaler var protoReq QueryOperatorSlashInfoRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -636,13 +752,42 @@ func local_request_Query_QueryAllAVSsByOperator_0(ctx context.Context, marshaler } var ( - filter_Query_QueryOptInfo_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_Query_QueryOptInfo_0 = &utilities.DoubleArray{Encoding: map[string]int{"operator_and_avs": 0, "operator_addr": 1, "avs_address": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) func request_Query_QueryOptInfo_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryOptInfoRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -659,6 +804,35 @@ func local_request_Query_QueryOptInfo_0(ctx context.Context, marshaler runtime.M var protoReq QueryOptInfoRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1248,11 +1422,11 @@ var ( pattern_Query_QueryAllOperatorConsKeysByChainID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"exocore", "operator", "v1", "all_operator_cons_keys", "chain"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_QueryOperatorUSDValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"exocore", "operator", "v1", "QueryOperatorUSDValue"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_QueryOperatorUSDValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"exocore", "operator", "v1", "QueryOperatorUSDValue", "operator_and_avs.operator_addr", "operator_and_avs.avs_address"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_QueryAVSUSDValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"exocore", "operator", "v1", "QueryAVSUSDValue"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_QueryOperatorSlashInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"exocore", "operator", "v1", "QueryOperatorSlashInfo"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_QueryOperatorSlashInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"exocore", "operator", "v1", "QueryOperatorSlashInfo", "operator_and_avs.operator_addr", "operator_and_avs.avs_address"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_QueryAllOperatorConsAddrsByChainID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"exocore", "operator", "v1", "all_operator_cons_addrs", "chain"}, "", runtime.AssumeColonVerbOpt(false))) @@ -1260,7 +1434,7 @@ var ( pattern_Query_QueryAllAVSsByOperator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 1}, []string{"exocore", "operator", "v1", "opt", "avs_list"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_QueryOptInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"exocore", "operator", "v1", "opt_info"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_QueryOptInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"exocore", "operator", "v1", "opt_info", "operator_and_avs.operator_addr", "operator_and_avs.avs_address"}, "", runtime.AssumeColonVerbOpt(false))) ) var (