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
@@ -1,5 +1,5 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package abciv1
package abciv2
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
@@ -11,7 +11,7 @@ import (
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cometbft/abci/v1/service.proto
// source: cometbft/abci/v2/service.proto
const (
// Verify that this generated code is sufficiently up-to-date.
@@ -20,188 +20,188 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_cometbft_abci_v1_service_proto protoreflect.FileDescriptor
var File_cometbft_abci_v2_service_proto protoreflect.FileDescriptor
var file_cometbft_abci_v1_service_proto_rawDesc = []byte{
var file_cometbft_abci_v2_service_proto_rawDesc = []byte{
0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x61, 0x62, 0x63, 0x69, 0x2f,
0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x76, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x10, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e,
0x76, 0x31, 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, 0x6f, 0x74, 0x6f,
0x76, 0x32, 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,
0x32, 0xc4, 0x0b, 0x0a, 0x0b, 0x41, 0x42, 0x43, 0x49, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
0x12, 0x45, 0x0a, 0x04, 0x45, 0x63, 0x68, 0x6f, 0x12, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74,
0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x63, 0x68, 0x6f,
0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x63, 0x68, 0x6f,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62,
0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x52,
0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x05, 0x46, 0x6c, 0x75, 0x73, 0x68,
0x12, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69,
0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x1f, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69,
0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x45, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x65,
0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x66,
0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6e, 0x66,
0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74,
0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x66, 0x6f,
0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x07, 0x43, 0x68, 0x65, 0x63,
0x6b, 0x54, 0x78, 0x12, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61,
0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x52, 0x65,
0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74,
0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78,
0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72,
0x79, 0x12, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63,
0x69, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x69, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x1f, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63,
0x69, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x69, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x2e, 0x63,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e,
0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32,
0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x54, 0x0a, 0x09, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x22, 0x2e, 0x63,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e,
0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69,
0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73,
0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61,
0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66,
0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e,
0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e,
0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27,
0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76,
0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x52,
0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x0d, 0x4f, 0x66, 0x66, 0x65, 0x72,
0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74,
0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x66, 0x66, 0x65,
0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x66, 0x66, 0x65,
0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69,
0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x11, 0x4c, 0x6f, 0x61,
0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x2a,
0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76,
0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68,
0x32, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68,
0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x6f, 0x6d,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f,
0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x6c, 0x79,
0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x2b, 0x2e,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32,
0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68,
0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x70,
0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x70,
0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x28, 0x2e, 0x63, 0x6f,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x50,
0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74,
0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65,
0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65,
0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x66, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61,
0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72,
0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72,
0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32,
0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65,
0x6e, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66,
0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64,
0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64,
0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 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,
0x78, 0x74, 0x65, 0x6e, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x72, 0x0a, 0x13, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x56, 0x6f, 0x74, 0x65, 0x45,
0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74,
0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69,
0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x65, 0x72, 0x69,
0x66, 0x79, 0x56, 0x6f, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66,
0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
0x56, 0x6f, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 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,
0x74, 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, 0x1a, 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, 0x52,
0x32, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xb0, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31,
0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x32,
0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
0x5a, 0x28, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61,
0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x61, 0x62, 0x63, 0x69,
0x2f, 0x76, 0x31, 0x3b, 0x61, 0x62, 0x63, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x58,
0x2f, 0x76, 0x32, 0x3b, 0x61, 0x62, 0x63, 0x69, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x58,
0xaa, 0x02, 0x10, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x41, 0x62, 0x63, 0x69,
0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x41,
0x62, 0x63, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66,
0x74, 0x5c, 0x41, 0x62, 0x63, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
0x2e, 0x56, 0x32, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x41,
0x62, 0x63, 0x69, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66,
0x74, 0x5c, 0x41, 0x62, 0x63, 0x69, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74,
0x3a, 0x3a, 0x41, 0x62, 0x63, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x3a, 0x3a, 0x41, 0x62, 0x63, 0x69, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var file_cometbft_abci_v1_service_proto_goTypes = []interface{}{
(*EchoRequest)(nil), // 0: cometbft.abci.v1.EchoRequest
(*FlushRequest)(nil), // 1: cometbft.abci.v1.FlushRequest
(*InfoRequest)(nil), // 2: cometbft.abci.v1.InfoRequest
(*CheckTxRequest)(nil), // 3: cometbft.abci.v1.CheckTxRequest
(*QueryRequest)(nil), // 4: cometbft.abci.v1.QueryRequest
(*CommitRequest)(nil), // 5: cometbft.abci.v1.CommitRequest
(*InitChainRequest)(nil), // 6: cometbft.abci.v1.InitChainRequest
(*ListSnapshotsRequest)(nil), // 7: cometbft.abci.v1.ListSnapshotsRequest
(*OfferSnapshotRequest)(nil), // 8: cometbft.abci.v1.OfferSnapshotRequest
(*LoadSnapshotChunkRequest)(nil), // 9: cometbft.abci.v1.LoadSnapshotChunkRequest
(*ApplySnapshotChunkRequest)(nil), // 10: cometbft.abci.v1.ApplySnapshotChunkRequest
(*PrepareProposalRequest)(nil), // 11: cometbft.abci.v1.PrepareProposalRequest
(*ProcessProposalRequest)(nil), // 12: cometbft.abci.v1.ProcessProposalRequest
(*ExtendVoteRequest)(nil), // 13: cometbft.abci.v1.ExtendVoteRequest
(*VerifyVoteExtensionRequest)(nil), // 14: cometbft.abci.v1.VerifyVoteExtensionRequest
(*FinalizeBlockRequest)(nil), // 15: cometbft.abci.v1.FinalizeBlockRequest
(*EchoResponse)(nil), // 16: cometbft.abci.v1.EchoResponse
(*FlushResponse)(nil), // 17: cometbft.abci.v1.FlushResponse
(*InfoResponse)(nil), // 18: cometbft.abci.v1.InfoResponse
(*CheckTxResponse)(nil), // 19: cometbft.abci.v1.CheckTxResponse
(*QueryResponse)(nil), // 20: cometbft.abci.v1.QueryResponse
(*CommitResponse)(nil), // 21: cometbft.abci.v1.CommitResponse
(*InitChainResponse)(nil), // 22: cometbft.abci.v1.InitChainResponse
(*ListSnapshotsResponse)(nil), // 23: cometbft.abci.v1.ListSnapshotsResponse
(*OfferSnapshotResponse)(nil), // 24: cometbft.abci.v1.OfferSnapshotResponse
(*LoadSnapshotChunkResponse)(nil), // 25: cometbft.abci.v1.LoadSnapshotChunkResponse
(*ApplySnapshotChunkResponse)(nil), // 26: cometbft.abci.v1.ApplySnapshotChunkResponse
(*PrepareProposalResponse)(nil), // 27: cometbft.abci.v1.PrepareProposalResponse
(*ProcessProposalResponse)(nil), // 28: cometbft.abci.v1.ProcessProposalResponse
(*ExtendVoteResponse)(nil), // 29: cometbft.abci.v1.ExtendVoteResponse
(*VerifyVoteExtensionResponse)(nil), // 30: cometbft.abci.v1.VerifyVoteExtensionResponse
(*FinalizeBlockResponse)(nil), // 31: cometbft.abci.v1.FinalizeBlockResponse
var file_cometbft_abci_v2_service_proto_goTypes = []interface{}{
(*EchoRequest)(nil), // 0: cometbft.abci.v2.EchoRequest
(*FlushRequest)(nil), // 1: cometbft.abci.v2.FlushRequest
(*InfoRequest)(nil), // 2: cometbft.abci.v2.InfoRequest
(*CheckTxRequest)(nil), // 3: cometbft.abci.v2.CheckTxRequest
(*QueryRequest)(nil), // 4: cometbft.abci.v2.QueryRequest
(*CommitRequest)(nil), // 5: cometbft.abci.v2.CommitRequest
(*InitChainRequest)(nil), // 6: cometbft.abci.v2.InitChainRequest
(*ListSnapshotsRequest)(nil), // 7: cometbft.abci.v2.ListSnapshotsRequest
(*OfferSnapshotRequest)(nil), // 8: cometbft.abci.v2.OfferSnapshotRequest
(*LoadSnapshotChunkRequest)(nil), // 9: cometbft.abci.v2.LoadSnapshotChunkRequest
(*ApplySnapshotChunkRequest)(nil), // 10: cometbft.abci.v2.ApplySnapshotChunkRequest
(*PrepareProposalRequest)(nil), // 11: cometbft.abci.v2.PrepareProposalRequest
(*ProcessProposalRequest)(nil), // 12: cometbft.abci.v2.ProcessProposalRequest
(*ExtendVoteRequest)(nil), // 13: cometbft.abci.v2.ExtendVoteRequest
(*VerifyVoteExtensionRequest)(nil), // 14: cometbft.abci.v2.VerifyVoteExtensionRequest
(*FinalizeBlockRequest)(nil), // 15: cometbft.abci.v2.FinalizeBlockRequest
(*EchoResponse)(nil), // 16: cometbft.abci.v2.EchoResponse
(*FlushResponse)(nil), // 17: cometbft.abci.v2.FlushResponse
(*InfoResponse)(nil), // 18: cometbft.abci.v2.InfoResponse
(*CheckTxResponse)(nil), // 19: cometbft.abci.v2.CheckTxResponse
(*QueryResponse)(nil), // 20: cometbft.abci.v2.QueryResponse
(*CommitResponse)(nil), // 21: cometbft.abci.v2.CommitResponse
(*InitChainResponse)(nil), // 22: cometbft.abci.v2.InitChainResponse
(*ListSnapshotsResponse)(nil), // 23: cometbft.abci.v2.ListSnapshotsResponse
(*OfferSnapshotResponse)(nil), // 24: cometbft.abci.v2.OfferSnapshotResponse
(*LoadSnapshotChunkResponse)(nil), // 25: cometbft.abci.v2.LoadSnapshotChunkResponse
(*ApplySnapshotChunkResponse)(nil), // 26: cometbft.abci.v2.ApplySnapshotChunkResponse
(*PrepareProposalResponse)(nil), // 27: cometbft.abci.v2.PrepareProposalResponse
(*ProcessProposalResponse)(nil), // 28: cometbft.abci.v2.ProcessProposalResponse
(*ExtendVoteResponse)(nil), // 29: cometbft.abci.v2.ExtendVoteResponse
(*VerifyVoteExtensionResponse)(nil), // 30: cometbft.abci.v2.VerifyVoteExtensionResponse
(*FinalizeBlockResponse)(nil), // 31: cometbft.abci.v2.FinalizeBlockResponse
}
var file_cometbft_abci_v1_service_proto_depIdxs = []int32{
0, // 0: cometbft.abci.v1.ABCIService.Echo:input_type -> cometbft.abci.v1.EchoRequest
1, // 1: cometbft.abci.v1.ABCIService.Flush:input_type -> cometbft.abci.v1.FlushRequest
2, // 2: cometbft.abci.v1.ABCIService.Info:input_type -> cometbft.abci.v1.InfoRequest
3, // 3: cometbft.abci.v1.ABCIService.CheckTx:input_type -> cometbft.abci.v1.CheckTxRequest
4, // 4: cometbft.abci.v1.ABCIService.Query:input_type -> cometbft.abci.v1.QueryRequest
5, // 5: cometbft.abci.v1.ABCIService.Commit:input_type -> cometbft.abci.v1.CommitRequest
6, // 6: cometbft.abci.v1.ABCIService.InitChain:input_type -> cometbft.abci.v1.InitChainRequest
7, // 7: cometbft.abci.v1.ABCIService.ListSnapshots:input_type -> cometbft.abci.v1.ListSnapshotsRequest
8, // 8: cometbft.abci.v1.ABCIService.OfferSnapshot:input_type -> cometbft.abci.v1.OfferSnapshotRequest
9, // 9: cometbft.abci.v1.ABCIService.LoadSnapshotChunk:input_type -> cometbft.abci.v1.LoadSnapshotChunkRequest
10, // 10: cometbft.abci.v1.ABCIService.ApplySnapshotChunk:input_type -> cometbft.abci.v1.ApplySnapshotChunkRequest
11, // 11: cometbft.abci.v1.ABCIService.PrepareProposal:input_type -> cometbft.abci.v1.PrepareProposalRequest
12, // 12: cometbft.abci.v1.ABCIService.ProcessProposal:input_type -> cometbft.abci.v1.ProcessProposalRequest
13, // 13: cometbft.abci.v1.ABCIService.ExtendVote:input_type -> cometbft.abci.v1.ExtendVoteRequest
14, // 14: cometbft.abci.v1.ABCIService.VerifyVoteExtension:input_type -> cometbft.abci.v1.VerifyVoteExtensionRequest
15, // 15: cometbft.abci.v1.ABCIService.FinalizeBlock:input_type -> cometbft.abci.v1.FinalizeBlockRequest
16, // 16: cometbft.abci.v1.ABCIService.Echo:output_type -> cometbft.abci.v1.EchoResponse
17, // 17: cometbft.abci.v1.ABCIService.Flush:output_type -> cometbft.abci.v1.FlushResponse
18, // 18: cometbft.abci.v1.ABCIService.Info:output_type -> cometbft.abci.v1.InfoResponse
19, // 19: cometbft.abci.v1.ABCIService.CheckTx:output_type -> cometbft.abci.v1.CheckTxResponse
20, // 20: cometbft.abci.v1.ABCIService.Query:output_type -> cometbft.abci.v1.QueryResponse
21, // 21: cometbft.abci.v1.ABCIService.Commit:output_type -> cometbft.abci.v1.CommitResponse
22, // 22: cometbft.abci.v1.ABCIService.InitChain:output_type -> cometbft.abci.v1.InitChainResponse
23, // 23: cometbft.abci.v1.ABCIService.ListSnapshots:output_type -> cometbft.abci.v1.ListSnapshotsResponse
24, // 24: cometbft.abci.v1.ABCIService.OfferSnapshot:output_type -> cometbft.abci.v1.OfferSnapshotResponse
25, // 25: cometbft.abci.v1.ABCIService.LoadSnapshotChunk:output_type -> cometbft.abci.v1.LoadSnapshotChunkResponse
26, // 26: cometbft.abci.v1.ABCIService.ApplySnapshotChunk:output_type -> cometbft.abci.v1.ApplySnapshotChunkResponse
27, // 27: cometbft.abci.v1.ABCIService.PrepareProposal:output_type -> cometbft.abci.v1.PrepareProposalResponse
28, // 28: cometbft.abci.v1.ABCIService.ProcessProposal:output_type -> cometbft.abci.v1.ProcessProposalResponse
29, // 29: cometbft.abci.v1.ABCIService.ExtendVote:output_type -> cometbft.abci.v1.ExtendVoteResponse
30, // 30: cometbft.abci.v1.ABCIService.VerifyVoteExtension:output_type -> cometbft.abci.v1.VerifyVoteExtensionResponse
31, // 31: cometbft.abci.v1.ABCIService.FinalizeBlock:output_type -> cometbft.abci.v1.FinalizeBlockResponse
var file_cometbft_abci_v2_service_proto_depIdxs = []int32{
0, // 0: cometbft.abci.v2.ABCIService.Echo:input_type -> cometbft.abci.v2.EchoRequest
1, // 1: cometbft.abci.v2.ABCIService.Flush:input_type -> cometbft.abci.v2.FlushRequest
2, // 2: cometbft.abci.v2.ABCIService.Info:input_type -> cometbft.abci.v2.InfoRequest
3, // 3: cometbft.abci.v2.ABCIService.CheckTx:input_type -> cometbft.abci.v2.CheckTxRequest
4, // 4: cometbft.abci.v2.ABCIService.Query:input_type -> cometbft.abci.v2.QueryRequest
5, // 5: cometbft.abci.v2.ABCIService.Commit:input_type -> cometbft.abci.v2.CommitRequest
6, // 6: cometbft.abci.v2.ABCIService.InitChain:input_type -> cometbft.abci.v2.InitChainRequest
7, // 7: cometbft.abci.v2.ABCIService.ListSnapshots:input_type -> cometbft.abci.v2.ListSnapshotsRequest
8, // 8: cometbft.abci.v2.ABCIService.OfferSnapshot:input_type -> cometbft.abci.v2.OfferSnapshotRequest
9, // 9: cometbft.abci.v2.ABCIService.LoadSnapshotChunk:input_type -> cometbft.abci.v2.LoadSnapshotChunkRequest
10, // 10: cometbft.abci.v2.ABCIService.ApplySnapshotChunk:input_type -> cometbft.abci.v2.ApplySnapshotChunkRequest
11, // 11: cometbft.abci.v2.ABCIService.PrepareProposal:input_type -> cometbft.abci.v2.PrepareProposalRequest
12, // 12: cometbft.abci.v2.ABCIService.ProcessProposal:input_type -> cometbft.abci.v2.ProcessProposalRequest
13, // 13: cometbft.abci.v2.ABCIService.ExtendVote:input_type -> cometbft.abci.v2.ExtendVoteRequest
14, // 14: cometbft.abci.v2.ABCIService.VerifyVoteExtension:input_type -> cometbft.abci.v2.VerifyVoteExtensionRequest
15, // 15: cometbft.abci.v2.ABCIService.FinalizeBlock:input_type -> cometbft.abci.v2.FinalizeBlockRequest
16, // 16: cometbft.abci.v2.ABCIService.Echo:output_type -> cometbft.abci.v2.EchoResponse
17, // 17: cometbft.abci.v2.ABCIService.Flush:output_type -> cometbft.abci.v2.FlushResponse
18, // 18: cometbft.abci.v2.ABCIService.Info:output_type -> cometbft.abci.v2.InfoResponse
19, // 19: cometbft.abci.v2.ABCIService.CheckTx:output_type -> cometbft.abci.v2.CheckTxResponse
20, // 20: cometbft.abci.v2.ABCIService.Query:output_type -> cometbft.abci.v2.QueryResponse
21, // 21: cometbft.abci.v2.ABCIService.Commit:output_type -> cometbft.abci.v2.CommitResponse
22, // 22: cometbft.abci.v2.ABCIService.InitChain:output_type -> cometbft.abci.v2.InitChainResponse
23, // 23: cometbft.abci.v2.ABCIService.ListSnapshots:output_type -> cometbft.abci.v2.ListSnapshotsResponse
24, // 24: cometbft.abci.v2.ABCIService.OfferSnapshot:output_type -> cometbft.abci.v2.OfferSnapshotResponse
25, // 25: cometbft.abci.v2.ABCIService.LoadSnapshotChunk:output_type -> cometbft.abci.v2.LoadSnapshotChunkResponse
26, // 26: cometbft.abci.v2.ABCIService.ApplySnapshotChunk:output_type -> cometbft.abci.v2.ApplySnapshotChunkResponse
27, // 27: cometbft.abci.v2.ABCIService.PrepareProposal:output_type -> cometbft.abci.v2.PrepareProposalResponse
28, // 28: cometbft.abci.v2.ABCIService.ProcessProposal:output_type -> cometbft.abci.v2.ProcessProposalResponse
29, // 29: cometbft.abci.v2.ABCIService.ExtendVote:output_type -> cometbft.abci.v2.ExtendVoteResponse
30, // 30: cometbft.abci.v2.ABCIService.VerifyVoteExtension:output_type -> cometbft.abci.v2.VerifyVoteExtensionResponse
31, // 31: cometbft.abci.v2.ABCIService.FinalizeBlock:output_type -> cometbft.abci.v2.FinalizeBlockResponse
16, // [16:32] is the sub-list for method output_type
0, // [0:16] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
@@ -209,27 +209,27 @@ var file_cometbft_abci_v1_service_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for field type_name
}
func init() { file_cometbft_abci_v1_service_proto_init() }
func file_cometbft_abci_v1_service_proto_init() {
if File_cometbft_abci_v1_service_proto != nil {
func init() { file_cometbft_abci_v2_service_proto_init() }
func file_cometbft_abci_v2_service_proto_init() {
if File_cometbft_abci_v2_service_proto != nil {
return
}
file_cometbft_abci_v1_types_proto_init()
file_cometbft_abci_v2_types_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cometbft_abci_v1_service_proto_rawDesc,
RawDescriptor: file_cometbft_abci_v2_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_cometbft_abci_v1_service_proto_goTypes,
DependencyIndexes: file_cometbft_abci_v1_service_proto_depIdxs,
GoTypes: file_cometbft_abci_v2_service_proto_goTypes,
DependencyIndexes: file_cometbft_abci_v2_service_proto_depIdxs,
}.Build()
File_cometbft_abci_v1_service_proto = out.File
file_cometbft_abci_v1_service_proto_rawDesc = nil
file_cometbft_abci_v1_service_proto_goTypes = nil
file_cometbft_abci_v1_service_proto_depIdxs = nil
File_cometbft_abci_v2_service_proto = out.File
file_cometbft_abci_v2_service_proto_rawDesc = nil
file_cometbft_abci_v2_service_proto_goTypes = nil
file_cometbft_abci_v2_service_proto_depIdxs = nil
}
@@ -2,9 +2,9 @@
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cometbft/abci/v1/service.proto
// source: cometbft/abci/v2/service.proto
package abciv1
package abciv2
import (
context "context"
@@ -19,22 +19,22 @@ import (
const _ = grpc.SupportPackageIsVersion9
const (
ABCIService_Echo_FullMethodName = "/cometbft.abci.v1.ABCIService/Echo"
ABCIService_Flush_FullMethodName = "/cometbft.abci.v1.ABCIService/Flush"
ABCIService_Info_FullMethodName = "/cometbft.abci.v1.ABCIService/Info"
ABCIService_CheckTx_FullMethodName = "/cometbft.abci.v1.ABCIService/CheckTx"
ABCIService_Query_FullMethodName = "/cometbft.abci.v1.ABCIService/Query"
ABCIService_Commit_FullMethodName = "/cometbft.abci.v1.ABCIService/Commit"
ABCIService_InitChain_FullMethodName = "/cometbft.abci.v1.ABCIService/InitChain"
ABCIService_ListSnapshots_FullMethodName = "/cometbft.abci.v1.ABCIService/ListSnapshots"
ABCIService_OfferSnapshot_FullMethodName = "/cometbft.abci.v1.ABCIService/OfferSnapshot"
ABCIService_LoadSnapshotChunk_FullMethodName = "/cometbft.abci.v1.ABCIService/LoadSnapshotChunk"
ABCIService_ApplySnapshotChunk_FullMethodName = "/cometbft.abci.v1.ABCIService/ApplySnapshotChunk"
ABCIService_PrepareProposal_FullMethodName = "/cometbft.abci.v1.ABCIService/PrepareProposal"
ABCIService_ProcessProposal_FullMethodName = "/cometbft.abci.v1.ABCIService/ProcessProposal"
ABCIService_ExtendVote_FullMethodName = "/cometbft.abci.v1.ABCIService/ExtendVote"
ABCIService_VerifyVoteExtension_FullMethodName = "/cometbft.abci.v1.ABCIService/VerifyVoteExtension"
ABCIService_FinalizeBlock_FullMethodName = "/cometbft.abci.v1.ABCIService/FinalizeBlock"
ABCIService_Echo_FullMethodName = "/cometbft.abci.v2.ABCIService/Echo"
ABCIService_Flush_FullMethodName = "/cometbft.abci.v2.ABCIService/Flush"
ABCIService_Info_FullMethodName = "/cometbft.abci.v2.ABCIService/Info"
ABCIService_CheckTx_FullMethodName = "/cometbft.abci.v2.ABCIService/CheckTx"
ABCIService_Query_FullMethodName = "/cometbft.abci.v2.ABCIService/Query"
ABCIService_Commit_FullMethodName = "/cometbft.abci.v2.ABCIService/Commit"
ABCIService_InitChain_FullMethodName = "/cometbft.abci.v2.ABCIService/InitChain"
ABCIService_ListSnapshots_FullMethodName = "/cometbft.abci.v2.ABCIService/ListSnapshots"
ABCIService_OfferSnapshot_FullMethodName = "/cometbft.abci.v2.ABCIService/OfferSnapshot"
ABCIService_LoadSnapshotChunk_FullMethodName = "/cometbft.abci.v2.ABCIService/LoadSnapshotChunk"
ABCIService_ApplySnapshotChunk_FullMethodName = "/cometbft.abci.v2.ABCIService/ApplySnapshotChunk"
ABCIService_PrepareProposal_FullMethodName = "/cometbft.abci.v2.ABCIService/PrepareProposal"
ABCIService_ProcessProposal_FullMethodName = "/cometbft.abci.v2.ABCIService/ProcessProposal"
ABCIService_ExtendVote_FullMethodName = "/cometbft.abci.v2.ABCIService/ExtendVote"
ABCIService_VerifyVoteExtension_FullMethodName = "/cometbft.abci.v2.ABCIService/VerifyVoteExtension"
ABCIService_FinalizeBlock_FullMethodName = "/cometbft.abci.v2.ABCIService/FinalizeBlock"
)
// ABCIServiceClient is the client API for ABCIService service.
@@ -654,7 +654,7 @@ func _ABCIService_FinalizeBlock_Handler(srv interface{}, ctx context.Context, de
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var ABCIService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cometbft.abci.v1.ABCIService",
ServiceName: "cometbft.abci.v2.ABCIService",
HandlerType: (*ABCIServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
@@ -723,5 +723,5 @@ var ABCIService_ServiceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cometbft/abci/v1/service.proto",
Metadata: "cometbft/abci/v2/service.proto",
}
File diff suppressed because it is too large Load Diff
@@ -1,5 +1,5 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package typesv1
package typesv2
import (
fmt "fmt"
@@ -22,8 +22,8 @@ var (
)
func init() {
file_cometbft_types_v1_block_proto_init()
md_Block = File_cometbft_types_v1_block_proto.Messages().ByName("Block")
file_cometbft_types_v2_block_proto_init()
md_Block = File_cometbft_types_v2_block_proto.Messages().ByName("Block")
fd_Block_header = md_Block.Fields().ByName("header")
fd_Block_data = md_Block.Fields().ByName("data")
fd_Block_evidence = md_Block.Fields().ByName("evidence")
@@ -39,7 +39,7 @@ func (x *Block) ProtoReflect() protoreflect.Message {
}
func (x *Block) slowProtoReflect() protoreflect.Message {
mi := &file_cometbft_types_v1_block_proto_msgTypes[0]
mi := &file_cometbft_types_v2_block_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -134,19 +134,19 @@ func (x *fastReflection_Block) Range(f func(protoreflect.FieldDescriptor, protor
// a repeated field is populated if it is non-empty.
func (x *fastReflection_Block) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cometbft.types.v1.Block.header":
case "cometbft.types.v2.Block.header":
return x.Header != nil
case "cometbft.types.v1.Block.data":
case "cometbft.types.v2.Block.data":
return x.Data != nil
case "cometbft.types.v1.Block.evidence":
case "cometbft.types.v2.Block.evidence":
return x.Evidence != nil
case "cometbft.types.v1.Block.last_commit":
case "cometbft.types.v2.Block.last_commit":
return x.LastCommit != nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Block"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Block"))
}
panic(fmt.Errorf("message cometbft.types.v1.Block does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Block does not contain field %s", fd.FullName()))
}
}
@@ -158,19 +158,19 @@ func (x *fastReflection_Block) Has(fd protoreflect.FieldDescriptor) bool {
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Block) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cometbft.types.v1.Block.header":
case "cometbft.types.v2.Block.header":
x.Header = nil
case "cometbft.types.v1.Block.data":
case "cometbft.types.v2.Block.data":
x.Data = nil
case "cometbft.types.v1.Block.evidence":
case "cometbft.types.v2.Block.evidence":
x.Evidence = nil
case "cometbft.types.v1.Block.last_commit":
case "cometbft.types.v2.Block.last_commit":
x.LastCommit = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Block"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Block"))
}
panic(fmt.Errorf("message cometbft.types.v1.Block does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Block does not contain field %s", fd.FullName()))
}
}
@@ -182,23 +182,23 @@ func (x *fastReflection_Block) Clear(fd protoreflect.FieldDescriptor) {
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_Block) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cometbft.types.v1.Block.header":
case "cometbft.types.v2.Block.header":
value := x.Header
return protoreflect.ValueOfMessage(value.ProtoReflect())
case "cometbft.types.v1.Block.data":
case "cometbft.types.v2.Block.data":
value := x.Data
return protoreflect.ValueOfMessage(value.ProtoReflect())
case "cometbft.types.v1.Block.evidence":
case "cometbft.types.v2.Block.evidence":
value := x.Evidence
return protoreflect.ValueOfMessage(value.ProtoReflect())
case "cometbft.types.v1.Block.last_commit":
case "cometbft.types.v2.Block.last_commit":
value := x.LastCommit
return protoreflect.ValueOfMessage(value.ProtoReflect())
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Block"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Block"))
}
panic(fmt.Errorf("message cometbft.types.v1.Block does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Block does not contain field %s", descriptor.FullName()))
}
}
@@ -214,19 +214,19 @@ func (x *fastReflection_Block) Get(descriptor protoreflect.FieldDescriptor) prot
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Block) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cometbft.types.v1.Block.header":
case "cometbft.types.v2.Block.header":
x.Header = value.Message().Interface().(*Header)
case "cometbft.types.v1.Block.data":
case "cometbft.types.v2.Block.data":
x.Data = value.Message().Interface().(*Data)
case "cometbft.types.v1.Block.evidence":
case "cometbft.types.v2.Block.evidence":
x.Evidence = value.Message().Interface().(*EvidenceList)
case "cometbft.types.v1.Block.last_commit":
case "cometbft.types.v2.Block.last_commit":
x.LastCommit = value.Message().Interface().(*Commit)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Block"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Block"))
}
panic(fmt.Errorf("message cometbft.types.v1.Block does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Block does not contain field %s", fd.FullName()))
}
}
@@ -242,31 +242,31 @@ func (x *fastReflection_Block) Set(fd protoreflect.FieldDescriptor, value protor
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Block) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.Block.header":
case "cometbft.types.v2.Block.header":
if x.Header == nil {
x.Header = new(Header)
}
return protoreflect.ValueOfMessage(x.Header.ProtoReflect())
case "cometbft.types.v1.Block.data":
case "cometbft.types.v2.Block.data":
if x.Data == nil {
x.Data = new(Data)
}
return protoreflect.ValueOfMessage(x.Data.ProtoReflect())
case "cometbft.types.v1.Block.evidence":
case "cometbft.types.v2.Block.evidence":
if x.Evidence == nil {
x.Evidence = new(EvidenceList)
}
return protoreflect.ValueOfMessage(x.Evidence.ProtoReflect())
case "cometbft.types.v1.Block.last_commit":
case "cometbft.types.v2.Block.last_commit":
if x.LastCommit == nil {
x.LastCommit = new(Commit)
}
return protoreflect.ValueOfMessage(x.LastCommit.ProtoReflect())
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Block"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Block"))
}
panic(fmt.Errorf("message cometbft.types.v1.Block does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Block does not contain field %s", fd.FullName()))
}
}
@@ -275,23 +275,23 @@ func (x *fastReflection_Block) Mutable(fd protoreflect.FieldDescriptor) protoref
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_Block) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.Block.header":
case "cometbft.types.v2.Block.header":
m := new(Header)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cometbft.types.v1.Block.data":
case "cometbft.types.v2.Block.data":
m := new(Data)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cometbft.types.v1.Block.evidence":
case "cometbft.types.v2.Block.evidence":
m := new(EvidenceList)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cometbft.types.v1.Block.last_commit":
case "cometbft.types.v2.Block.last_commit":
m := new(Commit)
return protoreflect.ValueOfMessage(m.ProtoReflect())
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Block"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Block"))
}
panic(fmt.Errorf("message cometbft.types.v1.Block does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Block does not contain field %s", fd.FullName()))
}
}
@@ -301,7 +301,7 @@ func (x *fastReflection_Block) NewField(fd protoreflect.FieldDescriptor) protore
func (x *fastReflection_Block) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v1.Block", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v2.Block", d.FullName()))
}
panic("unreachable")
}
@@ -689,7 +689,7 @@ func (x *fastReflection_Block) ProtoMethods() *protoiface.Methods {
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cometbft/types/v1/block.proto
// source: cometbft/types/v2/block.proto
const (
// Verify that this generated code is sufficiently up-to-date.
@@ -713,7 +713,7 @@ type Block struct {
func (x *Block) Reset() {
*x = Block{}
if protoimpl.UnsafeEnabled {
mi := &file_cometbft_types_v1_block_proto_msgTypes[0]
mi := &file_cometbft_types_v2_block_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -727,7 +727,7 @@ func (*Block) ProtoMessage() {}
// Deprecated: Use Block.ProtoReflect.Descriptor instead.
func (*Block) Descriptor() ([]byte, []int) {
return file_cometbft_types_v1_block_proto_rawDescGZIP(), []int{0}
return file_cometbft_types_v2_block_proto_rawDescGZIP(), []int{0}
}
func (x *Block) GetHeader() *Header {
@@ -758,72 +758,72 @@ func (x *Block) GetLastCommit() *Commit {
return nil
}
var File_cometbft_types_v1_block_proto protoreflect.FileDescriptor
var File_cometbft_types_v2_block_proto protoreflect.FileDescriptor
var file_cometbft_types_v1_block_proto_rawDesc = []byte{
var file_cometbft_types_v2_block_proto_rawDesc = []byte{
0x0a, 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, 0x12,
0x2f, 0x76, 0x32, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x11, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x76, 0x31, 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,
0x76, 0x32, 0x1a, 0x1d, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70,
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, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x01, 0x0a, 0x05, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x12, 0x37, 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, 0x04,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x04,
0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 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, 0x44,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44,
0x61, 0x74, 0x61, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12,
0x41, 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, 0x65, 0x6e, 0x63, 0x65, 0x4c, 0x69,
0x65, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x4c, 0x69,
0x73, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 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,
0x66, 0x74, 0x2e, 0x74, 0x79, 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, 0x42, 0xb5,
0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64,
0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66,
0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73,
0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x58, 0xaa, 0x02, 0x11, 0x43, 0x6f, 0x6d, 0x65, 0x74,
0x62, 0x66, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x11, 0x43,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31,
0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73,
0x76, 0x32, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x58, 0xaa, 0x02, 0x11, 0x43, 0x6f, 0x6d, 0x65, 0x74,
0x62, 0x66, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x11, 0x43,
0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x32,
0xe2, 0x02, 0x1d, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x54, 0x79, 0x70, 0x65,
0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0x73, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0xea, 0x02, 0x13, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x3a, 0x3a, 0x54, 0x79, 0x70,
0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x65, 0x73, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cometbft_types_v1_block_proto_rawDescOnce sync.Once
file_cometbft_types_v1_block_proto_rawDescData = file_cometbft_types_v1_block_proto_rawDesc
file_cometbft_types_v2_block_proto_rawDescOnce sync.Once
file_cometbft_types_v2_block_proto_rawDescData = file_cometbft_types_v2_block_proto_rawDesc
)
func file_cometbft_types_v1_block_proto_rawDescGZIP() []byte {
file_cometbft_types_v1_block_proto_rawDescOnce.Do(func() {
file_cometbft_types_v1_block_proto_rawDescData = protoimpl.X.CompressGZIP(file_cometbft_types_v1_block_proto_rawDescData)
func file_cometbft_types_v2_block_proto_rawDescGZIP() []byte {
file_cometbft_types_v2_block_proto_rawDescOnce.Do(func() {
file_cometbft_types_v2_block_proto_rawDescData = protoimpl.X.CompressGZIP(file_cometbft_types_v2_block_proto_rawDescData)
})
return file_cometbft_types_v1_block_proto_rawDescData
return file_cometbft_types_v2_block_proto_rawDescData
}
var file_cometbft_types_v1_block_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cometbft_types_v1_block_proto_goTypes = []interface{}{
(*Block)(nil), // 0: cometbft.types.v1.Block
(*Header)(nil), // 1: cometbft.types.v1.Header
(*Data)(nil), // 2: cometbft.types.v1.Data
(*EvidenceList)(nil), // 3: cometbft.types.v1.EvidenceList
(*Commit)(nil), // 4: cometbft.types.v1.Commit
var file_cometbft_types_v2_block_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cometbft_types_v2_block_proto_goTypes = []interface{}{
(*Block)(nil), // 0: cometbft.types.v2.Block
(*Header)(nil), // 1: cometbft.types.v2.Header
(*Data)(nil), // 2: cometbft.types.v2.Data
(*EvidenceList)(nil), // 3: cometbft.types.v2.EvidenceList
(*Commit)(nil), // 4: cometbft.types.v2.Commit
}
var file_cometbft_types_v1_block_proto_depIdxs = []int32{
1, // 0: cometbft.types.v1.Block.header:type_name -> cometbft.types.v1.Header
2, // 1: cometbft.types.v1.Block.data:type_name -> cometbft.types.v1.Data
3, // 2: cometbft.types.v1.Block.evidence:type_name -> cometbft.types.v1.EvidenceList
4, // 3: cometbft.types.v1.Block.last_commit:type_name -> cometbft.types.v1.Commit
var file_cometbft_types_v2_block_proto_depIdxs = []int32{
1, // 0: cometbft.types.v2.Block.header:type_name -> cometbft.types.v2.Header
2, // 1: cometbft.types.v2.Block.data:type_name -> cometbft.types.v2.Data
3, // 2: cometbft.types.v2.Block.evidence:type_name -> cometbft.types.v2.EvidenceList
4, // 3: cometbft.types.v2.Block.last_commit:type_name -> cometbft.types.v2.Commit
4, // [4:4] is the sub-list for method output_type
4, // [4:4] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
@@ -831,15 +831,15 @@ var file_cometbft_types_v1_block_proto_depIdxs = []int32{
0, // [0:4] is the sub-list for field type_name
}
func init() { file_cometbft_types_v1_block_proto_init() }
func file_cometbft_types_v1_block_proto_init() {
if File_cometbft_types_v1_block_proto != nil {
func init() { file_cometbft_types_v2_block_proto_init() }
func file_cometbft_types_v2_block_proto_init() {
if File_cometbft_types_v2_block_proto != nil {
return
}
file_cometbft_types_v1_types_proto_init()
file_cometbft_types_v1_evidence_proto_init()
file_cometbft_types_v2_types_proto_init()
file_cometbft_types_v2_evidence_proto_init()
if !protoimpl.UnsafeEnabled {
file_cometbft_types_v1_block_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_cometbft_types_v2_block_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Block); i {
case 0:
return &v.state
@@ -856,18 +856,18 @@ func file_cometbft_types_v1_block_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cometbft_types_v1_block_proto_rawDesc,
RawDescriptor: file_cometbft_types_v2_block_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cometbft_types_v1_block_proto_goTypes,
DependencyIndexes: file_cometbft_types_v1_block_proto_depIdxs,
MessageInfos: file_cometbft_types_v1_block_proto_msgTypes,
GoTypes: file_cometbft_types_v2_block_proto_goTypes,
DependencyIndexes: file_cometbft_types_v2_block_proto_depIdxs,
MessageInfos: file_cometbft_types_v2_block_proto_msgTypes,
}.Build()
File_cometbft_types_v1_block_proto = out.File
file_cometbft_types_v1_block_proto_rawDesc = nil
file_cometbft_types_v1_block_proto_goTypes = nil
file_cometbft_types_v1_block_proto_depIdxs = nil
File_cometbft_types_v2_block_proto = out.File
file_cometbft_types_v2_block_proto_rawDesc = nil
file_cometbft_types_v2_block_proto_goTypes = nil
file_cometbft_types_v2_block_proto_depIdxs = nil
}
@@ -1,5 +1,5 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package typesv1
package typesv2
import (
fmt "fmt"
@@ -20,8 +20,8 @@ var (
)
func init() {
file_cometbft_types_v1_events_proto_init()
md_EventDataRoundState = File_cometbft_types_v1_events_proto.Messages().ByName("EventDataRoundState")
file_cometbft_types_v2_events_proto_init()
md_EventDataRoundState = File_cometbft_types_v2_events_proto.Messages().ByName("EventDataRoundState")
fd_EventDataRoundState_height = md_EventDataRoundState.Fields().ByName("height")
fd_EventDataRoundState_round = md_EventDataRoundState.Fields().ByName("round")
fd_EventDataRoundState_step = md_EventDataRoundState.Fields().ByName("step")
@@ -36,7 +36,7 @@ func (x *EventDataRoundState) ProtoReflect() protoreflect.Message {
}
func (x *EventDataRoundState) slowProtoReflect() protoreflect.Message {
mi := &file_cometbft_types_v1_events_proto_msgTypes[0]
mi := &file_cometbft_types_v2_events_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -125,17 +125,17 @@ func (x *fastReflection_EventDataRoundState) Range(f func(protoreflect.FieldDesc
// a repeated field is populated if it is non-empty.
func (x *fastReflection_EventDataRoundState) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cometbft.types.v1.EventDataRoundState.height":
case "cometbft.types.v2.EventDataRoundState.height":
return x.Height != int64(0)
case "cometbft.types.v1.EventDataRoundState.round":
case "cometbft.types.v2.EventDataRoundState.round":
return x.Round != int32(0)
case "cometbft.types.v1.EventDataRoundState.step":
case "cometbft.types.v2.EventDataRoundState.step":
return x.Step != ""
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.EventDataRoundState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.EventDataRoundState"))
}
panic(fmt.Errorf("message cometbft.types.v1.EventDataRoundState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.EventDataRoundState does not contain field %s", fd.FullName()))
}
}
@@ -147,17 +147,17 @@ func (x *fastReflection_EventDataRoundState) Has(fd protoreflect.FieldDescriptor
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_EventDataRoundState) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cometbft.types.v1.EventDataRoundState.height":
case "cometbft.types.v2.EventDataRoundState.height":
x.Height = int64(0)
case "cometbft.types.v1.EventDataRoundState.round":
case "cometbft.types.v2.EventDataRoundState.round":
x.Round = int32(0)
case "cometbft.types.v1.EventDataRoundState.step":
case "cometbft.types.v2.EventDataRoundState.step":
x.Step = ""
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.EventDataRoundState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.EventDataRoundState"))
}
panic(fmt.Errorf("message cometbft.types.v1.EventDataRoundState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.EventDataRoundState does not contain field %s", fd.FullName()))
}
}
@@ -169,20 +169,20 @@ func (x *fastReflection_EventDataRoundState) Clear(fd protoreflect.FieldDescript
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_EventDataRoundState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cometbft.types.v1.EventDataRoundState.height":
case "cometbft.types.v2.EventDataRoundState.height":
value := x.Height
return protoreflect.ValueOfInt64(value)
case "cometbft.types.v1.EventDataRoundState.round":
case "cometbft.types.v2.EventDataRoundState.round":
value := x.Round
return protoreflect.ValueOfInt32(value)
case "cometbft.types.v1.EventDataRoundState.step":
case "cometbft.types.v2.EventDataRoundState.step":
value := x.Step
return protoreflect.ValueOfString(value)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.EventDataRoundState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.EventDataRoundState"))
}
panic(fmt.Errorf("message cometbft.types.v1.EventDataRoundState does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.EventDataRoundState does not contain field %s", descriptor.FullName()))
}
}
@@ -198,17 +198,17 @@ func (x *fastReflection_EventDataRoundState) Get(descriptor protoreflect.FieldDe
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_EventDataRoundState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cometbft.types.v1.EventDataRoundState.height":
case "cometbft.types.v2.EventDataRoundState.height":
x.Height = value.Int()
case "cometbft.types.v1.EventDataRoundState.round":
case "cometbft.types.v2.EventDataRoundState.round":
x.Round = int32(value.Int())
case "cometbft.types.v1.EventDataRoundState.step":
case "cometbft.types.v2.EventDataRoundState.step":
x.Step = value.Interface().(string)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.EventDataRoundState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.EventDataRoundState"))
}
panic(fmt.Errorf("message cometbft.types.v1.EventDataRoundState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.EventDataRoundState does not contain field %s", fd.FullName()))
}
}
@@ -224,17 +224,17 @@ func (x *fastReflection_EventDataRoundState) Set(fd protoreflect.FieldDescriptor
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_EventDataRoundState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.EventDataRoundState.height":
panic(fmt.Errorf("field height of message cometbft.types.v1.EventDataRoundState is not mutable"))
case "cometbft.types.v1.EventDataRoundState.round":
panic(fmt.Errorf("field round of message cometbft.types.v1.EventDataRoundState is not mutable"))
case "cometbft.types.v1.EventDataRoundState.step":
panic(fmt.Errorf("field step of message cometbft.types.v1.EventDataRoundState is not mutable"))
case "cometbft.types.v2.EventDataRoundState.height":
panic(fmt.Errorf("field height of message cometbft.types.v2.EventDataRoundState is not mutable"))
case "cometbft.types.v2.EventDataRoundState.round":
panic(fmt.Errorf("field round of message cometbft.types.v2.EventDataRoundState is not mutable"))
case "cometbft.types.v2.EventDataRoundState.step":
panic(fmt.Errorf("field step of message cometbft.types.v2.EventDataRoundState is not mutable"))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.EventDataRoundState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.EventDataRoundState"))
}
panic(fmt.Errorf("message cometbft.types.v1.EventDataRoundState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.EventDataRoundState does not contain field %s", fd.FullName()))
}
}
@@ -243,17 +243,17 @@ func (x *fastReflection_EventDataRoundState) Mutable(fd protoreflect.FieldDescri
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_EventDataRoundState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.EventDataRoundState.height":
case "cometbft.types.v2.EventDataRoundState.height":
return protoreflect.ValueOfInt64(int64(0))
case "cometbft.types.v1.EventDataRoundState.round":
case "cometbft.types.v2.EventDataRoundState.round":
return protoreflect.ValueOfInt32(int32(0))
case "cometbft.types.v1.EventDataRoundState.step":
case "cometbft.types.v2.EventDataRoundState.step":
return protoreflect.ValueOfString("")
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.EventDataRoundState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.EventDataRoundState"))
}
panic(fmt.Errorf("message cometbft.types.v1.EventDataRoundState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.EventDataRoundState does not contain field %s", fd.FullName()))
}
}
@@ -263,7 +263,7 @@ func (x *fastReflection_EventDataRoundState) NewField(fd protoreflect.FieldDescr
func (x *fastReflection_EventDataRoundState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v1.EventDataRoundState", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v2.EventDataRoundState", d.FullName()))
}
panic("unreachable")
}
@@ -532,7 +532,7 @@ func (x *fastReflection_EventDataRoundState) ProtoMethods() *protoiface.Methods
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cometbft/types/v1/events.proto
// source: cometbft/types/v2/events.proto
const (
// Verify that this generated code is sufficiently up-to-date.
@@ -555,7 +555,7 @@ type EventDataRoundState struct {
func (x *EventDataRoundState) Reset() {
*x = EventDataRoundState{}
if protoimpl.UnsafeEnabled {
mi := &file_cometbft_types_v1_events_proto_msgTypes[0]
mi := &file_cometbft_types_v2_events_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -569,7 +569,7 @@ func (*EventDataRoundState) ProtoMessage() {}
// Deprecated: Use EventDataRoundState.ProtoReflect.Descriptor instead.
func (*EventDataRoundState) Descriptor() ([]byte, []int) {
return file_cometbft_types_v1_events_proto_rawDescGZIP(), []int{0}
return file_cometbft_types_v2_events_proto_rawDescGZIP(), []int{0}
}
func (x *EventDataRoundState) GetHeight() int64 {
@@ -593,49 +593,49 @@ func (x *EventDataRoundState) GetStep() string {
return ""
}
var File_cometbft_types_v1_events_proto protoreflect.FileDescriptor
var File_cometbft_types_v2_events_proto protoreflect.FileDescriptor
var file_cometbft_types_v1_events_proto_rawDesc = []byte{
var file_cometbft_types_v2_events_proto_rawDesc = []byte{
0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x11, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2e, 0x76, 0x31, 0x22, 0x57, 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61,
0x2e, 0x76, 0x32, 0x22, 0x57, 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61,
0x52, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65,
0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67,
0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x65, 0x70,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x74, 0x65, 0x70, 0x42, 0xb6, 0x01, 0x0a,
0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72,
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b,
0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74,
0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76,
0x31, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x58, 0xaa, 0x02, 0x11, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62,
0x66, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x11, 0x43, 0x6f,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2,
0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76,
0x32, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x58, 0xaa, 0x02, 0x11, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62,
0x66, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x11, 0x43, 0x6f,
0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x32, 0xe2,
0x02, 0x1d, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73,
0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,
0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,
0x02, 0x13, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65,
0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x73, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cometbft_types_v1_events_proto_rawDescOnce sync.Once
file_cometbft_types_v1_events_proto_rawDescData = file_cometbft_types_v1_events_proto_rawDesc
file_cometbft_types_v2_events_proto_rawDescOnce sync.Once
file_cometbft_types_v2_events_proto_rawDescData = file_cometbft_types_v2_events_proto_rawDesc
)
func file_cometbft_types_v1_events_proto_rawDescGZIP() []byte {
file_cometbft_types_v1_events_proto_rawDescOnce.Do(func() {
file_cometbft_types_v1_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_cometbft_types_v1_events_proto_rawDescData)
func file_cometbft_types_v2_events_proto_rawDescGZIP() []byte {
file_cometbft_types_v2_events_proto_rawDescOnce.Do(func() {
file_cometbft_types_v2_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_cometbft_types_v2_events_proto_rawDescData)
})
return file_cometbft_types_v1_events_proto_rawDescData
return file_cometbft_types_v2_events_proto_rawDescData
}
var file_cometbft_types_v1_events_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cometbft_types_v1_events_proto_goTypes = []interface{}{
(*EventDataRoundState)(nil), // 0: cometbft.types.v1.EventDataRoundState
var file_cometbft_types_v2_events_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cometbft_types_v2_events_proto_goTypes = []interface{}{
(*EventDataRoundState)(nil), // 0: cometbft.types.v2.EventDataRoundState
}
var file_cometbft_types_v1_events_proto_depIdxs = []int32{
var file_cometbft_types_v2_events_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
@@ -643,13 +643,13 @@ var file_cometbft_types_v1_events_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for field type_name
}
func init() { file_cometbft_types_v1_events_proto_init() }
func file_cometbft_types_v1_events_proto_init() {
if File_cometbft_types_v1_events_proto != nil {
func init() { file_cometbft_types_v2_events_proto_init() }
func file_cometbft_types_v2_events_proto_init() {
if File_cometbft_types_v2_events_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_cometbft_types_v1_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_cometbft_types_v2_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EventDataRoundState); i {
case 0:
return &v.state
@@ -666,18 +666,18 @@ func file_cometbft_types_v1_events_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cometbft_types_v1_events_proto_rawDesc,
RawDescriptor: file_cometbft_types_v2_events_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cometbft_types_v1_events_proto_goTypes,
DependencyIndexes: file_cometbft_types_v1_events_proto_depIdxs,
MessageInfos: file_cometbft_types_v1_events_proto_msgTypes,
GoTypes: file_cometbft_types_v2_events_proto_goTypes,
DependencyIndexes: file_cometbft_types_v2_events_proto_depIdxs,
MessageInfos: file_cometbft_types_v2_events_proto_msgTypes,
}.Build()
File_cometbft_types_v1_events_proto = out.File
file_cometbft_types_v1_events_proto_rawDesc = nil
file_cometbft_types_v1_events_proto_goTypes = nil
file_cometbft_types_v1_events_proto_depIdxs = nil
File_cometbft_types_v2_events_proto = out.File
file_cometbft_types_v2_events_proto_rawDesc = nil
file_cometbft_types_v2_events_proto_goTypes = nil
file_cometbft_types_v2_events_proto_depIdxs = nil
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,5 +1,5 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package typesv1
package typesv2
import (
v1 "cosmossdk.io/api/cometbft/crypto/v1"
@@ -73,8 +73,8 @@ var (
)
func init() {
file_cometbft_types_v1_validator_proto_init()
md_ValidatorSet = File_cometbft_types_v1_validator_proto.Messages().ByName("ValidatorSet")
file_cometbft_types_v2_validator_proto_init()
md_ValidatorSet = File_cometbft_types_v2_validator_proto.Messages().ByName("ValidatorSet")
fd_ValidatorSet_validators = md_ValidatorSet.Fields().ByName("validators")
fd_ValidatorSet_proposer = md_ValidatorSet.Fields().ByName("proposer")
fd_ValidatorSet_total_voting_power = md_ValidatorSet.Fields().ByName("total_voting_power")
@@ -89,7 +89,7 @@ func (x *ValidatorSet) ProtoReflect() protoreflect.Message {
}
func (x *ValidatorSet) slowProtoReflect() protoreflect.Message {
mi := &file_cometbft_types_v1_validator_proto_msgTypes[0]
mi := &file_cometbft_types_v2_validator_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -178,17 +178,17 @@ func (x *fastReflection_ValidatorSet) Range(f func(protoreflect.FieldDescriptor,
// a repeated field is populated if it is non-empty.
func (x *fastReflection_ValidatorSet) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cometbft.types.v1.ValidatorSet.validators":
case "cometbft.types.v2.ValidatorSet.validators":
return len(x.Validators) != 0
case "cometbft.types.v1.ValidatorSet.proposer":
case "cometbft.types.v2.ValidatorSet.proposer":
return x.Proposer != nil
case "cometbft.types.v1.ValidatorSet.total_voting_power":
case "cometbft.types.v2.ValidatorSet.total_voting_power":
return x.TotalVotingPower != int64(0)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.ValidatorSet"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.ValidatorSet"))
}
panic(fmt.Errorf("message cometbft.types.v1.ValidatorSet does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.ValidatorSet does not contain field %s", fd.FullName()))
}
}
@@ -200,17 +200,17 @@ func (x *fastReflection_ValidatorSet) Has(fd protoreflect.FieldDescriptor) bool
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_ValidatorSet) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cometbft.types.v1.ValidatorSet.validators":
case "cometbft.types.v2.ValidatorSet.validators":
x.Validators = nil
case "cometbft.types.v1.ValidatorSet.proposer":
case "cometbft.types.v2.ValidatorSet.proposer":
x.Proposer = nil
case "cometbft.types.v1.ValidatorSet.total_voting_power":
case "cometbft.types.v2.ValidatorSet.total_voting_power":
x.TotalVotingPower = int64(0)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.ValidatorSet"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.ValidatorSet"))
}
panic(fmt.Errorf("message cometbft.types.v1.ValidatorSet does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.ValidatorSet does not contain field %s", fd.FullName()))
}
}
@@ -222,23 +222,23 @@ func (x *fastReflection_ValidatorSet) Clear(fd protoreflect.FieldDescriptor) {
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_ValidatorSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cometbft.types.v1.ValidatorSet.validators":
case "cometbft.types.v2.ValidatorSet.validators":
if len(x.Validators) == 0 {
return protoreflect.ValueOfList(&_ValidatorSet_1_list{})
}
listValue := &_ValidatorSet_1_list{list: &x.Validators}
return protoreflect.ValueOfList(listValue)
case "cometbft.types.v1.ValidatorSet.proposer":
case "cometbft.types.v2.ValidatorSet.proposer":
value := x.Proposer
return protoreflect.ValueOfMessage(value.ProtoReflect())
case "cometbft.types.v1.ValidatorSet.total_voting_power":
case "cometbft.types.v2.ValidatorSet.total_voting_power":
value := x.TotalVotingPower
return protoreflect.ValueOfInt64(value)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.ValidatorSet"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.ValidatorSet"))
}
panic(fmt.Errorf("message cometbft.types.v1.ValidatorSet does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.ValidatorSet does not contain field %s", descriptor.FullName()))
}
}
@@ -254,19 +254,19 @@ func (x *fastReflection_ValidatorSet) Get(descriptor protoreflect.FieldDescripto
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_ValidatorSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cometbft.types.v1.ValidatorSet.validators":
case "cometbft.types.v2.ValidatorSet.validators":
lv := value.List()
clv := lv.(*_ValidatorSet_1_list)
x.Validators = *clv.list
case "cometbft.types.v1.ValidatorSet.proposer":
case "cometbft.types.v2.ValidatorSet.proposer":
x.Proposer = value.Message().Interface().(*Validator)
case "cometbft.types.v1.ValidatorSet.total_voting_power":
case "cometbft.types.v2.ValidatorSet.total_voting_power":
x.TotalVotingPower = value.Int()
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.ValidatorSet"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.ValidatorSet"))
}
panic(fmt.Errorf("message cometbft.types.v1.ValidatorSet does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.ValidatorSet does not contain field %s", fd.FullName()))
}
}
@@ -282,24 +282,24 @@ func (x *fastReflection_ValidatorSet) Set(fd protoreflect.FieldDescriptor, value
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_ValidatorSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.ValidatorSet.validators":
case "cometbft.types.v2.ValidatorSet.validators":
if x.Validators == nil {
x.Validators = []*Validator{}
}
value := &_ValidatorSet_1_list{list: &x.Validators}
return protoreflect.ValueOfList(value)
case "cometbft.types.v1.ValidatorSet.proposer":
case "cometbft.types.v2.ValidatorSet.proposer":
if x.Proposer == nil {
x.Proposer = new(Validator)
}
return protoreflect.ValueOfMessage(x.Proposer.ProtoReflect())
case "cometbft.types.v1.ValidatorSet.total_voting_power":
panic(fmt.Errorf("field total_voting_power of message cometbft.types.v1.ValidatorSet is not mutable"))
case "cometbft.types.v2.ValidatorSet.total_voting_power":
panic(fmt.Errorf("field total_voting_power of message cometbft.types.v2.ValidatorSet is not mutable"))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.ValidatorSet"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.ValidatorSet"))
}
panic(fmt.Errorf("message cometbft.types.v1.ValidatorSet does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.ValidatorSet does not contain field %s", fd.FullName()))
}
}
@@ -308,19 +308,19 @@ func (x *fastReflection_ValidatorSet) Mutable(fd protoreflect.FieldDescriptor) p
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_ValidatorSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.ValidatorSet.validators":
case "cometbft.types.v2.ValidatorSet.validators":
list := []*Validator{}
return protoreflect.ValueOfList(&_ValidatorSet_1_list{list: &list})
case "cometbft.types.v1.ValidatorSet.proposer":
case "cometbft.types.v2.ValidatorSet.proposer":
m := new(Validator)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cometbft.types.v1.ValidatorSet.total_voting_power":
case "cometbft.types.v2.ValidatorSet.total_voting_power":
return protoreflect.ValueOfInt64(int64(0))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.ValidatorSet"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.ValidatorSet"))
}
panic(fmt.Errorf("message cometbft.types.v1.ValidatorSet does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.ValidatorSet does not contain field %s", fd.FullName()))
}
}
@@ -330,7 +330,7 @@ func (x *fastReflection_ValidatorSet) NewField(fd protoreflect.FieldDescriptor)
func (x *fastReflection_ValidatorSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v1.ValidatorSet", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v2.ValidatorSet", d.FullName()))
}
panic("unreachable")
}
@@ -646,8 +646,8 @@ var (
)
func init() {
file_cometbft_types_v1_validator_proto_init()
md_Validator = File_cometbft_types_v1_validator_proto.Messages().ByName("Validator")
file_cometbft_types_v2_validator_proto_init()
md_Validator = File_cometbft_types_v2_validator_proto.Messages().ByName("Validator")
fd_Validator_address = md_Validator.Fields().ByName("address")
fd_Validator_pub_key = md_Validator.Fields().ByName("pub_key")
fd_Validator_voting_power = md_Validator.Fields().ByName("voting_power")
@@ -665,7 +665,7 @@ func (x *Validator) ProtoReflect() protoreflect.Message {
}
func (x *Validator) slowProtoReflect() protoreflect.Message {
mi := &file_cometbft_types_v1_validator_proto_msgTypes[1]
mi := &file_cometbft_types_v2_validator_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -772,23 +772,23 @@ func (x *fastReflection_Validator) Range(f func(protoreflect.FieldDescriptor, pr
// a repeated field is populated if it is non-empty.
func (x *fastReflection_Validator) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cometbft.types.v1.Validator.address":
case "cometbft.types.v2.Validator.address":
return len(x.Address) != 0
case "cometbft.types.v1.Validator.pub_key":
case "cometbft.types.v2.Validator.pub_key":
return x.PubKey != nil
case "cometbft.types.v1.Validator.voting_power":
case "cometbft.types.v2.Validator.voting_power":
return x.VotingPower != int64(0)
case "cometbft.types.v1.Validator.proposer_priority":
case "cometbft.types.v2.Validator.proposer_priority":
return x.ProposerPriority != int64(0)
case "cometbft.types.v1.Validator.pub_key_bytes":
case "cometbft.types.v2.Validator.pub_key_bytes":
return len(x.PubKeyBytes) != 0
case "cometbft.types.v1.Validator.pub_key_type":
case "cometbft.types.v2.Validator.pub_key_type":
return x.PubKeyType != ""
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Validator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Validator"))
}
panic(fmt.Errorf("message cometbft.types.v1.Validator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Validator does not contain field %s", fd.FullName()))
}
}
@@ -800,23 +800,23 @@ func (x *fastReflection_Validator) Has(fd protoreflect.FieldDescriptor) bool {
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Validator) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cometbft.types.v1.Validator.address":
case "cometbft.types.v2.Validator.address":
x.Address = nil
case "cometbft.types.v1.Validator.pub_key":
case "cometbft.types.v2.Validator.pub_key":
x.PubKey = nil
case "cometbft.types.v1.Validator.voting_power":
case "cometbft.types.v2.Validator.voting_power":
x.VotingPower = int64(0)
case "cometbft.types.v1.Validator.proposer_priority":
case "cometbft.types.v2.Validator.proposer_priority":
x.ProposerPriority = int64(0)
case "cometbft.types.v1.Validator.pub_key_bytes":
case "cometbft.types.v2.Validator.pub_key_bytes":
x.PubKeyBytes = nil
case "cometbft.types.v1.Validator.pub_key_type":
case "cometbft.types.v2.Validator.pub_key_type":
x.PubKeyType = ""
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Validator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Validator"))
}
panic(fmt.Errorf("message cometbft.types.v1.Validator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Validator does not contain field %s", fd.FullName()))
}
}
@@ -828,29 +828,29 @@ func (x *fastReflection_Validator) Clear(fd protoreflect.FieldDescriptor) {
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_Validator) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cometbft.types.v1.Validator.address":
case "cometbft.types.v2.Validator.address":
value := x.Address
return protoreflect.ValueOfBytes(value)
case "cometbft.types.v1.Validator.pub_key":
case "cometbft.types.v2.Validator.pub_key":
value := x.PubKey
return protoreflect.ValueOfMessage(value.ProtoReflect())
case "cometbft.types.v1.Validator.voting_power":
case "cometbft.types.v2.Validator.voting_power":
value := x.VotingPower
return protoreflect.ValueOfInt64(value)
case "cometbft.types.v1.Validator.proposer_priority":
case "cometbft.types.v2.Validator.proposer_priority":
value := x.ProposerPriority
return protoreflect.ValueOfInt64(value)
case "cometbft.types.v1.Validator.pub_key_bytes":
case "cometbft.types.v2.Validator.pub_key_bytes":
value := x.PubKeyBytes
return protoreflect.ValueOfBytes(value)
case "cometbft.types.v1.Validator.pub_key_type":
case "cometbft.types.v2.Validator.pub_key_type":
value := x.PubKeyType
return protoreflect.ValueOfString(value)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Validator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Validator"))
}
panic(fmt.Errorf("message cometbft.types.v1.Validator does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Validator does not contain field %s", descriptor.FullName()))
}
}
@@ -866,23 +866,23 @@ func (x *fastReflection_Validator) Get(descriptor protoreflect.FieldDescriptor)
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Validator) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cometbft.types.v1.Validator.address":
case "cometbft.types.v2.Validator.address":
x.Address = value.Bytes()
case "cometbft.types.v1.Validator.pub_key":
case "cometbft.types.v2.Validator.pub_key":
x.PubKey = value.Message().Interface().(*v1.PublicKey)
case "cometbft.types.v1.Validator.voting_power":
case "cometbft.types.v2.Validator.voting_power":
x.VotingPower = value.Int()
case "cometbft.types.v1.Validator.proposer_priority":
case "cometbft.types.v2.Validator.proposer_priority":
x.ProposerPriority = value.Int()
case "cometbft.types.v1.Validator.pub_key_bytes":
case "cometbft.types.v2.Validator.pub_key_bytes":
x.PubKeyBytes = value.Bytes()
case "cometbft.types.v1.Validator.pub_key_type":
case "cometbft.types.v2.Validator.pub_key_type":
x.PubKeyType = value.Interface().(string)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Validator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Validator"))
}
panic(fmt.Errorf("message cometbft.types.v1.Validator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Validator does not contain field %s", fd.FullName()))
}
}
@@ -898,26 +898,26 @@ func (x *fastReflection_Validator) Set(fd protoreflect.FieldDescriptor, value pr
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Validator) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.Validator.pub_key":
case "cometbft.types.v2.Validator.pub_key":
if x.PubKey == nil {
x.PubKey = new(v1.PublicKey)
}
return protoreflect.ValueOfMessage(x.PubKey.ProtoReflect())
case "cometbft.types.v1.Validator.address":
panic(fmt.Errorf("field address of message cometbft.types.v1.Validator is not mutable"))
case "cometbft.types.v1.Validator.voting_power":
panic(fmt.Errorf("field voting_power of message cometbft.types.v1.Validator is not mutable"))
case "cometbft.types.v1.Validator.proposer_priority":
panic(fmt.Errorf("field proposer_priority of message cometbft.types.v1.Validator is not mutable"))
case "cometbft.types.v1.Validator.pub_key_bytes":
panic(fmt.Errorf("field pub_key_bytes of message cometbft.types.v1.Validator is not mutable"))
case "cometbft.types.v1.Validator.pub_key_type":
panic(fmt.Errorf("field pub_key_type of message cometbft.types.v1.Validator is not mutable"))
case "cometbft.types.v2.Validator.address":
panic(fmt.Errorf("field address of message cometbft.types.v2.Validator is not mutable"))
case "cometbft.types.v2.Validator.voting_power":
panic(fmt.Errorf("field voting_power of message cometbft.types.v2.Validator is not mutable"))
case "cometbft.types.v2.Validator.proposer_priority":
panic(fmt.Errorf("field proposer_priority of message cometbft.types.v2.Validator is not mutable"))
case "cometbft.types.v2.Validator.pub_key_bytes":
panic(fmt.Errorf("field pub_key_bytes of message cometbft.types.v2.Validator is not mutable"))
case "cometbft.types.v2.Validator.pub_key_type":
panic(fmt.Errorf("field pub_key_type of message cometbft.types.v2.Validator is not mutable"))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Validator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Validator"))
}
panic(fmt.Errorf("message cometbft.types.v1.Validator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Validator does not contain field %s", fd.FullName()))
}
}
@@ -926,24 +926,24 @@ func (x *fastReflection_Validator) Mutable(fd protoreflect.FieldDescriptor) prot
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_Validator) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.Validator.address":
case "cometbft.types.v2.Validator.address":
return protoreflect.ValueOfBytes(nil)
case "cometbft.types.v1.Validator.pub_key":
case "cometbft.types.v2.Validator.pub_key":
m := new(v1.PublicKey)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cometbft.types.v1.Validator.voting_power":
case "cometbft.types.v2.Validator.voting_power":
return protoreflect.ValueOfInt64(int64(0))
case "cometbft.types.v1.Validator.proposer_priority":
case "cometbft.types.v2.Validator.proposer_priority":
return protoreflect.ValueOfInt64(int64(0))
case "cometbft.types.v1.Validator.pub_key_bytes":
case "cometbft.types.v2.Validator.pub_key_bytes":
return protoreflect.ValueOfBytes(nil)
case "cometbft.types.v1.Validator.pub_key_type":
case "cometbft.types.v2.Validator.pub_key_type":
return protoreflect.ValueOfString("")
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.Validator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.Validator"))
}
panic(fmt.Errorf("message cometbft.types.v1.Validator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.Validator does not contain field %s", fd.FullName()))
}
}
@@ -953,7 +953,7 @@ func (x *fastReflection_Validator) NewField(fd protoreflect.FieldDescriptor) pro
func (x *fastReflection_Validator) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v1.Validator", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v2.Validator", d.FullName()))
}
panic("unreachable")
}
@@ -1369,8 +1369,8 @@ var (
)
func init() {
file_cometbft_types_v1_validator_proto_init()
md_SimpleValidator = File_cometbft_types_v1_validator_proto.Messages().ByName("SimpleValidator")
file_cometbft_types_v2_validator_proto_init()
md_SimpleValidator = File_cometbft_types_v2_validator_proto.Messages().ByName("SimpleValidator")
fd_SimpleValidator_pub_key = md_SimpleValidator.Fields().ByName("pub_key")
fd_SimpleValidator_voting_power = md_SimpleValidator.Fields().ByName("voting_power")
}
@@ -1384,7 +1384,7 @@ func (x *SimpleValidator) ProtoReflect() protoreflect.Message {
}
func (x *SimpleValidator) slowProtoReflect() protoreflect.Message {
mi := &file_cometbft_types_v1_validator_proto_msgTypes[2]
mi := &file_cometbft_types_v2_validator_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1467,15 +1467,15 @@ func (x *fastReflection_SimpleValidator) Range(f func(protoreflect.FieldDescript
// a repeated field is populated if it is non-empty.
func (x *fastReflection_SimpleValidator) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cometbft.types.v1.SimpleValidator.pub_key":
case "cometbft.types.v2.SimpleValidator.pub_key":
return x.PubKey != nil
case "cometbft.types.v1.SimpleValidator.voting_power":
case "cometbft.types.v2.SimpleValidator.voting_power":
return x.VotingPower != int64(0)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.SimpleValidator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.SimpleValidator"))
}
panic(fmt.Errorf("message cometbft.types.v1.SimpleValidator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.SimpleValidator does not contain field %s", fd.FullName()))
}
}
@@ -1487,15 +1487,15 @@ func (x *fastReflection_SimpleValidator) Has(fd protoreflect.FieldDescriptor) bo
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_SimpleValidator) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cometbft.types.v1.SimpleValidator.pub_key":
case "cometbft.types.v2.SimpleValidator.pub_key":
x.PubKey = nil
case "cometbft.types.v1.SimpleValidator.voting_power":
case "cometbft.types.v2.SimpleValidator.voting_power":
x.VotingPower = int64(0)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.SimpleValidator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.SimpleValidator"))
}
panic(fmt.Errorf("message cometbft.types.v1.SimpleValidator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.SimpleValidator does not contain field %s", fd.FullName()))
}
}
@@ -1507,17 +1507,17 @@ func (x *fastReflection_SimpleValidator) Clear(fd protoreflect.FieldDescriptor)
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_SimpleValidator) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cometbft.types.v1.SimpleValidator.pub_key":
case "cometbft.types.v2.SimpleValidator.pub_key":
value := x.PubKey
return protoreflect.ValueOfMessage(value.ProtoReflect())
case "cometbft.types.v1.SimpleValidator.voting_power":
case "cometbft.types.v2.SimpleValidator.voting_power":
value := x.VotingPower
return protoreflect.ValueOfInt64(value)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.SimpleValidator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.SimpleValidator"))
}
panic(fmt.Errorf("message cometbft.types.v1.SimpleValidator does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.SimpleValidator does not contain field %s", descriptor.FullName()))
}
}
@@ -1533,15 +1533,15 @@ func (x *fastReflection_SimpleValidator) Get(descriptor protoreflect.FieldDescri
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_SimpleValidator) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cometbft.types.v1.SimpleValidator.pub_key":
case "cometbft.types.v2.SimpleValidator.pub_key":
x.PubKey = value.Message().Interface().(*v1.PublicKey)
case "cometbft.types.v1.SimpleValidator.voting_power":
case "cometbft.types.v2.SimpleValidator.voting_power":
x.VotingPower = value.Int()
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.SimpleValidator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.SimpleValidator"))
}
panic(fmt.Errorf("message cometbft.types.v1.SimpleValidator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.SimpleValidator does not contain field %s", fd.FullName()))
}
}
@@ -1557,18 +1557,18 @@ func (x *fastReflection_SimpleValidator) Set(fd protoreflect.FieldDescriptor, va
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_SimpleValidator) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.SimpleValidator.pub_key":
case "cometbft.types.v2.SimpleValidator.pub_key":
if x.PubKey == nil {
x.PubKey = new(v1.PublicKey)
}
return protoreflect.ValueOfMessage(x.PubKey.ProtoReflect())
case "cometbft.types.v1.SimpleValidator.voting_power":
panic(fmt.Errorf("field voting_power of message cometbft.types.v1.SimpleValidator is not mutable"))
case "cometbft.types.v2.SimpleValidator.voting_power":
panic(fmt.Errorf("field voting_power of message cometbft.types.v2.SimpleValidator is not mutable"))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.SimpleValidator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.SimpleValidator"))
}
panic(fmt.Errorf("message cometbft.types.v1.SimpleValidator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.SimpleValidator does not contain field %s", fd.FullName()))
}
}
@@ -1577,16 +1577,16 @@ func (x *fastReflection_SimpleValidator) Mutable(fd protoreflect.FieldDescriptor
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_SimpleValidator) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cometbft.types.v1.SimpleValidator.pub_key":
case "cometbft.types.v2.SimpleValidator.pub_key":
m := new(v1.PublicKey)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cometbft.types.v1.SimpleValidator.voting_power":
case "cometbft.types.v2.SimpleValidator.voting_power":
return protoreflect.ValueOfInt64(int64(0))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v1.SimpleValidator"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cometbft.types.v2.SimpleValidator"))
}
panic(fmt.Errorf("message cometbft.types.v1.SimpleValidator does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cometbft.types.v2.SimpleValidator does not contain field %s", fd.FullName()))
}
}
@@ -1596,7 +1596,7 @@ func (x *fastReflection_SimpleValidator) NewField(fd protoreflect.FieldDescripto
func (x *fastReflection_SimpleValidator) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v1.SimpleValidator", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in cometbft.types.v2.SimpleValidator", d.FullName()))
}
panic("unreachable")
}
@@ -1849,7 +1849,7 @@ func (x *fastReflection_SimpleValidator) ProtoMethods() *protoiface.Methods {
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cometbft/types/v1/validator.proto
// source: cometbft/types/v2/validator.proto
const (
// Verify that this generated code is sufficiently up-to-date.
@@ -1899,11 +1899,11 @@ func (x BlockIDFlag) String() string {
}
func (BlockIDFlag) Descriptor() protoreflect.EnumDescriptor {
return file_cometbft_types_v1_validator_proto_enumTypes[0].Descriptor()
return file_cometbft_types_v2_validator_proto_enumTypes[0].Descriptor()
}
func (BlockIDFlag) Type() protoreflect.EnumType {
return &file_cometbft_types_v1_validator_proto_enumTypes[0]
return &file_cometbft_types_v2_validator_proto_enumTypes[0]
}
func (x BlockIDFlag) Number() protoreflect.EnumNumber {
@@ -1912,7 +1912,7 @@ func (x BlockIDFlag) Number() protoreflect.EnumNumber {
// Deprecated: Use BlockIDFlag.Descriptor instead.
func (BlockIDFlag) EnumDescriptor() ([]byte, []int) {
return file_cometbft_types_v1_validator_proto_rawDescGZIP(), []int{0}
return file_cometbft_types_v2_validator_proto_rawDescGZIP(), []int{0}
}
// ValidatorSet defines a set of validators.
@@ -1929,7 +1929,7 @@ type ValidatorSet struct {
func (x *ValidatorSet) Reset() {
*x = ValidatorSet{}
if protoimpl.UnsafeEnabled {
mi := &file_cometbft_types_v1_validator_proto_msgTypes[0]
mi := &file_cometbft_types_v2_validator_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1943,7 +1943,7 @@ func (*ValidatorSet) ProtoMessage() {}
// Deprecated: Use ValidatorSet.ProtoReflect.Descriptor instead.
func (*ValidatorSet) Descriptor() ([]byte, []int) {
return file_cometbft_types_v1_validator_proto_rawDescGZIP(), []int{0}
return file_cometbft_types_v2_validator_proto_rawDescGZIP(), []int{0}
}
func (x *ValidatorSet) GetValidators() []*Validator {
@@ -1985,7 +1985,7 @@ type Validator struct {
func (x *Validator) Reset() {
*x = Validator{}
if protoimpl.UnsafeEnabled {
mi := &file_cometbft_types_v1_validator_proto_msgTypes[1]
mi := &file_cometbft_types_v2_validator_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1999,7 +1999,7 @@ func (*Validator) ProtoMessage() {}
// Deprecated: Use Validator.ProtoReflect.Descriptor instead.
func (*Validator) Descriptor() ([]byte, []int) {
return file_cometbft_types_v1_validator_proto_rawDescGZIP(), []int{1}
return file_cometbft_types_v2_validator_proto_rawDescGZIP(), []int{1}
}
func (x *Validator) GetAddress() []byte {
@@ -2060,7 +2060,7 @@ type SimpleValidator struct {
func (x *SimpleValidator) Reset() {
*x = SimpleValidator{}
if protoimpl.UnsafeEnabled {
mi := &file_cometbft_types_v1_validator_proto_msgTypes[2]
mi := &file_cometbft_types_v2_validator_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2074,7 +2074,7 @@ func (*SimpleValidator) ProtoMessage() {}
// Deprecated: Use SimpleValidator.ProtoReflect.Descriptor instead.
func (*SimpleValidator) Descriptor() ([]byte, []int) {
return file_cometbft_types_v1_validator_proto_rawDescGZIP(), []int{2}
return file_cometbft_types_v2_validator_proto_rawDescGZIP(), []int{2}
}
func (x *SimpleValidator) GetPubKey() *v1.PublicKey {
@@ -2091,23 +2091,23 @@ func (x *SimpleValidator) GetVotingPower() int64 {
return 0
}
var File_cometbft_types_v1_validator_proto protoreflect.FileDescriptor
var File_cometbft_types_v2_validator_proto protoreflect.FileDescriptor
var file_cometbft_types_v1_validator_proto_rawDesc = []byte{
var file_cometbft_types_v2_validator_proto_rawDesc = []byte{
0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
0x2f, 0x76, 0x32, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x11, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1d, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74,
0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x1d, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74,
0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x01, 0x0a, 0x0c,
0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x12, 0x3c, 0x0a, 0x0a,
0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x1c, 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, 0x52, 0x0a,
0x73, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x0a,
0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x72,
0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 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, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70,
0x6f, 0x73, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x76, 0x6f,
0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
@@ -2149,46 +2149,46 @@ var file_cometbft_types_v1_validator_proto_rawDesc = []byte{
0x5f, 0x4e, 0x49, 0x4c, 0x10, 0x03, 0x1a, 0x12, 0x8a, 0x9d, 0x20, 0x0e, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x49, 0x44, 0x46, 0x6c, 0x61, 0x67, 0x4e, 0x69, 0x6c, 0x1a, 0x08, 0x88, 0xa3, 0x1e, 0x00,
0xa8, 0xa4, 0x1e, 0x01, 0x42, 0xb9, 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6d,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0e,
0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x0e,
0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
0x5a, 0x2a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61,
0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65,
0x73, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43,
0x73, 0x2f, 0x76, 0x32, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x43,
0x54, 0x58, 0xaa, 0x02, 0x11, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x54, 0x79,
0x70, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x11, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66,
0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1d, 0x43, 0x6f, 0x6d,
0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47,
0x70, 0x65, 0x73, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x11, 0x43, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66,
0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x1d, 0x43, 0x6f, 0x6d,
0x65, 0x74, 0x62, 0x66, 0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x32, 0x5c, 0x47,
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x43, 0x6f, 0x6d,
0x65, 0x74, 0x62, 0x66, 0x74, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31,
0x65, 0x74, 0x62, 0x66, 0x74, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x32,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cometbft_types_v1_validator_proto_rawDescOnce sync.Once
file_cometbft_types_v1_validator_proto_rawDescData = file_cometbft_types_v1_validator_proto_rawDesc
file_cometbft_types_v2_validator_proto_rawDescOnce sync.Once
file_cometbft_types_v2_validator_proto_rawDescData = file_cometbft_types_v2_validator_proto_rawDesc
)
func file_cometbft_types_v1_validator_proto_rawDescGZIP() []byte {
file_cometbft_types_v1_validator_proto_rawDescOnce.Do(func() {
file_cometbft_types_v1_validator_proto_rawDescData = protoimpl.X.CompressGZIP(file_cometbft_types_v1_validator_proto_rawDescData)
func file_cometbft_types_v2_validator_proto_rawDescGZIP() []byte {
file_cometbft_types_v2_validator_proto_rawDescOnce.Do(func() {
file_cometbft_types_v2_validator_proto_rawDescData = protoimpl.X.CompressGZIP(file_cometbft_types_v2_validator_proto_rawDescData)
})
return file_cometbft_types_v1_validator_proto_rawDescData
return file_cometbft_types_v2_validator_proto_rawDescData
}
var file_cometbft_types_v1_validator_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_cometbft_types_v1_validator_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_cometbft_types_v1_validator_proto_goTypes = []interface{}{
(BlockIDFlag)(0), // 0: cometbft.types.v1.BlockIDFlag
(*ValidatorSet)(nil), // 1: cometbft.types.v1.ValidatorSet
(*Validator)(nil), // 2: cometbft.types.v1.Validator
(*SimpleValidator)(nil), // 3: cometbft.types.v1.SimpleValidator
var file_cometbft_types_v2_validator_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_cometbft_types_v2_validator_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_cometbft_types_v2_validator_proto_goTypes = []interface{}{
(BlockIDFlag)(0), // 0: cometbft.types.v2.BlockIDFlag
(*ValidatorSet)(nil), // 1: cometbft.types.v2.ValidatorSet
(*Validator)(nil), // 2: cometbft.types.v2.Validator
(*SimpleValidator)(nil), // 3: cometbft.types.v2.SimpleValidator
(*v1.PublicKey)(nil), // 4: cometbft.crypto.v1.PublicKey
}
var file_cometbft_types_v1_validator_proto_depIdxs = []int32{
2, // 0: cometbft.types.v1.ValidatorSet.validators:type_name -> cometbft.types.v1.Validator
2, // 1: cometbft.types.v1.ValidatorSet.proposer:type_name -> cometbft.types.v1.Validator
4, // 2: cometbft.types.v1.Validator.pub_key:type_name -> cometbft.crypto.v1.PublicKey
4, // 3: cometbft.types.v1.SimpleValidator.pub_key:type_name -> cometbft.crypto.v1.PublicKey
var file_cometbft_types_v2_validator_proto_depIdxs = []int32{
2, // 0: cometbft.types.v2.ValidatorSet.validators:type_name -> cometbft.types.v2.Validator
2, // 1: cometbft.types.v2.ValidatorSet.proposer:type_name -> cometbft.types.v2.Validator
4, // 2: cometbft.types.v2.Validator.pub_key:type_name -> cometbft.crypto.v1.PublicKey
4, // 3: cometbft.types.v2.SimpleValidator.pub_key:type_name -> cometbft.crypto.v1.PublicKey
4, // [4:4] is the sub-list for method output_type
4, // [4:4] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
@@ -2196,13 +2196,13 @@ var file_cometbft_types_v1_validator_proto_depIdxs = []int32{
0, // [0:4] is the sub-list for field type_name
}
func init() { file_cometbft_types_v1_validator_proto_init() }
func file_cometbft_types_v1_validator_proto_init() {
if File_cometbft_types_v1_validator_proto != nil {
func init() { file_cometbft_types_v2_validator_proto_init() }
func file_cometbft_types_v2_validator_proto_init() {
if File_cometbft_types_v2_validator_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_cometbft_types_v1_validator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_cometbft_types_v2_validator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ValidatorSet); i {
case 0:
return &v.state
@@ -2214,7 +2214,7 @@ func file_cometbft_types_v1_validator_proto_init() {
return nil
}
}
file_cometbft_types_v1_validator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_cometbft_types_v2_validator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Validator); i {
case 0:
return &v.state
@@ -2226,7 +2226,7 @@ func file_cometbft_types_v1_validator_proto_init() {
return nil
}
}
file_cometbft_types_v1_validator_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_cometbft_types_v2_validator_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SimpleValidator); i {
case 0:
return &v.state
@@ -2243,19 +2243,19 @@ func file_cometbft_types_v1_validator_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cometbft_types_v1_validator_proto_rawDesc,
RawDescriptor: file_cometbft_types_v2_validator_proto_rawDesc,
NumEnums: 1,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cometbft_types_v1_validator_proto_goTypes,
DependencyIndexes: file_cometbft_types_v1_validator_proto_depIdxs,
EnumInfos: file_cometbft_types_v1_validator_proto_enumTypes,
MessageInfos: file_cometbft_types_v1_validator_proto_msgTypes,
GoTypes: file_cometbft_types_v2_validator_proto_goTypes,
DependencyIndexes: file_cometbft_types_v2_validator_proto_depIdxs,
EnumInfos: file_cometbft_types_v2_validator_proto_enumTypes,
MessageInfos: file_cometbft_types_v2_validator_proto_msgTypes,
}.Build()
File_cometbft_types_v1_validator_proto = out.File
file_cometbft_types_v1_validator_proto_rawDesc = nil
file_cometbft_types_v1_validator_proto_goTypes = nil
file_cometbft_types_v1_validator_proto_depIdxs = nil
File_cometbft_types_v2_validator_proto = out.File
file_cometbft_types_v2_validator_proto_rawDesc = nil
file_cometbft_types_v2_validator_proto_goTypes = nil
file_cometbft_types_v2_validator_proto_depIdxs = nil
}