|
|
|
@ -6,6 +6,7 @@ package types
|
|
|
|
|
import (
|
|
|
|
|
context "context"
|
|
|
|
|
fmt "fmt"
|
|
|
|
|
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
|
|
|
|
|
query "github.com/cosmos/cosmos-sdk/types/query"
|
|
|
|
|
_ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
|
grpc1 "github.com/gogo/protobuf/grpc"
|
|
|
|
@ -1151,6 +1152,82 @@ func (m *QueryTraceBlockResponse) GetData() []byte {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// QueryBaseFeeRequest defines the request type for querying the EIP1559 base
|
|
|
|
|
// fee.
|
|
|
|
|
type QueryBaseFeeRequest struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeRequest) Reset() { *m = QueryBaseFeeRequest{} }
|
|
|
|
|
func (m *QueryBaseFeeRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryBaseFeeRequest) ProtoMessage() {}
|
|
|
|
|
func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_e15a877459347994, []int{22}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_QueryBaseFeeRequest.Marshal(b, m, deterministic)
|
|
|
|
|
} else {
|
|
|
|
|
b = b[:cap(b)]
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return b[:n], nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeRequest) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_QueryBaseFeeRequest.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeRequest) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeRequest) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_QueryBaseFeeRequest.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_QueryBaseFeeRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
// BaseFeeResponse returns the EIP1559 base fee.
|
|
|
|
|
type QueryBaseFeeResponse struct {
|
|
|
|
|
BaseFee *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=base_fee,json=baseFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"base_fee,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeResponse) Reset() { *m = QueryBaseFeeResponse{} }
|
|
|
|
|
func (m *QueryBaseFeeResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryBaseFeeResponse) ProtoMessage() {}
|
|
|
|
|
func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_e15a877459347994, []int{23}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_QueryBaseFeeResponse.Marshal(b, m, deterministic)
|
|
|
|
|
} else {
|
|
|
|
|
b = b[:cap(b)]
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return b[:n], nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeResponse) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_QueryBaseFeeResponse.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeResponse) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeResponse) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_QueryBaseFeeResponse.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_QueryBaseFeeResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
|
proto.RegisterType((*QueryAccountRequest)(nil), "ethermint.evm.v1.QueryAccountRequest")
|
|
|
|
|
proto.RegisterType((*QueryAccountResponse)(nil), "ethermint.evm.v1.QueryAccountResponse")
|
|
|
|
@ -1174,93 +1251,100 @@ func init() {
|
|
|
|
|
proto.RegisterType((*QueryTraceTxResponse)(nil), "ethermint.evm.v1.QueryTraceTxResponse")
|
|
|
|
|
proto.RegisterType((*QueryTraceBlockRequest)(nil), "ethermint.evm.v1.QueryTraceBlockRequest")
|
|
|
|
|
proto.RegisterType((*QueryTraceBlockResponse)(nil), "ethermint.evm.v1.QueryTraceBlockResponse")
|
|
|
|
|
proto.RegisterType((*QueryBaseFeeRequest)(nil), "ethermint.evm.v1.QueryBaseFeeRequest")
|
|
|
|
|
proto.RegisterType((*QueryBaseFeeResponse)(nil), "ethermint.evm.v1.QueryBaseFeeResponse")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("ethermint/evm/v1/query.proto", fileDescriptor_e15a877459347994) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_e15a877459347994 = []byte{
|
|
|
|
|
// 1294 bytes of a gzipped FileDescriptorProto
|
|
|
|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 0xc2, 0x2a, 0xb3, 0x42, 0x83, 0xdf, 0xfe, 0x37, 0x00,
|
|
|
|
|
0x00, 0xff, 0xff, 0xe3, 0x18, 0xf8, 0xf5, 0x5a, 0x10, 0x00, 0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
@ -1299,6 +1383,9 @@ type QueryClient interface {
|
|
|
|
|
TraceTx(ctx context.Context, in *QueryTraceTxRequest, opts ...grpc.CallOption) (*QueryTraceTxResponse, error)
|
|
|
|
|
// TraceBlock implements the `debug_traceBlockByNumber` and `debug_traceBlockByHash` rpc api
|
|
|
|
|
TraceBlock(ctx context.Context, in *QueryTraceBlockRequest, opts ...grpc.CallOption) (*QueryTraceBlockResponse, error)
|
|
|
|
|
// BaseFee queries the base fee of the parent block of the current block,
|
|
|
|
|
// it's similar to feemarket module's method, but also checks london hardfork status.
|
|
|
|
|
BaseFee(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type queryClient struct {
|
|
|
|
@ -1408,6 +1495,15 @@ func (c *queryClient) TraceBlock(ctx context.Context, in *QueryTraceBlockRequest
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *queryClient) BaseFee(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error) {
|
|
|
|
|
out := new(QueryBaseFeeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/ethermint.evm.v1.Query/BaseFee", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// QueryServer is the server API for Query service.
|
|
|
|
|
type QueryServer interface {
|
|
|
|
|
// Account queries an Ethereum account.
|
|
|
|
@ -1434,6 +1530,9 @@ type QueryServer interface {
|
|
|
|
|
TraceTx(context.Context, *QueryTraceTxRequest) (*QueryTraceTxResponse, error)
|
|
|
|
|
// TraceBlock implements the `debug_traceBlockByNumber` and `debug_traceBlockByHash` rpc api
|
|
|
|
|
TraceBlock(context.Context, *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error)
|
|
|
|
|
// BaseFee queries the base fee of the parent block of the current block,
|
|
|
|
|
// it's similar to feemarket module's method, but also checks london hardfork status.
|
|
|
|
|
BaseFee(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedQueryServer can be embedded to have forward compatible implementations.
|
|
|
|
@ -1473,6 +1572,9 @@ func (*UnimplementedQueryServer) TraceTx(ctx context.Context, req *QueryTraceTxR
|
|
|
|
|
func (*UnimplementedQueryServer) TraceBlock(ctx context.Context, req *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method TraceBlock not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedQueryServer) BaseFee(ctx context.Context, req *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method BaseFee not implemented")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func RegisterQueryServer(s grpc1.Server, srv QueryServer) {
|
|
|
|
|
s.RegisterService(&_Query_serviceDesc, srv)
|
|
|
|
@ -1676,6 +1778,24 @@ func _Query_TraceBlock_Handler(srv interface{}, ctx context.Context, dec func(in
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Query_BaseFee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(QueryBaseFeeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(QueryServer).BaseFee(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/ethermint.evm.v1.Query/BaseFee",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(QueryServer).BaseFee(ctx, req.(*QueryBaseFeeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var _Query_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "ethermint.evm.v1.Query",
|
|
|
|
|
HandlerType: (*QueryServer)(nil),
|
|
|
|
@ -1724,6 +1844,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
MethodName: "TraceBlock",
|
|
|
|
|
Handler: _Query_TraceBlock_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "BaseFee",
|
|
|
|
|
Handler: _Query_BaseFee_Handler,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "ethermint/evm/v1/query.proto",
|
|
|
|
@ -2548,6 +2672,64 @@ func (m *QueryTraceBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeRequest) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return dAtA[:n], nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeResponse) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return dAtA[:n], nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if m.BaseFee != nil {
|
|
|
|
|
{
|
|
|
|
|
size := m.BaseFee.Size()
|
|
|
|
|
i -= size
|
|
|
|
|
if _, err := m.BaseFee.MarshalTo(dAtA[i:]); err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i = encodeVarintQuery(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
|
}
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func encodeVarintQuery(dAtA []byte, offset int, v uint64) int {
|
|
|
|
|
offset -= sovQuery(v)
|
|
|
|
|
base := offset
|
|
|
|
@ -2908,6 +3090,28 @@ func (m *QueryTraceBlockResponse) Size() (n int) {
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeRequest) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryBaseFeeResponse) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if m.BaseFee != nil {
|
|
|
|
|
l = m.BaseFee.Size()
|
|
|
|
|
n += 1 + l + sovQuery(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func sovQuery(x uint64) (n int) {
|
|
|
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
|
|
|
}
|
|
|
|
@ -5214,6 +5418,142 @@ func (m *QueryTraceBlockResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
for iNdEx < l {
|
|
|
|
|
preIndex := iNdEx
|
|
|
|
|
var wire uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
|
if wireType == 4 {
|
|
|
|
|
return fmt.Errorf("proto: QueryBaseFeeRequest: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: QueryBaseFeeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
default:
|
|
|
|
|
iNdEx = preIndex
|
|
|
|
|
skippy, err := skipQuery(dAtA[iNdEx:])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryBaseFeeResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
for iNdEx < l {
|
|
|
|
|
preIndex := iNdEx
|
|
|
|
|
var wire uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
|
if wireType == 4 {
|
|
|
|
|
return fmt.Errorf("proto: QueryBaseFeeResponse: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: QueryBaseFeeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
case 1:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BaseFee", wireType)
|
|
|
|
|
}
|
|
|
|
|
var stringLen uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
|
if intStringLen < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
var v github_com_cosmos_cosmos_sdk_types.Int
|
|
|
|
|
m.BaseFee = &v
|
|
|
|
|
if err := m.BaseFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
default:
|
|
|
|
|
iNdEx = preIndex
|
|
|
|
|
skippy, err := skipQuery(dAtA[iNdEx:])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func skipQuery(dAtA []byte) (n int, err error) {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|