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