feat: Update Cosmos SDK to CometBFT v2 (#24837)

Co-authored-by: aljo242 <alex@interchainlabs.io>
This commit is contained in:
Zachary Becker
2025-06-04 17:34:20 +00:00
committed by GitHub
co-authored by aljo242
parent b78a6c660e
commit fd170b5140
341 changed files with 9024 additions and 7892 deletions
+42 -42
View File
@@ -2,8 +2,8 @@
package abciv1beta1
import (
v1 "cosmossdk.io/api/cometbft/abci/v1"
v11 "cosmossdk.io/api/cometbft/types/v1"
v2 "cosmossdk.io/api/cometbft/abci/v2"
v21 "cosmossdk.io/api/cometbft/types/v2"
fmt "fmt"
_ "github.com/cosmos/cosmos-proto"
runtime "github.com/cosmos/cosmos-proto/runtime"
@@ -71,7 +71,7 @@ func (x *_TxResponse_7_list) IsValid() bool {
var _ protoreflect.List = (*_TxResponse_13_list)(nil)
type _TxResponse_13_list struct {
list *[]*v1.Event
list *[]*v2.Event
}
func (x *_TxResponse_13_list) Len() int {
@@ -87,18 +87,18 @@ func (x *_TxResponse_13_list) Get(i int) protoreflect.Value {
func (x *_TxResponse_13_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v1.Event)
concreteValue := valueUnwrapped.Interface().(*v2.Event)
(*x.list)[i] = concreteValue
}
func (x *_TxResponse_13_list) Append(value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v1.Event)
concreteValue := valueUnwrapped.Interface().(*v2.Event)
*x.list = append(*x.list, concreteValue)
}
func (x *_TxResponse_13_list) AppendMutable() protoreflect.Value {
v := new(v1.Event)
v := new(v2.Event)
*x.list = append(*x.list, v)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
@@ -111,7 +111,7 @@ func (x *_TxResponse_13_list) Truncate(n int) {
}
func (x *_TxResponse_13_list) NewElement() protoreflect.Value {
v := new(v1.Event)
v := new(v2.Event)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
@@ -524,7 +524,7 @@ func (x *fastReflection_TxResponse) Mutable(fd protoreflect.FieldDescriptor) pro
return protoreflect.ValueOfMessage(x.Tx.ProtoReflect())
case "cosmos.base.abci.v1beta1.TxResponse.events":
if x.Events == nil {
x.Events = []*v1.Event{}
x.Events = []*v2.Event{}
}
value := &_TxResponse_13_list{list: &x.Events}
return protoreflect.ValueOfList(value)
@@ -588,7 +588,7 @@ func (x *fastReflection_TxResponse) NewField(fd protoreflect.FieldDescriptor) pr
case "cosmos.base.abci.v1beta1.TxResponse.timestamp":
return protoreflect.ValueOfString("")
case "cosmos.base.abci.v1beta1.TxResponse.events":
list := []*v1.Event{}
list := []*v2.Event{}
return protoreflect.ValueOfList(&_TxResponse_13_list{list: &list})
default:
if fd.IsExtension() {
@@ -1264,7 +1264,7 @@ func (x *fastReflection_TxResponse) ProtoMethods() *protoiface.Methods {
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.Events = append(x.Events, &v1.Event{})
x.Events = append(x.Events, &v2.Event{})
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Events[len(x.Events)-1]); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
@@ -3407,7 +3407,7 @@ func (x *fastReflection_GasInfo) ProtoMethods() *protoiface.Methods {
var _ protoreflect.List = (*_Result_3_list)(nil)
type _Result_3_list struct {
list *[]*v1.Event
list *[]*v2.Event
}
func (x *_Result_3_list) Len() int {
@@ -3423,18 +3423,18 @@ func (x *_Result_3_list) Get(i int) protoreflect.Value {
func (x *_Result_3_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v1.Event)
concreteValue := valueUnwrapped.Interface().(*v2.Event)
(*x.list)[i] = concreteValue
}
func (x *_Result_3_list) Append(value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v1.Event)
concreteValue := valueUnwrapped.Interface().(*v2.Event)
*x.list = append(*x.list, concreteValue)
}
func (x *_Result_3_list) AppendMutable() protoreflect.Value {
v := new(v1.Event)
v := new(v2.Event)
*x.list = append(*x.list, v)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
@@ -3447,7 +3447,7 @@ func (x *_Result_3_list) Truncate(n int) {
}
func (x *_Result_3_list) NewElement() protoreflect.Value {
v := new(v1.Event)
v := new(v2.Event)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
@@ -3747,7 +3747,7 @@ func (x *fastReflection_Result) Mutable(fd protoreflect.FieldDescriptor) protore
switch fd.FullName() {
case "cosmos.base.abci.v1beta1.Result.events":
if x.Events == nil {
x.Events = []*v1.Event{}
x.Events = []*v2.Event{}
}
value := &_Result_3_list{list: &x.Events}
return protoreflect.ValueOfList(value)
@@ -3779,7 +3779,7 @@ func (x *fastReflection_Result) NewField(fd protoreflect.FieldDescriptor) protor
case "cosmos.base.abci.v1beta1.Result.log":
return protoreflect.ValueOfString("")
case "cosmos.base.abci.v1beta1.Result.events":
list := []*v1.Event{}
list := []*v2.Event{}
return protoreflect.ValueOfList(&_Result_3_list{list: &list})
case "cosmos.base.abci.v1beta1.Result.msg_responses":
list := []*anypb.Any{}
@@ -4092,7 +4092,7 @@ func (x *fastReflection_Result) ProtoMethods() *protoiface.Methods {
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.Events = append(x.Events, &v1.Event{})
x.Events = append(x.Events, &v2.Event{})
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Events[len(x.Events)-1]); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
@@ -6535,7 +6535,7 @@ func (x *fastReflection_SearchTxsResult) ProtoMethods() *protoiface.Methods {
var _ protoreflect.List = (*_SearchBlocksResult_6_list)(nil)
type _SearchBlocksResult_6_list struct {
list *[]*v11.Block
list *[]*v21.Block
}
func (x *_SearchBlocksResult_6_list) Len() int {
@@ -6551,18 +6551,18 @@ func (x *_SearchBlocksResult_6_list) Get(i int) protoreflect.Value {
func (x *_SearchBlocksResult_6_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v11.Block)
concreteValue := valueUnwrapped.Interface().(*v21.Block)
(*x.list)[i] = concreteValue
}
func (x *_SearchBlocksResult_6_list) Append(value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v11.Block)
concreteValue := valueUnwrapped.Interface().(*v21.Block)
*x.list = append(*x.list, concreteValue)
}
func (x *_SearchBlocksResult_6_list) AppendMutable() protoreflect.Value {
v := new(v11.Block)
v := new(v21.Block)
*x.list = append(*x.list, v)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
@@ -6575,7 +6575,7 @@ func (x *_SearchBlocksResult_6_list) Truncate(n int) {
}
func (x *_SearchBlocksResult_6_list) NewElement() protoreflect.Value {
v := new(v11.Block)
v := new(v21.Block)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
@@ -6853,7 +6853,7 @@ func (x *fastReflection_SearchBlocksResult) Mutable(fd protoreflect.FieldDescrip
switch fd.FullName() {
case "cosmos.base.abci.v1beta1.SearchBlocksResult.blocks":
if x.Blocks == nil {
x.Blocks = []*v11.Block{}
x.Blocks = []*v21.Block{}
}
value := &_SearchBlocksResult_6_list{list: &x.Blocks}
return protoreflect.ValueOfList(value)
@@ -6891,7 +6891,7 @@ func (x *fastReflection_SearchBlocksResult) NewField(fd protoreflect.FieldDescri
case "cosmos.base.abci.v1beta1.SearchBlocksResult.limit":
return protoreflect.ValueOfInt64(int64(0))
case "cosmos.base.abci.v1beta1.SearchBlocksResult.blocks":
list := []*v11.Block{}
list := []*v21.Block{}
return protoreflect.ValueOfList(&_SearchBlocksResult_6_list{list: &list})
default:
if fd.IsExtension() {
@@ -7226,7 +7226,7 @@ func (x *fastReflection_SearchBlocksResult) ProtoMethods() *protoiface.Methods {
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.Blocks = append(x.Blocks, &v11.Block{})
x.Blocks = append(x.Blocks, &v21.Block{})
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Blocks[len(x.Blocks)-1]); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
@@ -7317,7 +7317,7 @@ type TxResponse struct {
// these events include those emitted by processing all the messages and those
// emitted from the ante. Whereas Logs contains the events, with
// additional metadata, emitted only by processing the messages.
Events []*v1.Event `protobuf:"bytes,13,rep,name=events,proto3" json:"events,omitempty"`
Events []*v2.Event `protobuf:"bytes,13,rep,name=events,proto3" json:"events,omitempty"`
}
func (x *TxResponse) Reset() {
@@ -7424,7 +7424,7 @@ func (x *TxResponse) GetTimestamp() string {
return ""
}
func (x *TxResponse) GetEvents() []*v1.Event {
func (x *TxResponse) GetEvents() []*v2.Event {
if x != nil {
return x.Events
}
@@ -7638,7 +7638,7 @@ type Result struct {
Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"`
// Events contains a slice of Event objects that were emitted during message
// or handler execution.
Events []*v1.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
Events []*v2.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
// msg_responses contains the Msg handler responses type packed in Anys.
MsgResponses []*anypb.Any `protobuf:"bytes,4,rep,name=msg_responses,json=msgResponses,proto3" json:"msg_responses,omitempty"`
}
@@ -7678,7 +7678,7 @@ func (x *Result) GetLog() string {
return ""
}
func (x *Result) GetEvents() []*v1.Event {
func (x *Result) GetEvents() []*v2.Event {
if x != nil {
return x.Events
}
@@ -7933,7 +7933,7 @@ type SearchBlocksResult struct {
// Max count blocks per page
Limit int64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
// List of blocks in current page
Blocks []*v11.Block `protobuf:"bytes,6,rep,name=blocks,proto3" json:"blocks,omitempty"`
Blocks []*v21.Block `protobuf:"bytes,6,rep,name=blocks,proto3" json:"blocks,omitempty"`
}
func (x *SearchBlocksResult) Reset() {
@@ -7991,7 +7991,7 @@ func (x *SearchBlocksResult) GetLimit() int64 {
return 0
}
func (x *SearchBlocksResult) GetBlocks() []*v11.Block {
func (x *SearchBlocksResult) GetBlocks() []*v21.Block {
if x != nil {
return x.Blocks
}
@@ -8007,9 +8007,9 @@ var file_cosmos_base_abci_v1beta1_abci_proto_rawDesc = []byte{
0x73, 0x65, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a,
0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f,
0x61, 0x62, 0x63, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72,
0x61, 0x62, 0x63, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79,
0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d,
@@ -8040,7 +8040,7 @@ var file_cosmos_base_abci_v1beta1_abci_proto_rawDesc = []byte{
0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x48, 0x0a, 0x06, 0x65,
0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x45,
0x76, 0x65, 0x6e, 0x74, 0x42, 0x17, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xb4, 0x2d, 0x0f, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x20, 0x30, 0x2e, 0x34, 0x35, 0x52, 0x06, 0x65,
0x76, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x04, 0x88, 0xa0, 0x1f, 0x00, 0x22, 0xa9, 0x01, 0x0a, 0x0e,
@@ -8074,7 +8074,7 @@ var file_cosmos_base_abci_v1beta1_abci_proto_rawDesc = []byte{
0x18, 0x01, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76,
0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x76,
0x65, 0x6e, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
0x73, 0x12, 0x4e, 0x0a, 0x0d, 0x6d, 0x73, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
@@ -8131,7 +8131,7 @@ var file_cosmos_base_abci_v1beta1_abci_proto_rawDesc = []byte{
0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c,
0x69, 0x6d, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x06,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06,
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x3a, 0x04, 0x80, 0xdc, 0x20, 0x01, 0x42, 0xe7, 0x01, 0xd8,
0xe1, 0x1e, 0x00, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
@@ -8176,23 +8176,23 @@ var file_cosmos_base_abci_v1beta1_abci_proto_goTypes = []interface{}{
(*SearchTxsResult)(nil), // 9: cosmos.base.abci.v1beta1.SearchTxsResult
(*SearchBlocksResult)(nil), // 10: cosmos.base.abci.v1beta1.SearchBlocksResult
(*anypb.Any)(nil), // 11: google.protobuf.Any
(*v1.Event)(nil), // 12: cometbft.abci.v1.Event
(*v11.Block)(nil), // 13: cometbft.types.v1.Block
(*v2.Event)(nil), // 12: cometbft.abci.v2.Event
(*v21.Block)(nil), // 13: cometbft.types.v2.Block
}
var file_cosmos_base_abci_v1beta1_abci_proto_depIdxs = []int32{
1, // 0: cosmos.base.abci.v1beta1.TxResponse.logs:type_name -> cosmos.base.abci.v1beta1.ABCIMessageLog
11, // 1: cosmos.base.abci.v1beta1.TxResponse.tx:type_name -> google.protobuf.Any
12, // 2: cosmos.base.abci.v1beta1.TxResponse.events:type_name -> cometbft.abci.v1.Event
12, // 2: cosmos.base.abci.v1beta1.TxResponse.events:type_name -> cometbft.abci.v2.Event
2, // 3: cosmos.base.abci.v1beta1.ABCIMessageLog.events:type_name -> cosmos.base.abci.v1beta1.StringEvent
3, // 4: cosmos.base.abci.v1beta1.StringEvent.attributes:type_name -> cosmos.base.abci.v1beta1.Attribute
12, // 5: cosmos.base.abci.v1beta1.Result.events:type_name -> cometbft.abci.v1.Event
12, // 5: cosmos.base.abci.v1beta1.Result.events:type_name -> cometbft.abci.v2.Event
11, // 6: cosmos.base.abci.v1beta1.Result.msg_responses:type_name -> google.protobuf.Any
4, // 7: cosmos.base.abci.v1beta1.SimulationResponse.gas_info:type_name -> cosmos.base.abci.v1beta1.GasInfo
5, // 8: cosmos.base.abci.v1beta1.SimulationResponse.result:type_name -> cosmos.base.abci.v1beta1.Result
7, // 9: cosmos.base.abci.v1beta1.TxMsgData.data:type_name -> cosmos.base.abci.v1beta1.MsgData
11, // 10: cosmos.base.abci.v1beta1.TxMsgData.msg_responses:type_name -> google.protobuf.Any
0, // 11: cosmos.base.abci.v1beta1.SearchTxsResult.txs:type_name -> cosmos.base.abci.v1beta1.TxResponse
13, // 12: cosmos.base.abci.v1beta1.SearchBlocksResult.blocks:type_name -> cometbft.types.v1.Block
13, // 12: cosmos.base.abci.v1beta1.SearchBlocksResult.blocks:type_name -> cometbft.types.v2.Block
13, // [13:13] is the sub-list for method output_type
13, // [13:13] is the sub-list for method input_type
13, // [13:13] is the sub-list for extension type_name
@@ -3,8 +3,8 @@ package tendermintv1beta1
import (
_ "cosmossdk.io/api/amino"
v11 "cosmossdk.io/api/cometbft/p2p/v1"
v1 "cosmossdk.io/api/cometbft/types/v1"
v1 "cosmossdk.io/api/cometbft/p2p/v1"
v2 "cosmossdk.io/api/cometbft/types/v2"
v1beta1 "cosmossdk.io/api/cosmos/base/query/v1beta1"
fmt "fmt"
_ "github.com/cosmos/cosmos-proto"
@@ -3366,9 +3366,9 @@ func (x *fastReflection_GetBlockByHeightResponse) Get(descriptor protoreflect.Fi
func (x *fastReflection_GetBlockByHeightResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block_id":
x.BlockId = value.Message().Interface().(*v1.BlockID)
x.BlockId = value.Message().Interface().(*v2.BlockID)
case "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block":
x.Block = value.Message().Interface().(*v1.Block)
x.Block = value.Message().Interface().(*v2.Block)
case "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.sdk_block":
x.SdkBlock = value.Message().Interface().(*Block)
default:
@@ -3393,12 +3393,12 @@ func (x *fastReflection_GetBlockByHeightResponse) Mutable(fd protoreflect.FieldD
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block_id":
if x.BlockId == nil {
x.BlockId = new(v1.BlockID)
x.BlockId = new(v2.BlockID)
}
return protoreflect.ValueOfMessage(x.BlockId.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block":
if x.Block == nil {
x.Block = new(v1.Block)
x.Block = new(v2.Block)
}
return protoreflect.ValueOfMessage(x.Block.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.sdk_block":
@@ -3420,10 +3420,10 @@ func (x *fastReflection_GetBlockByHeightResponse) Mutable(fd protoreflect.FieldD
func (x *fastReflection_GetBlockByHeightResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block_id":
m := new(v1.BlockID)
m := new(v2.BlockID)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block":
m := new(v1.Block)
m := new(v2.Block)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.sdk_block":
m := new(Block)
@@ -3659,7 +3659,7 @@ func (x *fastReflection_GetBlockByHeightResponse) ProtoMethods() *protoiface.Met
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.BlockId == nil {
x.BlockId = &v1.BlockID{}
x.BlockId = &v2.BlockID{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.BlockId); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -3695,7 +3695,7 @@ func (x *fastReflection_GetBlockByHeightResponse) ProtoMethods() *protoiface.Met
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Block == nil {
x.Block = &v1.Block{}
x.Block = &v2.Block{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Block); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -4315,9 +4315,9 @@ func (x *fastReflection_GetLatestBlockResponse) Get(descriptor protoreflect.Fiel
func (x *fastReflection_GetLatestBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block_id":
x.BlockId = value.Message().Interface().(*v1.BlockID)
x.BlockId = value.Message().Interface().(*v2.BlockID)
case "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block":
x.Block = value.Message().Interface().(*v1.Block)
x.Block = value.Message().Interface().(*v2.Block)
case "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.sdk_block":
x.SdkBlock = value.Message().Interface().(*Block)
default:
@@ -4342,12 +4342,12 @@ func (x *fastReflection_GetLatestBlockResponse) Mutable(fd protoreflect.FieldDes
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block_id":
if x.BlockId == nil {
x.BlockId = new(v1.BlockID)
x.BlockId = new(v2.BlockID)
}
return protoreflect.ValueOfMessage(x.BlockId.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block":
if x.Block == nil {
x.Block = new(v1.Block)
x.Block = new(v2.Block)
}
return protoreflect.ValueOfMessage(x.Block.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.sdk_block":
@@ -4369,10 +4369,10 @@ func (x *fastReflection_GetLatestBlockResponse) Mutable(fd protoreflect.FieldDes
func (x *fastReflection_GetLatestBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block_id":
m := new(v1.BlockID)
m := new(v2.BlockID)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block":
m := new(v1.Block)
m := new(v2.Block)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.sdk_block":
m := new(Block)
@@ -4608,7 +4608,7 @@ func (x *fastReflection_GetLatestBlockResponse) ProtoMethods() *protoiface.Metho
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.BlockId == nil {
x.BlockId = &v1.BlockID{}
x.BlockId = &v2.BlockID{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.BlockId); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -4644,7 +4644,7 @@ func (x *fastReflection_GetLatestBlockResponse) ProtoMethods() *protoiface.Metho
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Block == nil {
x.Block = &v1.Block{}
x.Block = &v2.Block{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Block); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -6015,7 +6015,7 @@ func (x *fastReflection_GetNodeInfoResponse) Get(descriptor protoreflect.FieldDe
func (x *fastReflection_GetNodeInfoResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.default_node_info":
x.DefaultNodeInfo = value.Message().Interface().(*v11.DefaultNodeInfo)
x.DefaultNodeInfo = value.Message().Interface().(*v1.DefaultNodeInfo)
case "cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.application_version":
x.ApplicationVersion = value.Message().Interface().(*VersionInfo)
default:
@@ -6040,7 +6040,7 @@ func (x *fastReflection_GetNodeInfoResponse) Mutable(fd protoreflect.FieldDescri
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.default_node_info":
if x.DefaultNodeInfo == nil {
x.DefaultNodeInfo = new(v11.DefaultNodeInfo)
x.DefaultNodeInfo = new(v1.DefaultNodeInfo)
}
return protoreflect.ValueOfMessage(x.DefaultNodeInfo.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.application_version":
@@ -6062,7 +6062,7 @@ func (x *fastReflection_GetNodeInfoResponse) Mutable(fd protoreflect.FieldDescri
func (x *fastReflection_GetNodeInfoResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.default_node_info":
m := new(v11.DefaultNodeInfo)
m := new(v1.DefaultNodeInfo)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.application_version":
m := new(VersionInfo)
@@ -6280,7 +6280,7 @@ func (x *fastReflection_GetNodeInfoResponse) ProtoMethods() *protoiface.Methods
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.DefaultNodeInfo == nil {
x.DefaultNodeInfo = &v11.DefaultNodeInfo{}
x.DefaultNodeInfo = &v1.DefaultNodeInfo{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.DefaultNodeInfo); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -10687,9 +10687,9 @@ type GetBlockByHeightResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BlockId *v1.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
BlockId *v2.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 *v2.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
SdkBlock *Block `protobuf:"bytes,3,opt,name=sdk_block,json=sdkBlock,proto3" json:"sdk_block,omitempty"`
}
@@ -10713,14 +10713,14 @@ func (*GetBlockByHeightResponse) Descriptor() ([]byte, []int) {
return file_cosmos_base_tendermint_v1beta1_query_proto_rawDescGZIP(), []int{6}
}
func (x *GetBlockByHeightResponse) GetBlockId() *v1.BlockID {
func (x *GetBlockByHeightResponse) GetBlockId() *v2.BlockID {
if x != nil {
return x.BlockId
}
return nil
}
func (x *GetBlockByHeightResponse) GetBlock() *v1.Block {
func (x *GetBlockByHeightResponse) GetBlock() *v2.Block {
if x != nil {
return x.Block
}
@@ -10767,9 +10767,9 @@ type GetLatestBlockResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BlockId *v1.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
BlockId *v2.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 *v2.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
SdkBlock *Block `protobuf:"bytes,3,opt,name=sdk_block,json=sdkBlock,proto3" json:"sdk_block,omitempty"`
}
@@ -10793,14 +10793,14 @@ func (*GetLatestBlockResponse) Descriptor() ([]byte, []int) {
return file_cosmos_base_tendermint_v1beta1_query_proto_rawDescGZIP(), []int{8}
}
func (x *GetLatestBlockResponse) GetBlockId() *v1.BlockID {
func (x *GetLatestBlockResponse) GetBlockId() *v2.BlockID {
if x != nil {
return x.BlockId
}
return nil
}
func (x *GetLatestBlockResponse) GetBlock() *v1.Block {
func (x *GetLatestBlockResponse) GetBlock() *v2.Block {
if x != nil {
return x.Block
}
@@ -10910,8 +10910,8 @@ type GetNodeInfoResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DefaultNodeInfo *v11.DefaultNodeInfo `protobuf:"bytes,1,opt,name=default_node_info,json=defaultNodeInfo,proto3" json:"default_node_info,omitempty"`
ApplicationVersion *VersionInfo `protobuf:"bytes,2,opt,name=application_version,json=applicationVersion,proto3" json:"application_version,omitempty"`
DefaultNodeInfo *v1.DefaultNodeInfo `protobuf:"bytes,1,opt,name=default_node_info,json=defaultNodeInfo,proto3" json:"default_node_info,omitempty"`
ApplicationVersion *VersionInfo `protobuf:"bytes,2,opt,name=application_version,json=applicationVersion,proto3" json:"application_version,omitempty"`
}
func (x *GetNodeInfoResponse) Reset() {
@@ -10934,7 +10934,7 @@ func (*GetNodeInfoResponse) Descriptor() ([]byte, []int) {
return file_cosmos_base_tendermint_v1beta1_query_proto_rawDescGZIP(), []int{12}
}
func (x *GetNodeInfoResponse) GetDefaultNodeInfo() *v11.DefaultNodeInfo {
func (x *GetNodeInfoResponse) GetDefaultNodeInfo() *v1.DefaultNodeInfo {
if x != nil {
return x.DefaultNodeInfo
}
@@ -11367,7 +11367,7 @@ var file_cosmos_base_tendermint_v1beta1_query_proto_rawDesc = []byte{
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x6d,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70,
0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62,
0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65,
0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65,
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f,
0x62, 0x61, 0x73, 0x65, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
0x61, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
@@ -11376,7 +11376,7 @@ var file_cosmos_base_tendermint_v1beta1_query_proto_rawDesc = []byte{
0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x6f, 0x6d, 0x65,
0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x6c,
0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x62, 0x6c,
0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f,
0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a,
0x1e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74,
@@ -11440,10 +11440,10 @@ var file_cosmos_base_tendermint_v1beta1_query_proto_rawDesc = []byte{
0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08,
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63,
0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63,
0x6b, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c,
0x6f, 0x63, 0x6b, 0x12, 0x57, 0x0a, 0x09, 0x73, 0x64, 0x6b, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e,
@@ -11455,10 +11455,10 @@ var file_cosmos_base_tendermint_v1beta1_query_proto_rawDesc = []byte{
0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x35, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x52, 0x07,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x52, 0x07,
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66,
0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x57, 0x0a, 0x09, 0x73, 0x64, 0x6b, 0x5f, 0x62,
0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d,
@@ -11681,10 +11681,10 @@ var file_cosmos_base_tendermint_v1beta1_query_proto_goTypes = []interface{}{
(*v1beta1.PageRequest)(nil), // 19: cosmos.base.query.v1beta1.PageRequest
(*v1beta1.PageResponse)(nil), // 20: cosmos.base.query.v1beta1.PageResponse
(*anypb.Any)(nil), // 21: google.protobuf.Any
(*v1.BlockID)(nil), // 22: cometbft.types.v1.BlockID
(*v1.Block)(nil), // 23: cometbft.types.v1.Block
(*v2.BlockID)(nil), // 22: cometbft.types.v2.BlockID
(*v2.Block)(nil), // 23: cometbft.types.v2.Block
(*Block)(nil), // 24: cosmos.base.tendermint.v1beta1.Block
(*v11.DefaultNodeInfo)(nil), // 25: cometbft.p2p.v1.DefaultNodeInfo
(*v1.DefaultNodeInfo)(nil), // 25: cometbft.p2p.v1.DefaultNodeInfo
}
var file_cosmos_base_tendermint_v1beta1_query_proto_depIdxs = []int32{
19, // 0: cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest
@@ -11694,11 +11694,11 @@ var file_cosmos_base_tendermint_v1beta1_query_proto_depIdxs = []int32{
4, // 4: cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse.validators:type_name -> cosmos.base.tendermint.v1beta1.Validator
20, // 5: cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse
21, // 6: cosmos.base.tendermint.v1beta1.Validator.pub_key:type_name -> google.protobuf.Any
22, // 7: cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block_id:type_name -> cometbft.types.v1.BlockID
23, // 8: cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block:type_name -> cometbft.types.v1.Block
22, // 7: cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block_id:type_name -> cometbft.types.v2.BlockID
23, // 8: cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.block:type_name -> cometbft.types.v2.Block
24, // 9: cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse.sdk_block:type_name -> cosmos.base.tendermint.v1beta1.Block
22, // 10: cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block_id:type_name -> cometbft.types.v1.BlockID
23, // 11: cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block:type_name -> cometbft.types.v1.Block
22, // 10: cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block_id:type_name -> cometbft.types.v2.BlockID
23, // 11: cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.block:type_name -> cometbft.types.v2.Block
24, // 12: cosmos.base.tendermint.v1beta1.GetLatestBlockResponse.sdk_block:type_name -> cosmos.base.tendermint.v1beta1.Block
25, // 13: cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.default_node_info:type_name -> cometbft.p2p.v1.DefaultNodeInfo
13, // 14: cosmos.base.tendermint.v1beta1.GetNodeInfoResponse.application_version:type_name -> cosmos.base.tendermint.v1beta1.VersionInfo
@@ -3,8 +3,8 @@ package tendermintv1beta1
import (
_ "cosmossdk.io/api/amino"
v1 "cosmossdk.io/api/cometbft/types/v1"
v11 "cosmossdk.io/api/cometbft/version/v1"
v2 "cosmossdk.io/api/cometbft/types/v2"
v1 "cosmossdk.io/api/cometbft/version/v1"
fmt "fmt"
runtime "github.com/cosmos/cosmos-proto/runtime"
_ "github.com/cosmos/gogoproto/gogoproto"
@@ -221,11 +221,11 @@ func (x *fastReflection_Block) Set(fd protoreflect.FieldDescriptor, value protor
case "cosmos.base.tendermint.v1beta1.Block.header":
x.Header = value.Message().Interface().(*Header)
case "cosmos.base.tendermint.v1beta1.Block.data":
x.Data = value.Message().Interface().(*v1.Data)
x.Data = value.Message().Interface().(*v2.Data)
case "cosmos.base.tendermint.v1beta1.Block.evidence":
x.Evidence = value.Message().Interface().(*v1.EvidenceList)
x.Evidence = value.Message().Interface().(*v2.EvidenceList)
case "cosmos.base.tendermint.v1beta1.Block.last_commit":
x.LastCommit = value.Message().Interface().(*v1.Commit)
x.LastCommit = value.Message().Interface().(*v2.Commit)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.tendermint.v1beta1.Block"))
@@ -253,17 +253,17 @@ func (x *fastReflection_Block) Mutable(fd protoreflect.FieldDescriptor) protoref
return protoreflect.ValueOfMessage(x.Header.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Block.data":
if x.Data == nil {
x.Data = new(v1.Data)
x.Data = new(v2.Data)
}
return protoreflect.ValueOfMessage(x.Data.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Block.evidence":
if x.Evidence == nil {
x.Evidence = new(v1.EvidenceList)
x.Evidence = new(v2.EvidenceList)
}
return protoreflect.ValueOfMessage(x.Evidence.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Block.last_commit":
if x.LastCommit == nil {
x.LastCommit = new(v1.Commit)
x.LastCommit = new(v2.Commit)
}
return protoreflect.ValueOfMessage(x.LastCommit.ProtoReflect())
default:
@@ -283,13 +283,13 @@ func (x *fastReflection_Block) NewField(fd protoreflect.FieldDescriptor) protore
m := new(Header)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Block.data":
m := new(v1.Data)
m := new(v2.Data)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Block.evidence":
m := new(v1.EvidenceList)
m := new(v2.EvidenceList)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Block.last_commit":
m := new(v1.Commit)
m := new(v2.Commit)
return protoreflect.ValueOfMessage(m.ProtoReflect())
default:
if fd.IsExtension() {
@@ -576,7 +576,7 @@ func (x *fastReflection_Block) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Data == nil {
x.Data = &v1.Data{}
x.Data = &v2.Data{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Data); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -612,7 +612,7 @@ func (x *fastReflection_Block) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Evidence == nil {
x.Evidence = &v1.EvidenceList{}
x.Evidence = &v2.EvidenceList{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Evidence); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -648,7 +648,7 @@ func (x *fastReflection_Block) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.LastCommit == nil {
x.LastCommit = &v1.Commit{}
x.LastCommit = &v2.Commit{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LastCommit); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -1041,7 +1041,7 @@ func (x *fastReflection_Header) Get(descriptor protoreflect.FieldDescriptor) pro
func (x *fastReflection_Header) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.Header.version":
x.Version = value.Message().Interface().(*v11.Consensus)
x.Version = value.Message().Interface().(*v1.Consensus)
case "cosmos.base.tendermint.v1beta1.Header.chain_id":
x.ChainId = value.Interface().(string)
case "cosmos.base.tendermint.v1beta1.Header.height":
@@ -1049,7 +1049,7 @@ func (x *fastReflection_Header) Set(fd protoreflect.FieldDescriptor, value proto
case "cosmos.base.tendermint.v1beta1.Header.time":
x.Time = value.Message().Interface().(*timestamppb.Timestamp)
case "cosmos.base.tendermint.v1beta1.Header.last_block_id":
x.LastBlockId = value.Message().Interface().(*v1.BlockID)
x.LastBlockId = value.Message().Interface().(*v2.BlockID)
case "cosmos.base.tendermint.v1beta1.Header.last_commit_hash":
x.LastCommitHash = value.Bytes()
case "cosmos.base.tendermint.v1beta1.Header.data_hash":
@@ -1090,7 +1090,7 @@ func (x *fastReflection_Header) Mutable(fd protoreflect.FieldDescriptor) protore
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.Header.version":
if x.Version == nil {
x.Version = new(v11.Consensus)
x.Version = new(v1.Consensus)
}
return protoreflect.ValueOfMessage(x.Version.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Header.time":
@@ -1100,7 +1100,7 @@ func (x *fastReflection_Header) Mutable(fd protoreflect.FieldDescriptor) protore
return protoreflect.ValueOfMessage(x.Time.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Header.last_block_id":
if x.LastBlockId == nil {
x.LastBlockId = new(v1.BlockID)
x.LastBlockId = new(v2.BlockID)
}
return protoreflect.ValueOfMessage(x.LastBlockId.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Header.chain_id":
@@ -1139,7 +1139,7 @@ func (x *fastReflection_Header) Mutable(fd protoreflect.FieldDescriptor) protore
func (x *fastReflection_Header) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.base.tendermint.v1beta1.Header.version":
m := new(v11.Consensus)
m := new(v1.Consensus)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Header.chain_id":
return protoreflect.ValueOfString("")
@@ -1149,7 +1149,7 @@ func (x *fastReflection_Header) NewField(fd protoreflect.FieldDescriptor) protor
m := new(timestamppb.Timestamp)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Header.last_block_id":
m := new(v1.BlockID)
m := new(v2.BlockID)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.base.tendermint.v1beta1.Header.last_commit_hash":
return protoreflect.ValueOfBytes(nil)
@@ -1518,7 +1518,7 @@ func (x *fastReflection_Header) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Version == nil {
x.Version = &v11.Consensus{}
x.Version = &v1.Consensus{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Version); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -1641,7 +1641,7 @@ func (x *fastReflection_Header) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.LastBlockId == nil {
x.LastBlockId = &v1.BlockID{}
x.LastBlockId = &v2.BlockID{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LastBlockId); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -2007,9 +2007,9 @@ type Block struct {
unknownFields protoimpl.UnknownFields
Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Data *v1.Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Evidence *v1.EvidenceList `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence,omitempty"`
LastCommit *v1.Commit `protobuf:"bytes,4,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"`
Data *v2.Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Evidence *v2.EvidenceList `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence,omitempty"`
LastCommit *v2.Commit `protobuf:"bytes,4,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"`
}
func (x *Block) Reset() {
@@ -2039,21 +2039,21 @@ func (x *Block) GetHeader() *Header {
return nil
}
func (x *Block) GetData() *v1.Data {
func (x *Block) GetData() *v2.Data {
if x != nil {
return x.Data
}
return nil
}
func (x *Block) GetEvidence() *v1.EvidenceList {
func (x *Block) GetEvidence() *v2.EvidenceList {
if x != nil {
return x.Evidence
}
return nil
}
func (x *Block) GetLastCommit() *v1.Commit {
func (x *Block) GetLastCommit() *v2.Commit {
if x != nil {
return x.LastCommit
}
@@ -2067,12 +2067,12 @@ type Header struct {
unknownFields protoimpl.UnknownFields
// basic block info
Version *v11.Consensus `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Version *v1.Consensus `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
// prev block info
LastBlockId *v1.BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id,omitempty"`
LastBlockId *v2.BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id,omitempty"`
// hashes of block data
LastCommitHash []byte `protobuf:"bytes,6,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"` // commit from validators from the last block
DataHash []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"` // transactions
@@ -2110,7 +2110,7 @@ func (*Header) Descriptor() ([]byte, []int) {
return file_cosmos_base_tendermint_v1beta1_types_proto_rawDescGZIP(), []int{1}
}
func (x *Header) GetVersion() *v11.Consensus {
func (x *Header) GetVersion() *v1.Consensus {
if x != nil {
return x.Version
}
@@ -2138,7 +2138,7 @@ func (x *Header) GetTime() *timestamppb.Timestamp {
return nil
}
func (x *Header) GetLastBlockId() *v1.BlockID {
func (x *Header) GetLastBlockId() *v2.BlockID {
if x != nil {
return x.LastBlockId
}
@@ -2218,9 +2218,9 @@ var file_cosmos_base_tendermint_v1beta1_types_proto_rawDesc = []byte{
0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x14, 0x67, 0x6f,
0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70,
0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x65, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65,
0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72,
0x73, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x76, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
@@ -2233,16 +2233,16 @@ var file_cosmos_base_tendermint_v1beta1_types_proto_rawDesc = []byte{
0x74, 0x61, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00,
0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x36, 0x0a,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e,
0x44, 0x61, 0x74, 0x61, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52,
0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x08, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62,
0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x69, 0x64,
0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x76, 0x69, 0x64,
0x65, 0x6e, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7,
0xb0, 0x2a, 0x01, 0x52, 0x08, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3a, 0x0a,
0x0b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0a, 0x6c,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0a, 0x6c,
0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0xf7, 0x04, 0x0a, 0x06, 0x48, 0x65,
0x61, 0x64, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74,
@@ -2259,7 +2259,7 @@ var file_cosmos_base_tendermint_v1beta1_types_proto_rawDesc = []byte{
0x2a, 0x01, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74,
0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x42, 0x09, 0xc8, 0xde, 0x1f,
0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x42, 0x09, 0xc8, 0xde, 0x1f,
0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d,
0x69, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6c,
@@ -2319,21 +2319,21 @@ var file_cosmos_base_tendermint_v1beta1_types_proto_msgTypes = make([]protoimpl.
var file_cosmos_base_tendermint_v1beta1_types_proto_goTypes = []interface{}{
(*Block)(nil), // 0: cosmos.base.tendermint.v1beta1.Block
(*Header)(nil), // 1: cosmos.base.tendermint.v1beta1.Header
(*v1.Data)(nil), // 2: cometbft.types.v1.Data
(*v1.EvidenceList)(nil), // 3: cometbft.types.v1.EvidenceList
(*v1.Commit)(nil), // 4: cometbft.types.v1.Commit
(*v11.Consensus)(nil), // 5: cometbft.version.v1.Consensus
(*v2.Data)(nil), // 2: cometbft.types.v2.Data
(*v2.EvidenceList)(nil), // 3: cometbft.types.v2.EvidenceList
(*v2.Commit)(nil), // 4: cometbft.types.v2.Commit
(*v1.Consensus)(nil), // 5: cometbft.version.v1.Consensus
(*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
(*v1.BlockID)(nil), // 7: cometbft.types.v1.BlockID
(*v2.BlockID)(nil), // 7: cometbft.types.v2.BlockID
}
var file_cosmos_base_tendermint_v1beta1_types_proto_depIdxs = []int32{
1, // 0: cosmos.base.tendermint.v1beta1.Block.header:type_name -> cosmos.base.tendermint.v1beta1.Header
2, // 1: cosmos.base.tendermint.v1beta1.Block.data:type_name -> cometbft.types.v1.Data
3, // 2: cosmos.base.tendermint.v1beta1.Block.evidence:type_name -> cometbft.types.v1.EvidenceList
4, // 3: cosmos.base.tendermint.v1beta1.Block.last_commit:type_name -> cometbft.types.v1.Commit
2, // 1: cosmos.base.tendermint.v1beta1.Block.data:type_name -> cometbft.types.v2.Data
3, // 2: cosmos.base.tendermint.v1beta1.Block.evidence:type_name -> cometbft.types.v2.EvidenceList
4, // 3: cosmos.base.tendermint.v1beta1.Block.last_commit:type_name -> cometbft.types.v2.Commit
5, // 4: cosmos.base.tendermint.v1beta1.Header.version:type_name -> cometbft.version.v1.Consensus
6, // 5: cosmos.base.tendermint.v1beta1.Header.time:type_name -> google.protobuf.Timestamp
7, // 6: cosmos.base.tendermint.v1beta1.Header.last_block_id:type_name -> cometbft.types.v1.BlockID
7, // 6: cosmos.base.tendermint.v1beta1.Header.last_block_id:type_name -> cometbft.types.v2.BlockID
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
+11 -11
View File
@@ -2,7 +2,7 @@
package consensusv1
import (
v1 "cosmossdk.io/api/cometbft/types/v1"
v2 "cosmossdk.io/api/cometbft/types/v2"
fmt "fmt"
_ "github.com/cosmos/cosmos-proto"
runtime "github.com/cosmos/cosmos-proto/runtime"
@@ -528,7 +528,7 @@ func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDe
func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.consensus.v1.QueryParamsResponse.params":
x.Params = value.Message().Interface().(*v1.ConsensusParams)
x.Params = value.Message().Interface().(*v2.ConsensusParams)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.consensus.v1.QueryParamsResponse"))
@@ -551,7 +551,7 @@ func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescri
switch fd.FullName() {
case "cosmos.consensus.v1.QueryParamsResponse.params":
if x.Params == nil {
x.Params = new(v1.ConsensusParams)
x.Params = new(v2.ConsensusParams)
}
return protoreflect.ValueOfMessage(x.Params.ProtoReflect())
default:
@@ -568,7 +568,7 @@ func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescri
func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.consensus.v1.QueryParamsResponse.params":
m := new(v1.ConsensusParams)
m := new(v2.ConsensusParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
default:
if fd.IsExtension() {
@@ -765,7 +765,7 @@ func (x *fastReflection_QueryParamsResponse) ProtoMethods() *protoiface.Methods
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Params == nil {
x.Params = &v1.ConsensusParams{}
x.Params = &v2.ConsensusParams{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -855,7 +855,7 @@ type QueryParamsResponse struct {
// params are the tendermint consensus params stored in the consensus module.
// Please note that `params.version` is not populated in this response, it is
// tracked separately in the x/upgrade module.
Params *v1.ConsensusParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
Params *v2.ConsensusParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
func (x *QueryParamsResponse) Reset() {
@@ -878,7 +878,7 @@ func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
return file_cosmos_consensus_v1_query_proto_rawDescGZIP(), []int{1}
}
func (x *QueryParamsResponse) GetParams() *v1.ConsensusParams {
func (x *QueryParamsResponse) GetParams() *v2.ConsensusParams {
if x != nil {
return x.Params
}
@@ -894,14 +894,14 @@ var file_cosmos_consensus_v1_query_proto_rawDesc = []byte{
0x73, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70,
0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x06,
0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32,
0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x9d, 0x01, 0x0a, 0x05, 0x51, 0x75, 0x65,
0x72, 0x79, 0x12, 0x93, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x27, 0x2e,
@@ -945,10 +945,10 @@ var file_cosmos_consensus_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo
var file_cosmos_consensus_v1_query_proto_goTypes = []interface{}{
(*QueryParamsRequest)(nil), // 0: cosmos.consensus.v1.QueryParamsRequest
(*QueryParamsResponse)(nil), // 1: cosmos.consensus.v1.QueryParamsResponse
(*v1.ConsensusParams)(nil), // 2: cometbft.types.v1.ConsensusParams
(*v2.ConsensusParams)(nil), // 2: cometbft.types.v2.ConsensusParams
}
var file_cosmos_consensus_v1_query_proto_depIdxs = []int32{
2, // 0: cosmos.consensus.v1.QueryParamsResponse.params:type_name -> cometbft.types.v1.ConsensusParams
2, // 0: cosmos.consensus.v1.QueryParamsResponse.params:type_name -> cometbft.types.v2.ConsensusParams
0, // 1: cosmos.consensus.v1.Query.Params:input_type -> cosmos.consensus.v1.QueryParamsRequest
1, // 2: cosmos.consensus.v1.Query.Params:output_type -> cosmos.consensus.v1.QueryParamsResponse
2, // [2:3] is the sub-list for method output_type
+56 -56
View File
@@ -3,7 +3,7 @@ package consensusv1
import (
_ "cosmossdk.io/api/amino"
v1 "cosmossdk.io/api/cometbft/types/v1"
v2 "cosmossdk.io/api/cometbft/types/v2"
_ "cosmossdk.io/api/cosmos/msg/v1"
fmt "fmt"
_ "github.com/cosmos/cosmos-proto"
@@ -265,17 +265,17 @@ func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, va
case "cosmos.consensus.v1.MsgUpdateParams.authority":
x.Authority = value.Interface().(string)
case "cosmos.consensus.v1.MsgUpdateParams.block":
x.Block = value.Message().Interface().(*v1.BlockParams)
x.Block = value.Message().Interface().(*v2.BlockParams)
case "cosmos.consensus.v1.MsgUpdateParams.evidence":
x.Evidence = value.Message().Interface().(*v1.EvidenceParams)
x.Evidence = value.Message().Interface().(*v2.EvidenceParams)
case "cosmos.consensus.v1.MsgUpdateParams.validator":
x.Validator = value.Message().Interface().(*v1.ValidatorParams)
x.Validator = value.Message().Interface().(*v2.ValidatorParams)
case "cosmos.consensus.v1.MsgUpdateParams.abci":
x.Abci = value.Message().Interface().(*v1.ABCIParams)
x.Abci = value.Message().Interface().(*v2.ABCIParams)
case "cosmos.consensus.v1.MsgUpdateParams.synchrony":
x.Synchrony = value.Message().Interface().(*v1.SynchronyParams)
x.Synchrony = value.Message().Interface().(*v2.SynchronyParams)
case "cosmos.consensus.v1.MsgUpdateParams.feature":
x.Feature = value.Message().Interface().(*v1.FeatureParams)
x.Feature = value.Message().Interface().(*v2.FeatureParams)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.consensus.v1.MsgUpdateParams"))
@@ -298,32 +298,32 @@ func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor
switch fd.FullName() {
case "cosmos.consensus.v1.MsgUpdateParams.block":
if x.Block == nil {
x.Block = new(v1.BlockParams)
x.Block = new(v2.BlockParams)
}
return protoreflect.ValueOfMessage(x.Block.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.evidence":
if x.Evidence == nil {
x.Evidence = new(v1.EvidenceParams)
x.Evidence = new(v2.EvidenceParams)
}
return protoreflect.ValueOfMessage(x.Evidence.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.validator":
if x.Validator == nil {
x.Validator = new(v1.ValidatorParams)
x.Validator = new(v2.ValidatorParams)
}
return protoreflect.ValueOfMessage(x.Validator.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.abci":
if x.Abci == nil {
x.Abci = new(v1.ABCIParams)
x.Abci = new(v2.ABCIParams)
}
return protoreflect.ValueOfMessage(x.Abci.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.synchrony":
if x.Synchrony == nil {
x.Synchrony = new(v1.SynchronyParams)
x.Synchrony = new(v2.SynchronyParams)
}
return protoreflect.ValueOfMessage(x.Synchrony.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.feature":
if x.Feature == nil {
x.Feature = new(v1.FeatureParams)
x.Feature = new(v2.FeatureParams)
}
return protoreflect.ValueOfMessage(x.Feature.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.authority":
@@ -344,22 +344,22 @@ func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescripto
case "cosmos.consensus.v1.MsgUpdateParams.authority":
return protoreflect.ValueOfString("")
case "cosmos.consensus.v1.MsgUpdateParams.block":
m := new(v1.BlockParams)
m := new(v2.BlockParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.evidence":
m := new(v1.EvidenceParams)
m := new(v2.EvidenceParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.validator":
m := new(v1.ValidatorParams)
m := new(v2.ValidatorParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.abci":
m := new(v1.ABCIParams)
m := new(v2.ABCIParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.synchrony":
m := new(v1.SynchronyParams)
m := new(v2.SynchronyParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.consensus.v1.MsgUpdateParams.feature":
m := new(v1.FeatureParams)
m := new(v2.FeatureParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
default:
if fd.IsExtension() {
@@ -689,7 +689,7 @@ func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Block == nil {
x.Block = &v1.BlockParams{}
x.Block = &v2.BlockParams{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Block); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -725,7 +725,7 @@ func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Evidence == nil {
x.Evidence = &v1.EvidenceParams{}
x.Evidence = &v2.EvidenceParams{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Evidence); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -761,7 +761,7 @@ func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Validator == nil {
x.Validator = &v1.ValidatorParams{}
x.Validator = &v2.ValidatorParams{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Validator); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -797,7 +797,7 @@ func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Abci == nil {
x.Abci = &v1.ABCIParams{}
x.Abci = &v2.ABCIParams{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Abci); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -833,7 +833,7 @@ func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Synchrony == nil {
x.Synchrony = &v1.SynchronyParams{}
x.Synchrony = &v2.SynchronyParams{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Synchrony); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -869,7 +869,7 @@ func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Feature == nil {
x.Feature = &v1.FeatureParams{}
x.Feature = &v2.FeatureParams{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Feature); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -1292,13 +1292,13 @@ type MsgUpdateParams struct {
// separarately in x/upgrade.
//
// NOTE: All parameters must be supplied.
Block *v1.BlockParams `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
Evidence *v1.EvidenceParams `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence,omitempty"`
Validator *v1.ValidatorParams `protobuf:"bytes,4,opt,name=validator,proto3" json:"validator,omitempty"`
Block *v2.BlockParams `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
Evidence *v2.EvidenceParams `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence,omitempty"`
Validator *v2.ValidatorParams `protobuf:"bytes,4,opt,name=validator,proto3" json:"validator,omitempty"`
// Deprecated: Do not use.
Abci *v1.ABCIParams `protobuf:"bytes,5,opt,name=abci,proto3" json:"abci,omitempty"`
Synchrony *v1.SynchronyParams `protobuf:"bytes,6,opt,name=synchrony,proto3" json:"synchrony,omitempty"`
Feature *v1.FeatureParams `protobuf:"bytes,7,opt,name=feature,proto3" json:"feature,omitempty"`
Abci *v2.ABCIParams `protobuf:"bytes,5,opt,name=abci,proto3" json:"abci,omitempty"`
Synchrony *v2.SynchronyParams `protobuf:"bytes,6,opt,name=synchrony,proto3" json:"synchrony,omitempty"`
Feature *v2.FeatureParams `protobuf:"bytes,7,opt,name=feature,proto3" json:"feature,omitempty"`
}
func (x *MsgUpdateParams) Reset() {
@@ -1328,21 +1328,21 @@ func (x *MsgUpdateParams) GetAuthority() string {
return ""
}
func (x *MsgUpdateParams) GetBlock() *v1.BlockParams {
func (x *MsgUpdateParams) GetBlock() *v2.BlockParams {
if x != nil {
return x.Block
}
return nil
}
func (x *MsgUpdateParams) GetEvidence() *v1.EvidenceParams {
func (x *MsgUpdateParams) GetEvidence() *v2.EvidenceParams {
if x != nil {
return x.Evidence
}
return nil
}
func (x *MsgUpdateParams) GetValidator() *v1.ValidatorParams {
func (x *MsgUpdateParams) GetValidator() *v2.ValidatorParams {
if x != nil {
return x.Validator
}
@@ -1350,21 +1350,21 @@ func (x *MsgUpdateParams) GetValidator() *v1.ValidatorParams {
}
// Deprecated: Do not use.
func (x *MsgUpdateParams) GetAbci() *v1.ABCIParams {
func (x *MsgUpdateParams) GetAbci() *v2.ABCIParams {
if x != nil {
return x.Abci
}
return nil
}
func (x *MsgUpdateParams) GetSynchrony() *v1.SynchronyParams {
func (x *MsgUpdateParams) GetSynchrony() *v2.SynchronyParams {
if x != nil {
return x.Synchrony
}
return nil
}
func (x *MsgUpdateParams) GetFeature() *v1.FeatureParams {
func (x *MsgUpdateParams) GetFeature() *v2.FeatureParams {
if x != nil {
return x.Feature
}
@@ -1410,7 +1410,7 @@ var file_cosmos_consensus_v1_tx_proto_rawDesc = []byte{
0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31,
0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x6d, 0x65,
0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61,
0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x04, 0x0a, 0x0f, 0x4d,
0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36,
0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
@@ -1418,29 +1418,29 @@ var file_cosmos_consensus_v1_tx_proto_rawDesc = []byte{
0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74,
0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3d, 0x0a, 0x08,
0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21,
0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x76, 0x31, 0x2e, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x76, 0x32, 0x2e, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x52, 0x08, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x40, 0x0a, 0x09, 0x76,
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61,
0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61,
0x6d, 0x73, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x48, 0x0a,
0x04, 0x61, 0x62, 0x63, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e,
0x41, 0x42, 0x43, 0x49, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x15, 0xda, 0xb4, 0x2d, 0x0f,
0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x20, 0x30, 0x2e, 0x35, 0x30, 0x18,
0x01, 0x52, 0x04, 0x61, 0x62, 0x63, 0x69, 0x12, 0x55, 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x68,
0x72, 0x6f, 0x6e, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53,
0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x13,
0xda, 0xb4, 0x2d, 0x0f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x20, 0x30,
0x2e, 0x35, 0x34, 0x52, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x79, 0x12, 0x4f,
0x0a, 0x07, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x2e, 0x76, 0x32, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x42, 0x13, 0xda, 0xb4, 0x2d, 0x0f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64,
0x6b, 0x20, 0x30, 0x2e, 0x35, 0x34, 0x52, 0x07, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x3a,
0x39, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a,
@@ -1488,20 +1488,20 @@ var file_cosmos_consensus_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 2
var file_cosmos_consensus_v1_tx_proto_goTypes = []interface{}{
(*MsgUpdateParams)(nil), // 0: cosmos.consensus.v1.MsgUpdateParams
(*MsgUpdateParamsResponse)(nil), // 1: cosmos.consensus.v1.MsgUpdateParamsResponse
(*v1.BlockParams)(nil), // 2: cometbft.types.v1.BlockParams
(*v1.EvidenceParams)(nil), // 3: cometbft.types.v1.EvidenceParams
(*v1.ValidatorParams)(nil), // 4: cometbft.types.v1.ValidatorParams
(*v1.ABCIParams)(nil), // 5: cometbft.types.v1.ABCIParams
(*v1.SynchronyParams)(nil), // 6: cometbft.types.v1.SynchronyParams
(*v1.FeatureParams)(nil), // 7: cometbft.types.v1.FeatureParams
(*v2.BlockParams)(nil), // 2: cometbft.types.v2.BlockParams
(*v2.EvidenceParams)(nil), // 3: cometbft.types.v2.EvidenceParams
(*v2.ValidatorParams)(nil), // 4: cometbft.types.v2.ValidatorParams
(*v2.ABCIParams)(nil), // 5: cometbft.types.v2.ABCIParams
(*v2.SynchronyParams)(nil), // 6: cometbft.types.v2.SynchronyParams
(*v2.FeatureParams)(nil), // 7: cometbft.types.v2.FeatureParams
}
var file_cosmos_consensus_v1_tx_proto_depIdxs = []int32{
2, // 0: cosmos.consensus.v1.MsgUpdateParams.block:type_name -> cometbft.types.v1.BlockParams
3, // 1: cosmos.consensus.v1.MsgUpdateParams.evidence:type_name -> cometbft.types.v1.EvidenceParams
4, // 2: cosmos.consensus.v1.MsgUpdateParams.validator:type_name -> cometbft.types.v1.ValidatorParams
5, // 3: cosmos.consensus.v1.MsgUpdateParams.abci:type_name -> cometbft.types.v1.ABCIParams
6, // 4: cosmos.consensus.v1.MsgUpdateParams.synchrony:type_name -> cometbft.types.v1.SynchronyParams
7, // 5: cosmos.consensus.v1.MsgUpdateParams.feature:type_name -> cometbft.types.v1.FeatureParams
2, // 0: cosmos.consensus.v1.MsgUpdateParams.block:type_name -> cometbft.types.v2.BlockParams
3, // 1: cosmos.consensus.v1.MsgUpdateParams.evidence:type_name -> cometbft.types.v2.EvidenceParams
4, // 2: cosmos.consensus.v1.MsgUpdateParams.validator:type_name -> cometbft.types.v2.ValidatorParams
5, // 3: cosmos.consensus.v1.MsgUpdateParams.abci:type_name -> cometbft.types.v2.ABCIParams
6, // 4: cosmos.consensus.v1.MsgUpdateParams.synchrony:type_name -> cometbft.types.v2.SynchronyParams
7, // 5: cosmos.consensus.v1.MsgUpdateParams.feature:type_name -> cometbft.types.v2.FeatureParams
0, // 6: cosmos.consensus.v1.Msg.UpdateParams:input_type -> cosmos.consensus.v1.MsgUpdateParams
1, // 7: cosmos.consensus.v1.Msg.UpdateParams:output_type -> cosmos.consensus.v1.MsgUpdateParamsResponse
7, // [7:8] is the sub-list for method output_type
+26 -26
View File
@@ -3,8 +3,8 @@ package stakingv1beta1
import (
_ "cosmossdk.io/api/amino"
v11 "cosmossdk.io/api/cometbft/abci/v1"
v1 "cosmossdk.io/api/cometbft/types/v1"
v21 "cosmossdk.io/api/cometbft/abci/v2"
v2 "cosmossdk.io/api/cometbft/types/v2"
v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1"
fmt "fmt"
_ "github.com/cosmos/cosmos-proto"
@@ -247,7 +247,7 @@ func (x *fastReflection_HistoricalInfo) Get(descriptor protoreflect.FieldDescrip
func (x *fastReflection_HistoricalInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.staking.v1beta1.HistoricalInfo.header":
x.Header = value.Message().Interface().(*v1.Header)
x.Header = value.Message().Interface().(*v2.Header)
case "cosmos.staking.v1beta1.HistoricalInfo.valset":
lv := value.List()
clv := lv.(*_HistoricalInfo_2_list)
@@ -274,7 +274,7 @@ func (x *fastReflection_HistoricalInfo) Mutable(fd protoreflect.FieldDescriptor)
switch fd.FullName() {
case "cosmos.staking.v1beta1.HistoricalInfo.header":
if x.Header == nil {
x.Header = new(v1.Header)
x.Header = new(v2.Header)
}
return protoreflect.ValueOfMessage(x.Header.ProtoReflect())
case "cosmos.staking.v1beta1.HistoricalInfo.valset":
@@ -297,7 +297,7 @@ func (x *fastReflection_HistoricalInfo) Mutable(fd protoreflect.FieldDescriptor)
func (x *fastReflection_HistoricalInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.staking.v1beta1.HistoricalInfo.header":
m := new(v1.Header)
m := new(v2.Header)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.staking.v1beta1.HistoricalInfo.valset":
list := []*Validator{}
@@ -519,7 +519,7 @@ func (x *fastReflection_HistoricalInfo) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Header == nil {
x.Header = &v1.Header{}
x.Header = &v2.Header{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Header); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -12188,7 +12188,7 @@ func (x *fastReflection_Pool) ProtoMethods() *protoiface.Methods {
var _ protoreflect.List = (*_ValidatorUpdates_1_list)(nil)
type _ValidatorUpdates_1_list struct {
list *[]*v11.ValidatorUpdate
list *[]*v21.ValidatorUpdate
}
func (x *_ValidatorUpdates_1_list) Len() int {
@@ -12204,18 +12204,18 @@ func (x *_ValidatorUpdates_1_list) Get(i int) protoreflect.Value {
func (x *_ValidatorUpdates_1_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v11.ValidatorUpdate)
concreteValue := valueUnwrapped.Interface().(*v21.ValidatorUpdate)
(*x.list)[i] = concreteValue
}
func (x *_ValidatorUpdates_1_list) Append(value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v11.ValidatorUpdate)
concreteValue := valueUnwrapped.Interface().(*v21.ValidatorUpdate)
*x.list = append(*x.list, concreteValue)
}
func (x *_ValidatorUpdates_1_list) AppendMutable() protoreflect.Value {
v := new(v11.ValidatorUpdate)
v := new(v21.ValidatorUpdate)
*x.list = append(*x.list, v)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
@@ -12228,7 +12228,7 @@ func (x *_ValidatorUpdates_1_list) Truncate(n int) {
}
func (x *_ValidatorUpdates_1_list) NewElement() protoreflect.Value {
v := new(v11.ValidatorUpdate)
v := new(v21.ValidatorUpdate)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
@@ -12421,7 +12421,7 @@ func (x *fastReflection_ValidatorUpdates) Mutable(fd protoreflect.FieldDescripto
switch fd.FullName() {
case "cosmos.staking.v1beta1.ValidatorUpdates.updates":
if x.Updates == nil {
x.Updates = []*v11.ValidatorUpdate{}
x.Updates = []*v21.ValidatorUpdate{}
}
value := &_ValidatorUpdates_1_list{list: &x.Updates}
return protoreflect.ValueOfList(value)
@@ -12439,7 +12439,7 @@ func (x *fastReflection_ValidatorUpdates) Mutable(fd protoreflect.FieldDescripto
func (x *fastReflection_ValidatorUpdates) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.staking.v1beta1.ValidatorUpdates.updates":
list := []*v11.ValidatorUpdate{}
list := []*v21.ValidatorUpdate{}
return protoreflect.ValueOfList(&_ValidatorUpdates_1_list{list: &list})
default:
if fd.IsExtension() {
@@ -12639,7 +12639,7 @@ func (x *fastReflection_ValidatorUpdates) ProtoMethods() *protoiface.Methods {
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.Updates = append(x.Updates, &v11.ValidatorUpdate{})
x.Updates = append(x.Updates, &v21.ValidatorUpdate{})
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Updates[len(x.Updates)-1]); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
@@ -12811,7 +12811,7 @@ type HistoricalInfo struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *v1.Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Header *v2.Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Valset []*Validator `protobuf:"bytes,2,rep,name=valset,proto3" json:"valset,omitempty"`
}
@@ -12835,7 +12835,7 @@ func (*HistoricalInfo) Descriptor() ([]byte, []int) {
return file_cosmos_staking_v1beta1_staking_proto_rawDescGZIP(), []int{0}
}
func (x *HistoricalInfo) GetHeader() *v1.Header {
func (x *HistoricalInfo) GetHeader() *v2.Header {
if x != nil {
return x.Header
}
@@ -13998,7 +13998,7 @@ type ValidatorUpdates struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Updates []*v11.ValidatorUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
Updates []*v21.ValidatorUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
}
func (x *ValidatorUpdates) Reset() {
@@ -14021,7 +14021,7 @@ func (*ValidatorUpdates) Descriptor() ([]byte, []int) {
return file_cosmos_staking_v1beta1_staking_proto_rawDescGZIP(), []int{20}
}
func (x *ValidatorUpdates) GetUpdates() []*v11.ValidatorUpdate {
func (x *ValidatorUpdates) GetUpdates() []*v21.ValidatorUpdate {
if x != nil {
return x.Updates
}
@@ -14048,13 +14048,13 @@ var file_cosmos_staking_v1beta1_staking_proto_rawDesc = []byte{
0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69,
0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76,
0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x61, 0x62, 0x63, 0x69, 0x2f, 0x76, 0x31, 0x2f,
0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x61, 0x62, 0x63, 0x69, 0x2f, 0x76, 0x32, 0x2f,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x0e,
0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c,
0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8,
0x76, 0x32, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8,
0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x06,
0x76, 0x61, 0x6c, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
@@ -14388,7 +14388,7 @@ var file_cosmos_staking_v1beta1_staking_proto_rawDesc = []byte{
0x1f, 0x01, 0x22, 0x5a, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62,
0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64,
0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64,
0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00,
0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x2a, 0xb6,
0x01, 0x0a, 0x0a, 0x42, 0x6f, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c, 0x0a,
@@ -14463,15 +14463,15 @@ var file_cosmos_staking_v1beta1_staking_proto_goTypes = []interface{}{
(*RedelegationResponse)(nil), // 20: cosmos.staking.v1beta1.RedelegationResponse
(*Pool)(nil), // 21: cosmos.staking.v1beta1.Pool
(*ValidatorUpdates)(nil), // 22: cosmos.staking.v1beta1.ValidatorUpdates
(*v1.Header)(nil), // 23: cometbft.types.v1.Header
(*v2.Header)(nil), // 23: cometbft.types.v2.Header
(*timestamppb.Timestamp)(nil), // 24: google.protobuf.Timestamp
(*anypb.Any)(nil), // 25: google.protobuf.Any
(*durationpb.Duration)(nil), // 26: google.protobuf.Duration
(*v1beta1.Coin)(nil), // 27: cosmos.base.v1beta1.Coin
(*v11.ValidatorUpdate)(nil), // 28: cometbft.abci.v1.ValidatorUpdate
(*v21.ValidatorUpdate)(nil), // 28: cometbft.abci.v2.ValidatorUpdate
}
var file_cosmos_staking_v1beta1_staking_proto_depIdxs = []int32{
23, // 0: cosmos.staking.v1beta1.HistoricalInfo.header:type_name -> cometbft.types.v1.Header
23, // 0: cosmos.staking.v1beta1.HistoricalInfo.header:type_name -> cometbft.types.v2.Header
6, // 1: cosmos.staking.v1beta1.HistoricalInfo.valset:type_name -> cosmos.staking.v1beta1.Validator
3, // 2: cosmos.staking.v1beta1.Commission.commission_rates:type_name -> cosmos.staking.v1beta1.CommissionRates
24, // 3: cosmos.staking.v1beta1.Commission.update_time:type_name -> google.protobuf.Timestamp
@@ -14492,7 +14492,7 @@ var file_cosmos_staking_v1beta1_staking_proto_depIdxs = []int32{
15, // 18: cosmos.staking.v1beta1.RedelegationEntryResponse.redelegation_entry:type_name -> cosmos.staking.v1beta1.RedelegationEntry
16, // 19: cosmos.staking.v1beta1.RedelegationResponse.redelegation:type_name -> cosmos.staking.v1beta1.Redelegation
19, // 20: cosmos.staking.v1beta1.RedelegationResponse.entries:type_name -> cosmos.staking.v1beta1.RedelegationEntryResponse
28, // 21: cosmos.staking.v1beta1.ValidatorUpdates.updates:type_name -> cometbft.abci.v1.ValidatorUpdate
28, // 21: cosmos.staking.v1beta1.ValidatorUpdates.updates:type_name -> cometbft.abci.v2.ValidatorUpdate
22, // [22:22] is the sub-list for method output_type
22, // [22:22] is the sub-list for method input_type
22, // [22:22] is the sub-list for extension type_name
+29 -29
View File
@@ -2,7 +2,7 @@
package abci
import (
v1 "cosmossdk.io/api/cometbft/abci/v1"
v2 "cosmossdk.io/api/cometbft/abci/v2"
v1beta1 "cosmossdk.io/api/cosmos/store/v1beta1"
fmt "fmt"
runtime "github.com/cosmos/cosmos-proto/runtime"
@@ -186,9 +186,9 @@ func (x *fastReflection_ListenFinalizeBlockRequest) Get(descriptor protoreflect.
func (x *fastReflection_ListenFinalizeBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.store.streaming.abci.ListenFinalizeBlockRequest.req":
x.Req = value.Message().Interface().(*v1.FinalizeBlockRequest)
x.Req = value.Message().Interface().(*v2.FinalizeBlockRequest)
case "cosmos.store.streaming.abci.ListenFinalizeBlockRequest.res":
x.Res = value.Message().Interface().(*v1.FinalizeBlockResponse)
x.Res = value.Message().Interface().(*v2.FinalizeBlockResponse)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.store.streaming.abci.ListenFinalizeBlockRequest"))
@@ -211,12 +211,12 @@ func (x *fastReflection_ListenFinalizeBlockRequest) Mutable(fd protoreflect.Fiel
switch fd.FullName() {
case "cosmos.store.streaming.abci.ListenFinalizeBlockRequest.req":
if x.Req == nil {
x.Req = new(v1.FinalizeBlockRequest)
x.Req = new(v2.FinalizeBlockRequest)
}
return protoreflect.ValueOfMessage(x.Req.ProtoReflect())
case "cosmos.store.streaming.abci.ListenFinalizeBlockRequest.res":
if x.Res == nil {
x.Res = new(v1.FinalizeBlockResponse)
x.Res = new(v2.FinalizeBlockResponse)
}
return protoreflect.ValueOfMessage(x.Res.ProtoReflect())
default:
@@ -233,10 +233,10 @@ func (x *fastReflection_ListenFinalizeBlockRequest) Mutable(fd protoreflect.Fiel
func (x *fastReflection_ListenFinalizeBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.store.streaming.abci.ListenFinalizeBlockRequest.req":
m := new(v1.FinalizeBlockRequest)
m := new(v2.FinalizeBlockRequest)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.store.streaming.abci.ListenFinalizeBlockRequest.res":
m := new(v1.FinalizeBlockResponse)
m := new(v2.FinalizeBlockResponse)
return protoreflect.ValueOfMessage(m.ProtoReflect())
default:
if fd.IsExtension() {
@@ -451,7 +451,7 @@ func (x *fastReflection_ListenFinalizeBlockRequest) ProtoMethods() *protoiface.M
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Req == nil {
x.Req = &v1.FinalizeBlockRequest{}
x.Req = &v2.FinalizeBlockRequest{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Req); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -487,7 +487,7 @@ func (x *fastReflection_ListenFinalizeBlockRequest) ProtoMethods() *protoiface.M
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Res == nil {
x.Res = &v1.FinalizeBlockResponse{}
x.Res = &v2.FinalizeBlockResponse{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Res); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -1127,7 +1127,7 @@ func (x *fastReflection_ListenCommitRequest) Set(fd protoreflect.FieldDescriptor
case "cosmos.store.streaming.abci.ListenCommitRequest.block_height":
x.BlockHeight = value.Int()
case "cosmos.store.streaming.abci.ListenCommitRequest.res":
x.Res = value.Message().Interface().(*v1.CommitResponse)
x.Res = value.Message().Interface().(*v2.CommitResponse)
case "cosmos.store.streaming.abci.ListenCommitRequest.change_set":
lv := value.List()
clv := lv.(*_ListenCommitRequest_3_list)
@@ -1154,7 +1154,7 @@ func (x *fastReflection_ListenCommitRequest) Mutable(fd protoreflect.FieldDescri
switch fd.FullName() {
case "cosmos.store.streaming.abci.ListenCommitRequest.res":
if x.Res == nil {
x.Res = new(v1.CommitResponse)
x.Res = new(v2.CommitResponse)
}
return protoreflect.ValueOfMessage(x.Res.ProtoReflect())
case "cosmos.store.streaming.abci.ListenCommitRequest.change_set":
@@ -1181,7 +1181,7 @@ func (x *fastReflection_ListenCommitRequest) NewField(fd protoreflect.FieldDescr
case "cosmos.store.streaming.abci.ListenCommitRequest.block_height":
return protoreflect.ValueOfInt64(int64(0))
case "cosmos.store.streaming.abci.ListenCommitRequest.res":
m := new(v1.CommitResponse)
m := new(v2.CommitResponse)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.store.streaming.abci.ListenCommitRequest.change_set":
list := []*v1beta1.StoreKVPair{}
@@ -1430,7 +1430,7 @@ func (x *fastReflection_ListenCommitRequest) ProtoMethods() *protoiface.Methods
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Res == nil {
x.Res = &v1.CommitResponse{}
x.Res = &v2.CommitResponse{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Res); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -1880,8 +1880,8 @@ type ListenFinalizeBlockRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Req *v1.FinalizeBlockRequest `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
Res *v1.FinalizeBlockResponse `protobuf:"bytes,2,opt,name=res,proto3" json:"res,omitempty"`
Req *v2.FinalizeBlockRequest `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
Res *v2.FinalizeBlockResponse `protobuf:"bytes,2,opt,name=res,proto3" json:"res,omitempty"`
}
func (x *ListenFinalizeBlockRequest) Reset() {
@@ -1904,14 +1904,14 @@ func (*ListenFinalizeBlockRequest) Descriptor() ([]byte, []int) {
return file_cosmos_store_streaming_abci_grpc_proto_rawDescGZIP(), []int{0}
}
func (x *ListenFinalizeBlockRequest) GetReq() *v1.FinalizeBlockRequest {
func (x *ListenFinalizeBlockRequest) GetReq() *v2.FinalizeBlockRequest {
if x != nil {
return x.Req
}
return nil
}
func (x *ListenFinalizeBlockRequest) GetRes() *v1.FinalizeBlockResponse {
func (x *ListenFinalizeBlockRequest) GetRes() *v2.FinalizeBlockResponse {
if x != nil {
return x.Res
}
@@ -1953,7 +1953,7 @@ type ListenCommitRequest struct {
// explicitly pass in block height as ResponseCommit does not contain this info
BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
Res *v1.CommitResponse `protobuf:"bytes,2,opt,name=res,proto3" json:"res,omitempty"`
Res *v2.CommitResponse `protobuf:"bytes,2,opt,name=res,proto3" json:"res,omitempty"`
ChangeSet []*v1beta1.StoreKVPair `protobuf:"bytes,3,rep,name=change_set,json=changeSet,proto3" json:"change_set,omitempty"`
}
@@ -1984,7 +1984,7 @@ func (x *ListenCommitRequest) GetBlockHeight() int64 {
return 0
}
func (x *ListenCommitRequest) GetRes() *v1.CommitResponse {
func (x *ListenCommitRequest) GetRes() *v2.CommitResponse {
if x != nil {
return x.Res
}
@@ -2033,18 +2033,18 @@ var file_cosmos_store_streaming_abci_grpc_proto_rawDesc = []byte{
0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67,
0x2e, 0x61, 0x62, 0x63, 0x69, 0x1a, 0x1c, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f,
0x61, 0x62, 0x63, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72,
0x61, 0x62, 0x63, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72,
0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e,
0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x1a, 0x4c, 0x69,
0x73, 0x74, 0x65, 0x6e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x03, 0x72, 0x65, 0x71, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74,
0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x03, 0x72,
0x65, 0x71, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e,
0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x76, 0x32, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x03, 0x72, 0x65, 0x73, 0x22, 0x1d, 0x0a,
0x1b, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xae, 0x01, 0x0a,
@@ -2053,7 +2053,7 @@ var file_cosmos_store_streaming_abci_grpc_proto_rawDesc = []byte{
0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63,
0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x72, 0x65, 0x73, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e,
0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65,
0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x03, 0x72, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x63,
0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x21, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
@@ -2114,15 +2114,15 @@ var file_cosmos_store_streaming_abci_grpc_proto_goTypes = []interface{}{
(*ListenFinalizeBlockResponse)(nil), // 1: cosmos.store.streaming.abci.ListenFinalizeBlockResponse
(*ListenCommitRequest)(nil), // 2: cosmos.store.streaming.abci.ListenCommitRequest
(*ListenCommitResponse)(nil), // 3: cosmos.store.streaming.abci.ListenCommitResponse
(*v1.FinalizeBlockRequest)(nil), // 4: cometbft.abci.v1.FinalizeBlockRequest
(*v1.FinalizeBlockResponse)(nil), // 5: cometbft.abci.v1.FinalizeBlockResponse
(*v1.CommitResponse)(nil), // 6: cometbft.abci.v1.CommitResponse
(*v2.FinalizeBlockRequest)(nil), // 4: cometbft.abci.v2.FinalizeBlockRequest
(*v2.FinalizeBlockResponse)(nil), // 5: cometbft.abci.v2.FinalizeBlockResponse
(*v2.CommitResponse)(nil), // 6: cometbft.abci.v2.CommitResponse
(*v1beta1.StoreKVPair)(nil), // 7: cosmos.store.v1beta1.StoreKVPair
}
var file_cosmos_store_streaming_abci_grpc_proto_depIdxs = []int32{
4, // 0: cosmos.store.streaming.abci.ListenFinalizeBlockRequest.req:type_name -> cometbft.abci.v1.FinalizeBlockRequest
5, // 1: cosmos.store.streaming.abci.ListenFinalizeBlockRequest.res:type_name -> cometbft.abci.v1.FinalizeBlockResponse
6, // 2: cosmos.store.streaming.abci.ListenCommitRequest.res:type_name -> cometbft.abci.v1.CommitResponse
4, // 0: cosmos.store.streaming.abci.ListenFinalizeBlockRequest.req:type_name -> cometbft.abci.v2.FinalizeBlockRequest
5, // 1: cosmos.store.streaming.abci.ListenFinalizeBlockRequest.res:type_name -> cometbft.abci.v2.FinalizeBlockResponse
6, // 2: cosmos.store.streaming.abci.ListenCommitRequest.res:type_name -> cometbft.abci.v2.CommitResponse
7, // 3: cosmos.store.streaming.abci.ListenCommitRequest.change_set:type_name -> cosmos.store.v1beta1.StoreKVPair
0, // 4: cosmos.store.streaming.abci.ABCIListenerService.ListenFinalizeBlock:input_type -> cosmos.store.streaming.abci.ListenFinalizeBlockRequest
2, // 5: cosmos.store.streaming.abci.ABCIListenerService.ListenCommit:input_type -> cosmos.store.streaming.abci.ListenCommitRequest
+29 -29
View File
@@ -2,7 +2,7 @@
package storev1beta1
import (
v1 "cosmossdk.io/api/cometbft/abci/v1"
v2 "cosmossdk.io/api/cometbft/abci/v2"
fmt "fmt"
_ "github.com/cosmos/cosmos-proto"
runtime "github.com/cosmos/cosmos-proto/runtime"
@@ -807,11 +807,11 @@ func (x *fastReflection_BlockMetadata) Get(descriptor protoreflect.FieldDescript
func (x *fastReflection_BlockMetadata) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.store.v1beta1.BlockMetadata.response_commit":
x.ResponseCommit = value.Message().Interface().(*v1.CommitResponse)
x.ResponseCommit = value.Message().Interface().(*v2.CommitResponse)
case "cosmos.store.v1beta1.BlockMetadata.request_finalize_block":
x.RequestFinalizeBlock = value.Message().Interface().(*v1.FinalizeBlockRequest)
x.RequestFinalizeBlock = value.Message().Interface().(*v2.FinalizeBlockRequest)
case "cosmos.store.v1beta1.BlockMetadata.response_finalize_block":
x.ResponseFinalizeBlock = value.Message().Interface().(*v1.FinalizeBlockResponse)
x.ResponseFinalizeBlock = value.Message().Interface().(*v2.FinalizeBlockResponse)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.store.v1beta1.BlockMetadata"))
@@ -834,17 +834,17 @@ func (x *fastReflection_BlockMetadata) Mutable(fd protoreflect.FieldDescriptor)
switch fd.FullName() {
case "cosmos.store.v1beta1.BlockMetadata.response_commit":
if x.ResponseCommit == nil {
x.ResponseCommit = new(v1.CommitResponse)
x.ResponseCommit = new(v2.CommitResponse)
}
return protoreflect.ValueOfMessage(x.ResponseCommit.ProtoReflect())
case "cosmos.store.v1beta1.BlockMetadata.request_finalize_block":
if x.RequestFinalizeBlock == nil {
x.RequestFinalizeBlock = new(v1.FinalizeBlockRequest)
x.RequestFinalizeBlock = new(v2.FinalizeBlockRequest)
}
return protoreflect.ValueOfMessage(x.RequestFinalizeBlock.ProtoReflect())
case "cosmos.store.v1beta1.BlockMetadata.response_finalize_block":
if x.ResponseFinalizeBlock == nil {
x.ResponseFinalizeBlock = new(v1.FinalizeBlockResponse)
x.ResponseFinalizeBlock = new(v2.FinalizeBlockResponse)
}
return protoreflect.ValueOfMessage(x.ResponseFinalizeBlock.ProtoReflect())
default:
@@ -861,13 +861,13 @@ func (x *fastReflection_BlockMetadata) Mutable(fd protoreflect.FieldDescriptor)
func (x *fastReflection_BlockMetadata) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.store.v1beta1.BlockMetadata.response_commit":
m := new(v1.CommitResponse)
m := new(v2.CommitResponse)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.store.v1beta1.BlockMetadata.request_finalize_block":
m := new(v1.FinalizeBlockRequest)
m := new(v2.FinalizeBlockRequest)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.store.v1beta1.BlockMetadata.response_finalize_block":
m := new(v1.FinalizeBlockResponse)
m := new(v2.FinalizeBlockResponse)
return protoreflect.ValueOfMessage(m.ProtoReflect())
default:
if fd.IsExtension() {
@@ -1100,7 +1100,7 @@ func (x *fastReflection_BlockMetadata) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.ResponseCommit == nil {
x.ResponseCommit = &v1.CommitResponse{}
x.ResponseCommit = &v2.CommitResponse{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ResponseCommit); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -1136,7 +1136,7 @@ func (x *fastReflection_BlockMetadata) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.RequestFinalizeBlock == nil {
x.RequestFinalizeBlock = &v1.FinalizeBlockRequest{}
x.RequestFinalizeBlock = &v2.FinalizeBlockRequest{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.RequestFinalizeBlock); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -1172,7 +1172,7 @@ func (x *fastReflection_BlockMetadata) ProtoMethods() *protoiface.Methods {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.ResponseFinalizeBlock == nil {
x.ResponseFinalizeBlock = &v1.FinalizeBlockResponse{}
x.ResponseFinalizeBlock = &v2.FinalizeBlockResponse{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ResponseFinalizeBlock); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -1295,9 +1295,9 @@ type BlockMetadata struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ResponseCommit *v1.CommitResponse `protobuf:"bytes,6,opt,name=response_commit,json=responseCommit,proto3" json:"response_commit,omitempty"`
RequestFinalizeBlock *v1.FinalizeBlockRequest `protobuf:"bytes,7,opt,name=request_finalize_block,json=requestFinalizeBlock,proto3" json:"request_finalize_block,omitempty"`
ResponseFinalizeBlock *v1.FinalizeBlockResponse `protobuf:"bytes,8,opt,name=response_finalize_block,json=responseFinalizeBlock,proto3" json:"response_finalize_block,omitempty"` // TODO: should we renumber this?
ResponseCommit *v2.CommitResponse `protobuf:"bytes,6,opt,name=response_commit,json=responseCommit,proto3" json:"response_commit,omitempty"`
RequestFinalizeBlock *v2.FinalizeBlockRequest `protobuf:"bytes,7,opt,name=request_finalize_block,json=requestFinalizeBlock,proto3" json:"request_finalize_block,omitempty"`
ResponseFinalizeBlock *v2.FinalizeBlockResponse `protobuf:"bytes,8,opt,name=response_finalize_block,json=responseFinalizeBlock,proto3" json:"response_finalize_block,omitempty"` // TODO: should we renumber this?
}
func (x *BlockMetadata) Reset() {
@@ -1320,21 +1320,21 @@ func (*BlockMetadata) Descriptor() ([]byte, []int) {
return file_cosmos_store_v1beta1_listening_proto_rawDescGZIP(), []int{1}
}
func (x *BlockMetadata) GetResponseCommit() *v1.CommitResponse {
func (x *BlockMetadata) GetResponseCommit() *v2.CommitResponse {
if x != nil {
return x.ResponseCommit
}
return nil
}
func (x *BlockMetadata) GetRequestFinalizeBlock() *v1.FinalizeBlockRequest {
func (x *BlockMetadata) GetRequestFinalizeBlock() *v2.FinalizeBlockRequest {
if x != nil {
return x.RequestFinalizeBlock
}
return nil
}
func (x *BlockMetadata) GetResponseFinalizeBlock() *v1.FinalizeBlockResponse {
func (x *BlockMetadata) GetResponseFinalizeBlock() *v2.FinalizeBlockResponse {
if x != nil {
return x.ResponseFinalizeBlock
}
@@ -1348,7 +1348,7 @@ var file_cosmos_store_v1beta1_listening_proto_rawDesc = []byte{
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x73,
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x63, 0x6f,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x61, 0x62, 0x63, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x61, 0x62, 0x63, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d,
0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4b, 0x56,
@@ -1363,18 +1363,18 @@ var file_cosmos_store_v1beta1_listening_proto_rawDesc = []byte{
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x49, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63,
0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6d,
0x6d, 0x69, 0x74, 0x12, 0x5c, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x66,
0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61,
0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42,
0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x14, 0x72, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x12, 0x5f, 0x0a, 0x17, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x66, 0x69,
0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62,
0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x6c,
0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x15, 0x72, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04,
@@ -1411,14 +1411,14 @@ var file_cosmos_store_v1beta1_listening_proto_msgTypes = make([]protoimpl.Messag
var file_cosmos_store_v1beta1_listening_proto_goTypes = []interface{}{
(*StoreKVPair)(nil), // 0: cosmos.store.v1beta1.StoreKVPair
(*BlockMetadata)(nil), // 1: cosmos.store.v1beta1.BlockMetadata
(*v1.CommitResponse)(nil), // 2: cometbft.abci.v1.CommitResponse
(*v1.FinalizeBlockRequest)(nil), // 3: cometbft.abci.v1.FinalizeBlockRequest
(*v1.FinalizeBlockResponse)(nil), // 4: cometbft.abci.v1.FinalizeBlockResponse
(*v2.CommitResponse)(nil), // 2: cometbft.abci.v2.CommitResponse
(*v2.FinalizeBlockRequest)(nil), // 3: cometbft.abci.v2.FinalizeBlockRequest
(*v2.FinalizeBlockResponse)(nil), // 4: cometbft.abci.v2.FinalizeBlockResponse
}
var file_cosmos_store_v1beta1_listening_proto_depIdxs = []int32{
2, // 0: cosmos.store.v1beta1.BlockMetadata.response_commit:type_name -> cometbft.abci.v1.CommitResponse
3, // 1: cosmos.store.v1beta1.BlockMetadata.request_finalize_block:type_name -> cometbft.abci.v1.FinalizeBlockRequest
4, // 2: cosmos.store.v1beta1.BlockMetadata.response_finalize_block:type_name -> cometbft.abci.v1.FinalizeBlockResponse
2, // 0: cosmos.store.v1beta1.BlockMetadata.response_commit:type_name -> cometbft.abci.v2.CommitResponse
3, // 1: cosmos.store.v1beta1.BlockMetadata.request_finalize_block:type_name -> cometbft.abci.v2.FinalizeBlockRequest
4, // 2: cosmos.store.v1beta1.BlockMetadata.response_finalize_block:type_name -> cometbft.abci.v2.FinalizeBlockResponse
3, // [3:3] is the sub-list for method output_type
3, // [3:3] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
+21 -21
View File
@@ -2,7 +2,7 @@
package txv1beta1
import (
v1 "cosmossdk.io/api/cometbft/types/v1"
v2 "cosmossdk.io/api/cometbft/types/v2"
v1beta11 "cosmossdk.io/api/cosmos/base/abci/v1beta1"
v1beta1 "cosmossdk.io/api/cosmos/base/query/v1beta1"
fmt "fmt"
@@ -5140,9 +5140,9 @@ func (x *fastReflection_GetBlockWithTxsResponse) Set(fd protoreflect.FieldDescri
clv := lv.(*_GetBlockWithTxsResponse_1_list)
x.Txs = *clv.list
case "cosmos.tx.v1beta1.GetBlockWithTxsResponse.block_id":
x.BlockId = value.Message().Interface().(*v1.BlockID)
x.BlockId = value.Message().Interface().(*v2.BlockID)
case "cosmos.tx.v1beta1.GetBlockWithTxsResponse.block":
x.Block = value.Message().Interface().(*v1.Block)
x.Block = value.Message().Interface().(*v2.Block)
case "cosmos.tx.v1beta1.GetBlockWithTxsResponse.pagination":
x.Pagination = value.Message().Interface().(*v1beta1.PageResponse)
default:
@@ -5173,12 +5173,12 @@ func (x *fastReflection_GetBlockWithTxsResponse) Mutable(fd protoreflect.FieldDe
return protoreflect.ValueOfList(value)
case "cosmos.tx.v1beta1.GetBlockWithTxsResponse.block_id":
if x.BlockId == nil {
x.BlockId = new(v1.BlockID)
x.BlockId = new(v2.BlockID)
}
return protoreflect.ValueOfMessage(x.BlockId.ProtoReflect())
case "cosmos.tx.v1beta1.GetBlockWithTxsResponse.block":
if x.Block == nil {
x.Block = new(v1.Block)
x.Block = new(v2.Block)
}
return protoreflect.ValueOfMessage(x.Block.ProtoReflect())
case "cosmos.tx.v1beta1.GetBlockWithTxsResponse.pagination":
@@ -5203,10 +5203,10 @@ func (x *fastReflection_GetBlockWithTxsResponse) NewField(fd protoreflect.FieldD
list := []*Tx{}
return protoreflect.ValueOfList(&_GetBlockWithTxsResponse_1_list{list: &list})
case "cosmos.tx.v1beta1.GetBlockWithTxsResponse.block_id":
m := new(v1.BlockID)
m := new(v2.BlockID)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.tx.v1beta1.GetBlockWithTxsResponse.block":
m := new(v1.Block)
m := new(v2.Block)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.tx.v1beta1.GetBlockWithTxsResponse.pagination":
m := new(v1beta1.PageResponse)
@@ -5498,7 +5498,7 @@ func (x *fastReflection_GetBlockWithTxsResponse) ProtoMethods() *protoiface.Meth
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.BlockId == nil {
x.BlockId = &v1.BlockID{}
x.BlockId = &v2.BlockID{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.BlockId); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -5534,7 +5534,7 @@ func (x *fastReflection_GetBlockWithTxsResponse) ProtoMethods() *protoiface.Meth
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Block == nil {
x.Block = &v1.Block{}
x.Block = &v2.Block{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Block); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
@@ -9624,8 +9624,8 @@ type GetBlockWithTxsResponse struct {
// txs are the transactions in the block.
Txs []*Tx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
BlockId *v1.BlockID `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
Block *v1.Block `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"`
BlockId *v2.BlockID `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
Block *v2.Block `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"`
// pagination defines a pagination for the response.
Pagination *v1beta1.PageResponse `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
@@ -9657,14 +9657,14 @@ func (x *GetBlockWithTxsResponse) GetTxs() []*Tx {
return nil
}
func (x *GetBlockWithTxsResponse) GetBlockId() *v1.BlockID {
func (x *GetBlockWithTxsResponse) GetBlockId() *v2.BlockID {
if x != nil {
return x.BlockId
}
return nil
}
func (x *GetBlockWithTxsResponse) GetBlock() *v1.Block {
func (x *GetBlockWithTxsResponse) GetBlock() *v2.Block {
if x != nil {
return x.Block
}
@@ -9994,9 +9994,9 @@ var file_cosmos_tx_v1beta1_service_proto_rawDesc = []byte{
0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70,
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1d, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f,
0x76, 0x31, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
0x76, 0x32, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76,
0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63,
0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d,
0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x02, 0x0a, 0x12, 0x47, 0x65, 0x74,
0x54, 0x78, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
@@ -10083,11 +10083,11 @@ var file_cosmos_tx_v1beta1_service_proto_rawDesc = []byte{
0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
0x61, 0x31, 0x2e, 0x54, 0x78, 0x52, 0x03, 0x74, 0x78, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x62, 0x6c,
0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32,
0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49,
0x64, 0x12, 0x2e, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65,
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63,
0x73, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63,
0x6b, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62,
0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
@@ -10282,8 +10282,8 @@ var file_cosmos_tx_v1beta1_service_proto_goTypes = []interface{}{
(*v1beta1.PageResponse)(nil), // 23: cosmos.base.query.v1beta1.PageResponse
(*v1beta11.GasInfo)(nil), // 24: cosmos.base.abci.v1beta1.GasInfo
(*v1beta11.Result)(nil), // 25: cosmos.base.abci.v1beta1.Result
(*v1.BlockID)(nil), // 26: cometbft.types.v1.BlockID
(*v1.Block)(nil), // 27: cometbft.types.v1.Block
(*v2.BlockID)(nil), // 26: cometbft.types.v2.BlockID
(*v2.Block)(nil), // 27: cometbft.types.v2.Block
}
var file_cosmos_tx_v1beta1_service_proto_depIdxs = []int32{
20, // 0: cosmos.tx.v1beta1.GetTxsEventRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest
@@ -10300,8 +10300,8 @@ var file_cosmos_tx_v1beta1_service_proto_depIdxs = []int32{
22, // 11: cosmos.tx.v1beta1.GetTxResponse.tx_response:type_name -> cosmos.base.abci.v1beta1.TxResponse
20, // 12: cosmos.tx.v1beta1.GetBlockWithTxsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest
21, // 13: cosmos.tx.v1beta1.GetBlockWithTxsResponse.txs:type_name -> cosmos.tx.v1beta1.Tx
26, // 14: cosmos.tx.v1beta1.GetBlockWithTxsResponse.block_id:type_name -> cometbft.types.v1.BlockID
27, // 15: cosmos.tx.v1beta1.GetBlockWithTxsResponse.block:type_name -> cometbft.types.v1.Block
26, // 14: cosmos.tx.v1beta1.GetBlockWithTxsResponse.block_id:type_name -> cometbft.types.v2.BlockID
27, // 15: cosmos.tx.v1beta1.GetBlockWithTxsResponse.block:type_name -> cometbft.types.v2.Block
23, // 16: cosmos.tx.v1beta1.GetBlockWithTxsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse
21, // 17: cosmos.tx.v1beta1.TxDecodeResponse.tx:type_name -> cosmos.tx.v1beta1.Tx
21, // 18: cosmos.tx.v1beta1.TxEncodeRequest.tx:type_name -> cosmos.tx.v1beta1.Tx