forked from cerc-io/laconicd-deprecated
parent
b0091d4355
commit
587cf78b5c
File diff suppressed because one or more lines are too long
@ -2999,6 +2999,24 @@ paths:
|
||||
description: >-
|
||||
logs represents the ethereum logs generated from the given
|
||||
transaction.
|
||||
pagination:
|
||||
description: pagination defines the pagination in the response.
|
||||
type: object
|
||||
properties:
|
||||
next_key:
|
||||
type: string
|
||||
format: byte
|
||||
title: |-
|
||||
next_key is the key to be passed to PageRequest.key to
|
||||
query the next page most efficiently
|
||||
total:
|
||||
type: string
|
||||
format: uint64
|
||||
title: >-
|
||||
total is total number of results available if
|
||||
PageRequest.count_total
|
||||
|
||||
was set, its value is undefined otherwise
|
||||
description: QueryTxLogs is the response type for the Query/TxLogs RPC method.
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
@ -3195,6 +3213,59 @@ paths:
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
- name: pagination.key
|
||||
description: |-
|
||||
key is a value returned in PageResponse.next_key to begin
|
||||
querying the next page most efficiently. Only one of offset or key
|
||||
should be set.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: byte
|
||||
- name: pagination.offset
|
||||
description: >-
|
||||
offset is a numeric offset that can be used when key is unavailable.
|
||||
|
||||
It is less efficient than using key. Only one of offset or key
|
||||
should
|
||||
|
||||
be set.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: uint64
|
||||
- name: pagination.limit
|
||||
description: >-
|
||||
limit is the total number of results to be returned in the result
|
||||
page.
|
||||
|
||||
If left empty it will default to a value to be set by each app.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: uint64
|
||||
- name: pagination.count_total
|
||||
description: >-
|
||||
count_total is set to true to indicate that the result set should
|
||||
include
|
||||
|
||||
a count of the total number of items available for pagination in
|
||||
UIs.
|
||||
|
||||
count_total is only respected when offset is used. It is ignored
|
||||
when key
|
||||
|
||||
is set.
|
||||
in: query
|
||||
required: false
|
||||
type: boolean
|
||||
- name: pagination.reverse
|
||||
description: >-
|
||||
reverse is set to true if results are to be returned in the
|
||||
descending order.
|
||||
in: query
|
||||
required: false
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/ethermint/evm/v1/validator_account/{cons_address}':
|
||||
@ -14526,6 +14597,24 @@ definitions:
|
||||
description: >-
|
||||
logs represents the ethereum logs generated from the given
|
||||
transaction.
|
||||
pagination:
|
||||
description: pagination defines the pagination in the response.
|
||||
type: object
|
||||
properties:
|
||||
next_key:
|
||||
type: string
|
||||
format: byte
|
||||
title: |-
|
||||
next_key is the key to be passed to PageRequest.key to
|
||||
query the next page most efficiently
|
||||
total:
|
||||
type: string
|
||||
format: uint64
|
||||
title: >-
|
||||
total is total number of results available if
|
||||
PageRequest.count_total
|
||||
|
||||
was set, its value is undefined otherwise
|
||||
description: QueryTxLogs is the response type for the Query/TxLogs RPC method.
|
||||
ethermint.evm.v1.QueryValidatorAccountResponse:
|
||||
type: object
|
||||
|
@ -879,6 +879,7 @@ QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| `hash` | [string](#string) | | hash is the ethereum transaction hex hash to query the logs for. |
|
||||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
|
||||
|
||||
|
||||
|
||||
@ -894,6 +895,7 @@ QueryTxLogs is the response type for the Query/TxLogs RPC method.
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| `logs` | [Log](#ethermint.evm.v1.Log) | repeated | logs represents the ethereum logs generated from the given transaction. |
|
||||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
|
||||
|
||||
|
||||
|
||||
|
@ -202,12 +202,16 @@ message QueryTxLogsRequest {
|
||||
|
||||
// hash is the ethereum transaction hex hash to query the logs for.
|
||||
string hash = 1;
|
||||
// pagination defines an optional pagination for the request.
|
||||
cosmos.base.query.v1beta1.PageRequest pagination = 2;
|
||||
}
|
||||
|
||||
// QueryTxLogs is the response type for the Query/TxLogs RPC method.
|
||||
message QueryTxLogsResponse {
|
||||
// logs represents the ethereum logs generated from the given transaction.
|
||||
repeated Log logs = 1;
|
||||
// pagination defines the pagination in the response.
|
||||
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
||||
}
|
||||
|
||||
// QueryBlockLogsRequest is the request type for the Query/BlockLogs RPC method.
|
||||
|
@ -216,10 +216,26 @@ func (k Keeper) TxLogs(c context.Context, req *types.QueryTxLogsRequest) (*types
|
||||
k.WithContext(ctx)
|
||||
|
||||
hash := common.HexToHash(req.Hash)
|
||||
logs := k.GetTxLogs(hash)
|
||||
|
||||
store := prefix.NewStore(k.Ctx().KVStore(k.storeKey), append(types.KeyPrefixLogs, hash.Bytes()...))
|
||||
|
||||
var logs []*types.Log
|
||||
|
||||
pageRes, err := query.Paginate(store, req.Pagination, func(_, value []byte) error {
|
||||
var log types.Log
|
||||
if err := k.cdc.Unmarshal(value, &log); err != nil {
|
||||
return err
|
||||
}
|
||||
logs = append(logs, &log)
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
return nil, status.Error(codes.Internal, err.Error())
|
||||
}
|
||||
|
||||
return &types.QueryTxLogsResponse{
|
||||
Logs: types.NewLogsFromEth(logs),
|
||||
Logs: logs,
|
||||
Pagination: pageRes,
|
||||
}, nil
|
||||
}
|
||||
|
||||
@ -245,7 +261,9 @@ func (k Keeper) BlockLogs(c context.Context, req *types.QueryBlockLogsRequest) (
|
||||
|
||||
pageRes, err := query.FilteredPaginate(store, req.Pagination, func(_, value []byte, accumulate bool) (bool, error) {
|
||||
var txLog types.Log
|
||||
k.cdc.MustUnmarshal(value, &txLog)
|
||||
if err := k.cdc.Unmarshal(value, &txLog); err != nil {
|
||||
return false, err
|
||||
}
|
||||
|
||||
if txLog.BlockHash == req.Hash {
|
||||
if accumulate {
|
||||
|
@ -606,6 +606,8 @@ func (m *QueryCodeResponse) GetCode() []byte {
|
||||
type QueryTxLogsRequest struct {
|
||||
// hash is the ethereum transaction hex hash to query the logs for.
|
||||
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
||||
// pagination defines an optional pagination for the request.
|
||||
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||
}
|
||||
|
||||
func (m *QueryTxLogsRequest) Reset() { *m = QueryTxLogsRequest{} }
|
||||
@ -645,6 +647,8 @@ var xxx_messageInfo_QueryTxLogsRequest proto.InternalMessageInfo
|
||||
type QueryTxLogsResponse struct {
|
||||
// logs represents the ethereum logs generated from the given transaction.
|
||||
Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
|
||||
// pagination defines the pagination in the response.
|
||||
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||
}
|
||||
|
||||
func (m *QueryTxLogsResponse) Reset() { *m = QueryTxLogsResponse{} }
|
||||
@ -687,6 +691,13 @@ func (m *QueryTxLogsResponse) GetLogs() []*Log {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *QueryTxLogsResponse) GetPagination() *query.PageResponse {
|
||||
if m != nil {
|
||||
return m.Pagination
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// QueryBlockLogsRequest is the request type for the Query/BlockLogs RPC method.
|
||||
type QueryBlockLogsRequest struct {
|
||||
// hash is the block hash to query the logs for.
|
||||
@ -1250,89 +1261,89 @@ func init() {
|
||||
func init() { proto.RegisterFile("ethermint/evm/v1/query.proto", fileDescriptor_e15a877459347994) }
|
||||
|
||||
var fileDescriptor_e15a877459347994 = []byte{
|
||||
// 1302 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x8f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x26, 0xd4, 0x25, 0x37, 0xb7,
|
||||
0x76, 0x8a, 0x8f, 0x04, 0xd6, 0x77, 0x67, 0x53, 0x77, 0xa2, 0xaf, 0xaf, 0xf0, 0x7b, 0x70, 0xf2,
|
||||
0x53, 0x09, 0x7b, 0xc3, 0xf3, 0x58, 0x37, 0x10, 0x2e, 0x7d, 0xd8, 0xa5, 0x5c, 0xa0, 0x05, 0x28,
|
||||
0x90, 0x7a, 0x3d, 0xa4, 0x9c, 0x2f, 0x58, 0xcb, 0xd6, 0xfa, 0x31, 0x37, 0xda, 0x5e, 0x9b, 0x79,
|
||||
0xf2, 0x6c, 0x69, 0xea, 0x9f, 0x67, 0x4b, 0x53, 0xd8, 0x83, 0xf9, 0xa4, 0x2b, 0xef, 0xb0, 0x80,
|
||||
0x53, 0xe9, 0x5b, 0x23, 0x2d, 0x12, 0x78, 0x34, 0xf2, 0x35, 0x5b, 0xf4, 0x16, 0x1c, 0xf3, 0x58,
|
||||
0x9d, 0x56, 0x1b, 0x84, 0x37, 0x16, 0x8e, 0xa8, 0xbb, 0x19, 0x79, 0xf0, 0x11, 0xe1, 0x0d, 0x34,
|
||||
0x0f, 0x47, 0x03, 0x26, 0x9d, 0xa6, 0x97, 0xad, 0xf5, 0x9c, 0xab, 0x37, 0xf8, 0x03, 0x38, 0xab,
|
||||
0x40, 0x76, 0xd4, 0x3b, 0xfd, 0x07, 0x96, 0x8f, 0x2d, 0xb0, 0xc7, 0x45, 0x30, 0x64, 0x57, 0xe0,
|
||||
0x84, 0x2e, 0x41, 0x35, 0x19, 0x69, 0x56, 0x9f, 0xde, 0xd0, 0x87, 0xc8, 0x86, 0x19, 0x2e, 0x41,
|
||||
0x25, 0xbf, 0x23, 0x8a, 0xdf, 0x60, 0x2f, 0x43, 0x10, 0x1d, 0xb5, 0x1a, 0x74, 0xdb, 0x35, 0x1a,
|
||||
0x9a, 0x0c, 0x66, 0xcd, 0xe9, 0x27, 0xea, 0x10, 0xdf, 0x86, 0x45, 0xc5, 0xe3, 0x33, 0xd2, 0x6a,
|
||||
0xd6, 0x89, 0x60, 0xe1, 0x48, 0x32, 0xe7, 0xe1, 0xb8, 0xc7, 0x82, 0x51, 0x1e, 0x45, 0x79, 0x76,
|
||||
0x23, 0x95, 0xd5, 0x53, 0x0b, 0xce, 0x65, 0x44, 0x33, 0x89, 0xad, 0xc1, 0x1b, 0x11, 0xab, 0x64,
|
||||
0xc4, 0x88, 0xec, 0xff, 0x98, 0x5a, 0xd4, 0x44, 0xdb, 0xba, 0xce, 0xaf, 0x53, 0x9e, 0x2b, 0xa6,
|
||||
0x89, 0x06, 0xae, 0x93, 0x9a, 0x08, 0xdf, 0x36, 0x60, 0xf7, 0x05, 0x0b, 0x89, 0x3f, 0x19, 0x0c,
|
||||
0xcd, 0xc1, 0xf4, 0x03, 0xba, 0x67, 0xfa, 0x4d, 0x2e, 0x63, 0xf0, 0x9b, 0x06, 0x7e, 0x10, 0xcc,
|
||||
0xc0, 0xcf, 0xc3, 0xd1, 0x1e, 0x69, 0x75, 0x23, 0x70, 0xbd, 0xc1, 0x57, 0x61, 0xce, 0xb4, 0x52,
|
||||
0xfd, 0xb5, 0x92, 0x5c, 0x83, 0x37, 0x63, 0x7e, 0x06, 0x02, 0x41, 0x4e, 0xf6, 0xbe, 0xf2, 0x3a,
|
||||
0xee, 0xaa, 0x35, 0xae, 0x00, 0x52, 0x86, 0xbb, 0xfd, 0x3b, 0xcc, 0xe7, 0x11, 0x04, 0x82, 0x9c,
|
||||
0xfa, 0x62, 0x74, 0x7c, 0xb5, 0x8e, 0x05, 0xbf, 0x6e, 0xde, 0x23, 0xf2, 0x31, 0xe1, 0x37, 0x20,
|
||||
0xd7, 0x62, 0xbe, 0x24, 0x35, 0xbd, 0x5e, 0xac, 0x9c, 0x2a, 0x8f, 0x0e, 0xa4, 0xf2, 0x1d, 0xe6,
|
||||
0xbb, 0xca, 0x04, 0xef, 0xc3, 0x29, 0x5d, 0x83, 0x16, 0xf3, 0x1e, 0x4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0x27, 0x25, 0xf2, 0x66, 0x48, 0x3b, 0x8f, 0xcc, 0x44, 0xda,
|
||||
0x47, 0x3f, 0x5b, 0x30, 0x9b, 0xd0, 0x41, 0x74, 0x39, 0x03, 0x66, 0x9c, 0xde, 0xda, 0x9b, 0x87,
|
||||
0x33, 0x36, 0xcc, 0x2a, 0x8a, 0xd9, 0x26, 0xba, 0x94, 0x66, 0x16, 0x49, 0x6e, 0x8a, 0xe0, 0x6f,
|
||||
0x16, 0xcc, 0x8d, 0x4a, 0x1a, 0x2a, 0x67, 0xc0, 0x66, 0x28, 0xa9, 0xed, 0x1c, 0xda, 0xde, 0x30,
|
||||
0xbd, 0xa6, 0x98, 0xbe, 0x8b, 0x2a, 0x69, 0xa6, 0xbd, 0xc8, 0x67, 0x48, 0x36, 0xae, 0xd2, 0xfb,
|
||||
0xe8, 0xb1, 0x05, 0x05, 0x23, 0x5e, 0x99, 0xa5, 0x4d, 0xea, 0x62, 0x66, 0x69, 0x47, 0x34, 0x10,
|
||||
0x6f, 0x2a, 0x5a, 0xab, 0xe8, 0x62, 0x9a, 0x96, 0x11, 0x43, 0x1e, 0x7b, 0xba, 0xa7, 0x16, 0x14,
|
||||
0x8c, 0x8c, 0x65, 0x12, 0x49, 0x6a, 0x66, 0x26, 0x91, 0x11, 0x35, 0xc4, 0x5b, 0x8a, 0xc8, 0x65,
|
||||
0xb4, 0x91, 0x26, 0xc2, 0xb5, 0xe9, 0x90, 0x87, 0xf3, 0xe8, 0x01, 0xdd, 0xdb, 0x47, 0x5f, 0x41,
|
||||
0x4e, 0xaa, 0x1d, 0xc2, 0x99, 0x2d, 0x33, 0x90, 0x50, 0xfb, 0xc2, 0x81, 0x36, 0x86, 0xc3, 0x86,
|
||||
0xe2, 0x70, 0x01, 0x9d, 0x1f, 0xd7, 0x4d, 0xf5, 0xc4, 0x4b, 0x7c, 0x0b, 0x79, 0x2d, 0x86, 0xe8,
|
||||
0x62, 0x46, 0xe4, 0x84, 0xbe, 0xda, 0x2b, 0x13, 0xac, 0x0c, 0x83, 0x75, 0xc5, 0x00, 0xa3, 0x65,
|
||||
0x67, 0xcc, 0xcf, 0x69, 0x25, 0x52, 0xce, 0x23, 0x29, 0x91, 0xaa, 0x14, 0xc7, 0x06, 0x62, 0x86,
|
||||
0xd6, 0xb2, 0xca, 0x3d, 0x22, 0xb7, 0xf6, 0xfa, 0x64, 0xc3, 0xc9, 0x1f, 0x7d, 0x4d, 0x1a, 0x27,
|
||||
0xd8, 0x3c, 0xb1, 0x00, 0x86, 0x1a, 0x84, 0x0e, 0x44, 0x89, 0x0b, 0x9b, 0xbd, 0x71, 0x08, 0x4b,
|
||||
0x43, 0x68, 0x45, 0x11, 0x5a, 0x42, 0xe7, 0xb2, 0x08, 0x29, 0x85, 0x43, 0x5f, 0x42, 0x5e, 0x8b,
|
||||
0x52, 0x66, 0x65, 0x12, 0xda, 0x97, 0x59, 0x99, 0xa4, 0x16, 0xe2, 0x65, 0x85, 0x6e, 0xa3, 0x85,
|
||||
0x34, 0xba, 0x56, 0x3d, 0xd4, 0x87, 0x82, 0x91, 0x31, 0xb4, 0x9c, 0x8e, 0x99, 0x54, 0x38, 0x7b,
|
||||
0x6d, 0x92, 0xcc, 0x44, 0xb8, 0x58, 0xe1, 0x2e, 0x22, 0x3b, 0x8d, 0x4b, 0x45, 0xa3, 0xea, 0x49,
|
||||
0xb8, 0x6f, 0xa0, 0x18, 0x53, 0xc0, 0x43, 0xa0, 0x8f, 0xc9, 0x79, 0x8c, 0x84, 0xe2, 0x55, 0x85,
|
||||
0xbd, 0x8c, 0x4a, 0x63, 0xb0, 0x8d, 0x79, 0xd5, 0x27, 0x1c, 0x7d, 0x0d, 0x05, 0xa3, 0x55, 0x99,
|
||||
0x53, 0x21, 0x29, 0xb9, 0x99, 0x53, 0x61, 0x44, 0xf2, 0x0e, 0xca, 0x5e, 0x8b, 0xac, 0xe8, 0x6f,
|
||||
0x6f, 0x3f, 0x7f, 0x59, 0xb2, 0x5e, 0xbc, 0x2c, 0x59, 0x7f, 0xbd, 0x2c, 0x59, 0x3f, 0xbe, 0x2a,
|
||||
0x4d, 0xbd, 0x78, 0x55, 0x9a, 0xfa, 0xe3, 0x55, 0x69, 0xea, 0xf3, 0x75, 0xbf, 0x29, 0x1a, 0xdd,
|
||||
0x5a, 0xd9, 0x63, 0x6d, 0x47, 0x34, 0x48, 0xc8, 0x9b, 0x3c, 0x16, 0xa7, 0xaf, 0x22, 0x89, 0xbd,
|
||||
0x0e, 0xe5, 0xb5, 0xbc, 0xfa, 0xa7, 0xfa, 0xce, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x7f,
|
||||
0x90, 0xad, 0x72, 0x0f, 0x00, 0x00,
|
||||
// 1308 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcd, 0x6f, 0x13, 0x47,
|
||||
0x14, 0xcf, 0x12, 0x63, 0x87, 0x67, 0x42, 0xd3, 0x21, 0x40, 0xd8, 0x06, 0x27, 0x0c, 0xe4, 0x0b,
|
||||
0x52, 0x2f, 0x76, 0x2b, 0xa4, 0x22, 0x55, 0x85, 0x44, 0x94, 0x56, 0x40, 0x45, 0x4d, 0xd4, 0x43,
|
||||
0x2f, 0xd6, 0x78, 0x3d, 0x5d, 0x5b, 0xd8, 0x3b, 0x66, 0x67, 0xec, 0x3a, 0xd0, 0xb4, 0x55, 0xa5,
|
||||
0x22, 0x2a, 0x2e, 0x95, 0x7a, 0xaf, 0x90, 0xaa, 0x9e, 0xfb, 0x6f, 0x70, 0x44, 0xea, 0xa5, 0xa7,
|
||||
0xaa, 0x82, 0x1e, 0xfa, 0x67, 0x54, 0xf3, 0xb1, 0xf6, 0xae, 0xd7, 0x1b, 0x87, 0x0a, 0xf5, 0x36,
|
||||
0x1f, 0xef, 0xbd, 0xdf, 0xef, 0xbd, 0x79, 0x3b, 0xbf, 0x59, 0x58, 0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x56, 0x37, 0x04, 0xd7, 0x13, 0x7c, 0x19, 0xe6, 0x4c, 0x2b,
|
||||
0xd5, 0x5f, 0x29, 0xc9, 0x35, 0x78, 0x33, 0xe2, 0x67, 0x20, 0x10, 0x64, 0x64, 0xef, 0x2b, 0xaf,
|
||||
0xa3, 0x15, 0x35, 0xc6, 0x0f, 0x00, 0x29, 0xc3, 0x9d, 0xfe, 0x2d, 0xe6, 0xf1, 0x10, 0x02, 0x41,
|
||||
0x46, 0x7d, 0x31, 0x3a, 0xbe, 0x1a, 0xa3, 0x0f, 0x01, 0x86, 0x17, 0x84, 0xca, 0x2d, 0x5f, 0x5e,
|
||||
0x2d, 0xea, 0xa6, 0x2d, 0xca, 0xdb, 0xa4, 0xa8, 0xaf, 0x23, 0x73, 0x9b, 0x14, 0xef, 0x0c, 0x4b,
|
||||
0x55, 0x89, 0x78, 0x46, 0x48, 0xfe, 0x60, 0x99, 0xc2, 0x86, 0xe0, 0x86, 0xe7, 0x06, 0x64, 0x5a,
|
||||
0xcc, 0x93, 0xd9, 0x4d, 0xaf, 0xe7, 0xcb, 0x27, 0x8a, 0xa3, 0x37, 0x5b, 0xf1, 0x16, 0xf3, 0x2a,
|
||||
0xca, 0x04, 0xdd, 0x18, 0x43, 0x6a, 0x6d, 0x22, 0x29, 0x8d, 0x13, 0x65, 0x85, 0xf7, 0xe0, 0x84,
|
||||
0xee, 0x8a, 0x16, 0x73, 0xef, 0xfd, 0xff, 0xa5, 0xf8, 0xc5, 0x82, 0x93, 0xa3, 0xf8, 0xa6, 0x1a,
|
||||
0x57, 0x21, 0x27, 0xfa, 0xd5, 0x48, 0x41, 0xce, 0x26, 0x0b, 0xb2, 0x13, 0x10, 0x9f, 0x13, 0x57,
|
||||
0x06, 0x95, 0xbe, 0x5b, 0x99, 0x67, 0x7f, 0x2e, 0x4d, 0x55, 0xb2, 0x42, 0xd5, 0xf5, 0xf5, 0x15,
|
||||
0xe9, 0x52, 0x94, 0xe4, 0x56, 0x8b, 0x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x21, 0x5e, 0x56, 0xe8, 0x36, 0x5a, 0x48, 0xa2, 0x6b, 0xd5, 0x43, 0x7d, 0xc8, 0x19, 0x19, 0x43,
|
||||
0xcb, 0xc9, 0x98, 0x71, 0x85, 0xb3, 0xd7, 0x26, 0xc9, 0x4c, 0x88, 0x8b, 0x15, 0xee, 0x22, 0xb2,
|
||||
0x93, 0xb8, 0x54, 0x34, 0xaa, 0xae, 0x84, 0xfb, 0x1a, 0xf2, 0x11, 0x05, 0x3c, 0x00, 0xfa, 0x98,
|
||||
0x9c, 0xc7, 0x48, 0x28, 0x5e, 0x55, 0xd8, 0xcb, 0xa8, 0x30, 0x06, 0xdb, 0x98, 0x57, 0x3d, 0xc2,
|
||||
0xd1, 0x57, 0x90, 0x33, 0x5a, 0x95, 0x7a, 0x2b, 0xc4, 0x25, 0x37, 0xf5, 0x56, 0x18, 0x91, 0xbc,
|
||||
0xfd, 0xb2, 0xd7, 0x22, 0x2b, 0xfa, 0x5b, 0x5b, 0xcf, 0x5e, 0x14, 0xac, 0xe7, 0x2f, 0x0a, 0xd6,
|
||||
0x5f, 0x2f, 0x0a, 0xd6, 0x8f, 0x2f, 0x0b, 0x53, 0xcf, 0x5f, 0x16, 0xa6, 0xfe, 0x78, 0x59, 0x98,
|
||||
0xfa, 0x7c, 0xdd, 0x6b, 0x8a, 0x46, 0xb7, 0x56, 0x74, 0x59, 0xdb, 0x11, 0x0d, 0x12, 0xf0, 0x26,
|
||||
0x8f, 0xc4, 0xe9, 0xab, 0x48, 0x62, 0xb7, 0x43, 0x79, 0x2d, 0xab, 0xfe, 0x9d, 0xdf, 0xf9, 0x37,
|
||||
0x00, 0x00, 0xff, 0xff, 0xbb, 0x7d, 0x12, 0xe6, 0x04, 0x10, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@ -2296,6 +2307,18 @@ func (m *QueryTxLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
_ = i
|
||||
var l int
|
||||
_ = l
|
||||
if m.Pagination != nil {
|
||||
{
|
||||
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i -= size
|
||||
i = encodeVarintQuery(dAtA, i, uint64(size))
|
||||
}
|
||||
i--
|
||||
dAtA[i] = 0x12
|
||||
}
|
||||
if len(m.Hash) > 0 {
|
||||
i -= len(m.Hash)
|
||||
copy(dAtA[i:], m.Hash)
|
||||
@ -2326,6 +2349,18 @@ func (m *QueryTxLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
_ = i
|
||||
var l int
|
||||
_ = l
|
||||
if m.Pagination != nil {
|
||||
{
|
||||
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i -= size
|
||||
i = encodeVarintQuery(dAtA, i, uint64(size))
|
||||
}
|
||||
i--
|
||||
dAtA[i] = 0x12
|
||||
}
|
||||
if len(m.Logs) > 0 {
|
||||
for iNdEx := len(m.Logs) - 1; iNdEx >= 0; iNdEx-- {
|
||||
{
|
||||
@ -2923,6 +2958,10 @@ func (m *QueryTxLogsRequest) Size() (n int) {
|
||||
if l > 0 {
|
||||
n += 1 + l + sovQuery(uint64(l))
|
||||
}
|
||||
if m.Pagination != nil {
|
||||
l = m.Pagination.Size()
|
||||
n += 1 + l + sovQuery(uint64(l))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
@ -2938,6 +2977,10 @@ func (m *QueryTxLogsResponse) Size() (n int) {
|
||||
n += 1 + l + sovQuery(uint64(l))
|
||||
}
|
||||
}
|
||||
if m.Pagination != nil {
|
||||
l = m.Pagination.Size()
|
||||
n += 1 + l + sovQuery(uint64(l))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
@ -4308,6 +4351,42 @@ func (m *QueryTxLogsRequest) Unmarshal(dAtA []byte) error {
|
||||
}
|
||||
m.Hash = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
case 2:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
||||
}
|
||||
var msglen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowQuery
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
msglen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if msglen < 0 {
|
||||
return ErrInvalidLengthQuery
|
||||
}
|
||||
postIndex := iNdEx + msglen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLengthQuery
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
if m.Pagination == nil {
|
||||
m.Pagination = &query.PageRequest{}
|
||||
}
|
||||
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipQuery(dAtA[iNdEx:])
|
||||
@ -4392,6 +4471,42 @@ func (m *QueryTxLogsResponse) Unmarshal(dAtA []byte) error {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 2:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
||||
}
|
||||
var msglen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowQuery
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
msglen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if msglen < 0 {
|
||||
return ErrInvalidLengthQuery
|
||||
}
|
||||
postIndex := iNdEx + msglen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLengthQuery
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
if m.Pagination == nil {
|
||||
m.Pagination = &query.PageResponse{}
|
||||
}
|
||||
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipQuery(dAtA[iNdEx:])
|
||||
|
@ -377,6 +377,10 @@ func local_request_Query_Code_0(ctx context.Context, marshaler runtime.Marshaler
|
||||
|
||||
}
|
||||
|
||||
var (
|
||||
filter_Query_TxLogs_0 = &utilities.DoubleArray{Encoding: map[string]int{"hash": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}
|
||||
)
|
||||
|
||||
func request_Query_TxLogs_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq QueryTxLogsRequest
|
||||
var metadata runtime.ServerMetadata
|
||||
@ -399,6 +403,13 @@ func request_Query_TxLogs_0(ctx context.Context, marshaler runtime.Marshaler, cl
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "hash", err)
|
||||
}
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_TxLogs_0); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
|
||||
msg, err := client.TxLogs(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||
return msg, metadata, err
|
||||
|
||||
@ -426,6 +437,13 @@ func local_request_Query_TxLogs_0(ctx context.Context, marshaler runtime.Marshal
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "hash", err)
|
||||
}
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_TxLogs_0); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
|
||||
msg, err := server.TxLogs(ctx, &protoReq)
|
||||
return msg, metadata, err
|
||||
|
||||
|
@ -5,7 +5,6 @@ package types
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
_ "github.com/gogo/protobuf/gogoproto"
|
||||
proto "github.com/gogo/protobuf/proto"
|
||||
io "io"
|
||||
math "math"
|
||||
@ -114,26 +113,25 @@ func init() {
|
||||
}
|
||||
|
||||
var fileDescriptor_4feb8b20cf98e6e1 = []byte{
|
||||
// 298 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xc1, 0x4a, 0x33, 0x31,
|
||||
0x14, 0x85, 0x9b, 0xbf, 0xbf, 0x45, 0xa3, 0x15, 0x19, 0xaa, 0x0c, 0x0a, 0xa1, 0x28, 0xc8, 0xac,
|
||||
0x66, 0x28, 0x5d, 0xbb, 0xa9, 0x22, 0xdd, 0x08, 0xd2, 0xa5, 0x9b, 0x21, 0x53, 0x6f, 0x67, 0x2e,
|
||||
0x4e, 0x92, 0x92, 0xdc, 0x16, 0xfb, 0x16, 0x3e, 0x96, 0xcb, 0x2e, 0x5d, 0x4a, 0xbb, 0xf4, 0x25,
|
||||
0xc4, 0xd4, 0x36, 0xee, 0x92, 0xf3, 0x7d, 0x17, 0x0e, 0x87, 0x5f, 0x03, 0x55, 0x60, 0x15, 0x6a,
|
||||
0xca, 0x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xc7, 0x5a,
|
||||
0x34, 0x9e, 0xd2, 0x12, 0xa9, 0x9a, 0x15, 0xe9, 0xd8, 0xa8, 0x8c, 0x2a, 0x69, 0x1d, 0xba, 0x2c,
|
||||
0x0c, 0xfe, 0xfa, 0x67, 0x72, 0x5a, 0x4c, 0xc1, 0x15, 0x2d, 0x3f, 0x5f, 0xff, 0x3b, 0x00, 0x00,
|
||||
0xff, 0xff, 0x69, 0x30, 0x96, 0xce, 0x96, 0x01, 0x00, 0x00,
|
||||
// 286 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xc1, 0x4a, 0x03, 0x31,
|
||||
0x10, 0x86, 0x1b, 0xab, 0x45, 0xa3, 0x15, 0x59, 0x54, 0x16, 0x84, 0x50, 0x14, 0x64, 0x4f, 0xbb,
|
||||
0x94, 0x9e, 0xbd, 0x54, 0x91, 0x5e, 0x04, 0xe9, 0xd1, 0x4b, 0xc8, 0xd6, 0x69, 0x33, 0xb8, 0x49,
|
||||
0x4a, 0x32, 0x2d, 0xf6, 0x2d, 0x7c, 0x2c, 0x8f, 0x3d, 0x7a, 0x94, 0xf6, 0xe8, 0x4b, 0x08, 0x5b,
|
||||
0xdb, 0x78, 0x9c, 0xff, 0xfb, 0x06, 0x7e, 0x7e, 0x7e, 0x0b, 0xa4, 0xc1, 0x1b, 0xb4, 0x54, 0x8c,
|
||||
0x01, 0x8c, 0xf2, 0x6f, 0x40, 0xc5, 0xbc, 0x1b, 0x8f, 0x7c, 0xea, 0x1d, 0xb9, 0xe4, 0x72, 0xe7,
|
||||
0xe5, 0x11, 0xcd, 0xbb, 0xd7, 0x3f, 0x8c, 0xb7, 0x9e, 0x95, 0x57, 0x26, 0x24, 0x82, 0x1f, 0x5b,
|
||||
0x27, 0x4b, 0x15, 0x40, 0x8e, 0x01, 0x52, 0xd6, 0x61, 0xd9, 0xe1, 0xf0, 0xc8, 0xba, 0xbe, 0x0a,
|
||||
0xf0, 0x08, 0x90, 0xdc, 0xf1, 0xab, 0x2d, 0x94, 0x23, 0xad, 0xec, 0x04, 0xe4, 0x2b, 0x58, 0x67,
|
||||
0xd0, 0x2a, 0x72, 0x3e, 0xdd, 0xeb, 0xb0, 0xac, 0x3d, 0x4c, 0xcb, 0x8d, 0x7d, 0x5f, 0x0b, 0x0f,
|
||||
0x91, 0x27, 0x3d, 0x7e, 0x01, 0x95, 0x0a, 0x84, 0x23, 0xa4, 0x85, 0x34, 0xb3, 0x8a, 0x70, 0x5a,
|
||||
0x21, 0xf8, 0xb4, 0x59, 0x3f, 0x9e, 0x47, 0xf8, 0xb4, 0x63, 0x49, 0xc6, 0xcf, 0xd0, 0x22, 0xa1,
|
||||
0xaa, 0x62, 0xb1, 0xfd, 0x0e, 0xcb, 0x9a, 0xc3, 0xd3, 0xbf, 0x7c, 0xdb, 0xee, 0x86, 0xb7, 0xc1,
|
||||
0xaa, 0xb2, 0x02, 0xa9, 0x01, 0x27, 0x9a, 0xd2, 0x83, 0x5a, 0x3b, 0xd9, 0x84, 0x83, 0x3a, 0xeb,
|
||||
0x0f, 0x3e, 0x57, 0x82, 0x2d, 0x57, 0x82, 0x7d, 0xaf, 0x04, 0xfb, 0x58, 0x8b, 0xc6, 0x72, 0x2d,
|
||||
0x1a, 0x5f, 0x6b, 0xd1, 0x78, 0xc9, 0x27, 0x48, 0x7a, 0x56, 0xe6, 0x23, 0x67, 0x0a, 0xd2, 0xca,
|
||||
0x07, 0x0c, 0x45, 0x9c, 0xf6, 0xfd, 0xdf, 0xb8, 0xb4, 0x98, 0x42, 0x28, 0x5b, 0xf5, 0xac, 0xbd,
|
||||
0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x56, 0x3a, 0xd4, 0xaa, 0x80, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (m *Params) Marshal() (dAtA []byte, err error) {
|
||||
|
Loading…
Reference in New Issue
Block a user