From 5b5c3572fa3aba4c4af493320369dc5bac17ade1 Mon Sep 17 00:00:00 2001 From: Achilleas Kalantzis Date: Thu, 8 Jun 2023 16:58:47 +0300 Subject: [PATCH 1/2] chore: add cometbft dep --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 18a875d0..09c276ef 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ gen: gen-client gen-client: copy-proto @for dir in $(PROTO_DIRS); do \ mkdir -p ./pyinjective/$${dir}; \ - python3.10 -m grpc_tools.protoc \ + python3 -m grpc_tools.protoc \ -I proto \ --python_out=./pyinjective/proto \ --grpc_python_out=./pyinjective/proto \ @@ -21,7 +21,7 @@ copy-proto: mkdir -p proto/exchange buf export buf.build/cosmos/cosmos-sdk:v0.47.0 --output=third_party buf export https://github.com/cosmos/ibc-go.git --exclude-imports --output=third_party - buf export https://github.com/tendermint/tendermint.git --exclude-imports --output=third_party + buf export https://github.com/cometbft/cometbft.git --exclude-imports --output=third_party buf export https://github.com/CosmWasm/wasmd.git --exclude-imports --output=./third_party buf export https://github.com/cosmos/ics23.git --exclude-imports --output=./third_party From 54a3e777273b45fc539fb04b63e0e60a1e824c18 Mon Sep 17 00:00:00 2001 From: Achilleas Kalantzis Date: Thu, 8 Jun 2023 17:05:42 +0300 Subject: [PATCH 2/2] chore: re-gen --- .../base/store/v1beta1/commit_info_pb2.py | 37 --- .../store/v1beta1/commit_info_pb2_grpc.py | 4 - .../base/store/v1beta1/listening_pb2.py | 31 -- .../base/store/v1beta1/listening_pb2_grpc.py | 4 - .../proto/ibc/applications/fee/v1/tx_pb2.py | 49 +-- .../controller/v1/tx_pb2.py | 29 +- .../interchain_accounts/host/v1/tx_pb2.py | 19 +- .../ibc/applications/transfer/v1/tx_pb2.py | 29 +- .../proto/ibc/core/channel/v1/tx_pb2.py | 113 +++---- .../proto/ibc/core/client/v1/tx_pb2.py | 62 ++-- .../proto/ibc/core/client/v1/tx_pb2_grpc.py | 14 +- .../proto/ibc/core/connection/v1/tx_pb2.py | 57 ++-- .../ibc/core/connection/v1/tx_pb2_grpc.py | 35 +++ .../proto/tendermint/abci/types_pb2.py | 266 ++++++++-------- .../proto/tendermint/abci/types_pb2_grpc.py | 283 ++++++++++-------- .../proto/tendermint/blockchain/types_pb2.py | 37 --- .../proto/tendermint/blocksync/types_pb2.py | 38 +++ .../types_pb2_grpc.py | 0 .../proto/tendermint/consensus/types_pb2.py | 4 +- .../proto/tendermint/consensus/wal_pb2.py | 4 +- .../proto/tendermint/crypto/keys_pb2.py | 4 +- .../proto/tendermint/crypto/proof_pb2.py | 4 +- .../proto/tendermint/libs/bits/types_pb2.py | 4 +- .../proto/tendermint/mempool/types_pb2.py | 4 +- pyinjective/proto/tendermint/p2p/conn_pb2.py | 4 +- pyinjective/proto/tendermint/p2p/pex_pb2.py | 4 +- pyinjective/proto/tendermint/p2p/types_pb2.py | 4 +- .../proto/tendermint/privval/types_pb2.py | 4 +- .../proto/tendermint/rpc/grpc/types_pb2.py | 35 --- .../tendermint/rpc/grpc/types_pb2_grpc.py | 108 ------- .../proto/tendermint/state/types_pb2.py | 38 ++- .../proto/tendermint/statesync/types_pb2.py | 4 +- .../proto/tendermint/store/types_pb2.py | 4 +- .../proto/tendermint/types/block_pb2.py | 4 +- .../proto/tendermint/types/canonical_pb2.py | 6 +- .../proto/tendermint/types/events_pb2.py | 4 +- .../proto/tendermint/types/evidence_pb2.py | 4 +- .../proto/tendermint/types/params_pb2.py | 36 +-- .../proto/tendermint/types/types_pb2.py | 60 ++-- .../proto/tendermint/types/validator_pb2.py | 16 +- .../proto/tendermint/version/types_pb2.py | 4 +- 41 files changed, 696 insertions(+), 774 deletions(-) delete mode 100644 pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/blockchain/types_pb2.py create mode 100644 pyinjective/proto/tendermint/blocksync/types_pb2.py rename pyinjective/proto/tendermint/{blockchain => blocksync}/types_pb2_grpc.py (100%) delete mode 100644 pyinjective/proto/tendermint/rpc/grpc/types_pb2.py delete mode 100644 pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py diff --git a/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py b/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py deleted file mode 100644 index f1f24eb7..00000000 --- a/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/base/store/v1beta1/commit_info.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+cosmos/base/store/v1beta1/commit_info.proto\x12\x19\x63osmos.base.store.v1beta1\x1a\x14gogoproto/gogo.proto\"^\n\nCommitInfo\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12?\n\x0bstore_infos\x18\x02 \x03(\x0b\x32$.cosmos.base.store.v1beta1.StoreInfoB\x04\xc8\xde\x1f\x00\"W\n\tStoreInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12<\n\tcommit_id\x18\x02 \x01(\x0b\x32#.cosmos.base.store.v1beta1.CommitIDB\x04\xc8\xde\x1f\x00\"/\n\x08\x43ommitID\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\x0c\n\x04hash\x18\x02 \x01(\x0c:\x04\x98\xa0\x1f\x00\x42*Z(github.com/cosmos/cosmos-sdk/store/typesb\x06proto3') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.store.v1beta1.commit_info_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/store/types' - _COMMITINFO.fields_by_name['store_infos']._options = None - _COMMITINFO.fields_by_name['store_infos']._serialized_options = b'\310\336\037\000' - _STOREINFO.fields_by_name['commit_id']._options = None - _STOREINFO.fields_by_name['commit_id']._serialized_options = b'\310\336\037\000' - _COMMITID._options = None - _COMMITID._serialized_options = b'\230\240\037\000' - _COMMITINFO._serialized_start=96 - _COMMITINFO._serialized_end=190 - _STOREINFO._serialized_start=192 - _STOREINFO._serialized_end=279 - _COMMITID._serialized_start=281 - _COMMITID._serialized_end=328 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2_grpc.py b/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py b/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py deleted file mode 100644 index e25e423a..00000000 --- a/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/base/store/v1beta1/listening.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/base/store/v1beta1/listening.proto\x12\x19\x63osmos.base.store.v1beta1\x1a\x1btendermint/abci/types.proto\"L\n\x0bStoreKVPair\x12\x11\n\tstore_key\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65lete\x18\x02 \x01(\x08\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12\r\n\x05value\x18\x04 \x01(\x0c\"\x89\x04\n\rBlockMetadata\x12?\n\x13request_begin_block\x18\x01 \x01(\x0b\x32\".tendermint.abci.RequestBeginBlock\x12\x41\n\x14response_begin_block\x18\x02 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlock\x12G\n\x0b\x64\x65liver_txs\x18\x03 \x03(\x0b\x32\x32.cosmos.base.store.v1beta1.BlockMetadata.DeliverTx\x12;\n\x11request_end_block\x18\x04 \x01(\x0b\x32 .tendermint.abci.RequestEndBlock\x12=\n\x12response_end_block\x18\x05 \x01(\x0b\x32!.tendermint.abci.ResponseEndBlock\x12\x38\n\x0fresponse_commit\x18\x06 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommit\x1au\n\tDeliverTx\x12\x32\n\x07request\x18\x01 \x01(\x0b\x32!.tendermint.abci.RequestDeliverTx\x12\x34\n\x08response\x18\x02 \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTxB*Z(github.com/cosmos/cosmos-sdk/store/typesb\x06proto3') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.store.v1beta1.listening_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/store/types' - _STOREKVPAIR._serialized_start=101 - _STOREKVPAIR._serialized_end=177 - _BLOCKMETADATA._serialized_start=180 - _BLOCKMETADATA._serialized_end=701 - _BLOCKMETADATA_DELIVERTX._serialized_start=584 - _BLOCKMETADATA_DELIVERTX._serialized_end=701 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2_grpc.py b/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py index 774bcb40..cdb3e405 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -14,9 +14,10 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.applications.fee.v1 import fee_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_fee__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"a\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1a\n\x18MsgRegisterPayeeResponse\"z\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xa1\x01\n\x0fMsgPayPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x19\n\x17MsgPayPacketFeeResponse\"\x96\x01\n\x14MsgPayPacketFeeAsync\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12<\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xef\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponseB7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"m\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:\x14\x82\xe7\xb0*\x07relayer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1a\n\x18MsgRegisterPayeeResponse\"\x86\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:\x14\x82\xe7\xb0*\x07relayer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xac\x01\n\x0fMsgPayPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x19\n\x17MsgPayPacketFeeResponse\"\xb3\x01\n\x14MsgPayPacketFeeAsync\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12<\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00:%\x82\xe7\xb0*\x18packet_fee.refundaddress\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xf6\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.tx_pb2', globals()) @@ -25,35 +26,37 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' _MSGREGISTERPAYEE._options = None - _MSGREGISTERPAYEE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGREGISTERPAYEE._serialized_options = b'\202\347\260*\007relayer\350\240\037\000\210\240\037\000' _MSGREGISTERCOUNTERPARTYPAYEE._options = None - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\202\347\260*\007relayer\350\240\037\000\210\240\037\000' _MSGPAYPACKETFEE.fields_by_name['fee']._options = None _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEE._options = None - _MSGPAYPACKETFEE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGPAYPACKETFEE._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._options = None _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._options = None _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEEASYNC._options = None - _MSGPAYPACKETFEEASYNC._serialized_options = b'\350\240\037\000\210\240\037\000' - _MSGREGISTERPAYEE._serialized_start=153 - _MSGREGISTERPAYEE._serialized_end=250 - _MSGREGISTERPAYEERESPONSE._serialized_start=252 - _MSGREGISTERPAYEERESPONSE._serialized_end=278 - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_start=280 - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_end=402 - _MSGREGISTERCOUNTERPARTYPAYEERESPONSE._serialized_start=404 - _MSGREGISTERCOUNTERPARTYPAYEERESPONSE._serialized_end=442 - _MSGPAYPACKETFEE._serialized_start=445 - _MSGPAYPACKETFEE._serialized_end=606 - _MSGPAYPACKETFEERESPONSE._serialized_start=608 - _MSGPAYPACKETFEERESPONSE._serialized_end=633 - _MSGPAYPACKETFEEASYNC._serialized_start=636 - _MSGPAYPACKETFEEASYNC._serialized_end=786 - _MSGPAYPACKETFEEASYNCRESPONSE._serialized_start=788 - _MSGPAYPACKETFEEASYNCRESPONSE._serialized_end=818 - _MSG._serialized_start=821 - _MSG._serialized_end=1316 + _MSGPAYPACKETFEEASYNC._serialized_options = b'\202\347\260*\030packet_fee.refundaddress\350\240\037\000\210\240\037\000' + _MSG._options = None + _MSG._serialized_options = b'\200\347\260*\001' + _MSGREGISTERPAYEE._serialized_start=178 + _MSGREGISTERPAYEE._serialized_end=287 + _MSGREGISTERPAYEERESPONSE._serialized_start=289 + _MSGREGISTERPAYEERESPONSE._serialized_end=315 + _MSGREGISTERCOUNTERPARTYPAYEE._serialized_start=318 + _MSGREGISTERCOUNTERPARTYPAYEE._serialized_end=452 + _MSGREGISTERCOUNTERPARTYPAYEERESPONSE._serialized_start=454 + _MSGREGISTERCOUNTERPARTYPAYEERESPONSE._serialized_end=492 + _MSGPAYPACKETFEE._serialized_start=495 + _MSGPAYPACKETFEE._serialized_end=667 + _MSGPAYPACKETFEERESPONSE._serialized_start=669 + _MSGPAYPACKETFEERESPONSE._serialized_end=694 + _MSGPAYPACKETFEEASYNC._serialized_start=697 + _MSGPAYPACKETFEEASYNC._serialized_end=876 + _MSGPAYPACKETFEEASYNCRESPONSE._serialized_start=878 + _MSGPAYPACKETFEEASYNCRESPONSE._serialized_end=908 + _MSG._serialized_start=911 + _MSG._serialized_end=1413 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py index 6bcac861..32ca0fcf 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py @@ -13,9 +13,10 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.applications.interchain_accounts.v1 import packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\"_\n\x1cMsgRegisterInterchainAccount\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"K\n$MsgRegisterInterchainAccountResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\"\xb6\x01\n\tMsgSendTx\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12_\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00\x12\x18\n\x10relative_timeout\x18\x04 \x01(\x04:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"%\n\x11MsgSendTxResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x32\xe0\x02\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponseBRZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"i\n\x1cMsgRegisterInterchainAccount\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t:\x12\x82\xe7\xb0*\x05owner\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"K\n$MsgRegisterInterchainAccountResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\"\xc0\x01\n\tMsgSendTx\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12_\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00\x12\x18\n\x10relative_timeout\x18\x04 \x01(\x04:\x12\x82\xe7\xb0*\x05owner\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"%\n\x11MsgSendTxResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x32\xe7\x02\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x1a\x05\x80\xe7\xb0*\x01\x42RZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.tx_pb2', globals()) @@ -24,19 +25,21 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' _MSGREGISTERINTERCHAINACCOUNT._options = None - _MSGREGISTERINTERCHAINACCOUNT._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGREGISTERINTERCHAINACCOUNT._serialized_options = b'\202\347\260*\005owner\350\240\037\000\210\240\037\000' _MSGSENDTX.fields_by_name['packet_data']._options = None _MSGSENDTX.fields_by_name['packet_data']._serialized_options = b'\310\336\037\000' _MSGSENDTX._options = None - _MSGSENDTX._serialized_options = b'\350\240\037\000\210\240\037\000' - _MSGREGISTERINTERCHAINACCOUNT._serialized_start=191 - _MSGREGISTERINTERCHAINACCOUNT._serialized_end=286 - _MSGREGISTERINTERCHAINACCOUNTRESPONSE._serialized_start=288 - _MSGREGISTERINTERCHAINACCOUNTRESPONSE._serialized_end=363 - _MSGSENDTX._serialized_start=366 - _MSGSENDTX._serialized_end=548 - _MSGSENDTXRESPONSE._serialized_start=550 - _MSGSENDTXRESPONSE._serialized_end=587 - _MSG._serialized_start=590 - _MSG._serialized_end=942 + _MSGSENDTX._serialized_options = b'\202\347\260*\005owner\350\240\037\000\210\240\037\000' + _MSG._options = None + _MSG._serialized_options = b'\200\347\260*\001' + _MSGREGISTERINTERCHAINACCOUNT._serialized_start=216 + _MSGREGISTERINTERCHAINACCOUNT._serialized_end=321 + _MSGREGISTERINTERCHAINACCOUNTRESPONSE._serialized_start=323 + _MSGREGISTERINTERCHAINACCOUNTRESPONSE._serialized_end=398 + _MSGSENDTX._serialized_start=401 + _MSGSENDTX._serialized_end=593 + _MSGSENDTXRESPONSE._serialized_start=595 + _MSGSENDTXRESPONSE._serialized_end=632 + _MSG._serialized_start=635 + _MSG._serialized_end=994 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py index 30f7b6c4..4602e00a 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py @@ -12,10 +12,11 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"p\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12J\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00\"\x19\n\x17MsgUpdateParamsResponse2\x9c\x01\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponseBLZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x80\x01\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12J\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xa3\x01\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42LZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', globals()) @@ -25,10 +26,14 @@ DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._serialized_start=182 - _MSGUPDATEPARAMS._serialized_end=294 - _MSGUPDATEPARAMSRESPONSE._serialized_start=296 - _MSGUPDATEPARAMSRESPONSE._serialized_end=321 - _MSG._serialized_start=324 - _MSG._serialized_end=480 + _MSGUPDATEPARAMS._options = None + _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSG._options = None + _MSG._serialized_options = b'\200\347\260*\001' + _MSGUPDATEPARAMS._serialized_start=208 + _MSGUPDATEPARAMS._serialized_end=336 + _MSGUPDATEPARAMSRESPONSE._serialized_start=338 + _MSGUPDATEPARAMSRESPONSE._serialized_end=363 + _MSG._serialized_start=366 + _MSG._serialized_end=529 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index 9beecd8d..f50fd4f9 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -12,12 +12,13 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 from ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\xf9\x01\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12.\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12\x38\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\'\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\"`\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00\"\x19\n\x17MsgUpdateParamsResponse2\xe5\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponseB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\x84\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12.\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12\x38\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:\x13\x82\xe7\xb0*\x06sender\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\'\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\"p\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xec\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x39Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.tx_pb2', globals()) @@ -30,17 +31,21 @@ _MSGTRANSFER.fields_by_name['timeout_height']._options = None _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' _MSGTRANSFER._options = None - _MSGTRANSFER._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGTRANSFER._serialized_options = b'\202\347\260*\006sender\350\240\037\000\210\240\037\000' _MSGUPDATEPARAMS.fields_by_name['params']._options = None _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGTRANSFER._serialized_start=204 - _MSGTRANSFER._serialized_end=453 - _MSGTRANSFERRESPONSE._serialized_start=455 - _MSGTRANSFERRESPONSE._serialized_end=494 - _MSGUPDATEPARAMS._serialized_start=496 - _MSGUPDATEPARAMS._serialized_end=592 - _MSGUPDATEPARAMSRESPONSE._serialized_start=594 - _MSGUPDATEPARAMSRESPONSE._serialized_end=619 - _MSG._serialized_start=622 - _MSG._serialized_end=851 + _MSGUPDATEPARAMS._options = None + _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSG._options = None + _MSG._serialized_options = b'\200\347\260*\001' + _MSGTRANSFER._serialized_start=229 + _MSGTRANSFER._serialized_end=489 + _MSGTRANSFERRESPONSE._serialized_start=491 + _MSGTRANSFERRESPONSE._serialized_end=530 + _MSGUPDATEPARAMS._serialized_start=532 + _MSGUPDATEPARAMS._serialized_end=644 + _MSGUPDATEPARAMSRESPONSE._serialized_start=646 + _MSGUPDATEPARAMSRESPONSE._serialized_end=671 + _MSG._serialized_start=674 + _MSG._serialized_end=910 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py index 516a675e..402c8a05 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py @@ -14,9 +14,10 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\"t\n\x12MsgChannelOpenInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x33\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"A\n\x1aMsgChannelOpenInitResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"\xfe\x01\n\x11MsgChannelOpenTry\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x1f\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01\x12\x33\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x12\n\nproof_init\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"@\n\x19MsgChannelOpenTryResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\xdc\x01\n\x11MsgChannelOpenAck\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1f\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x11\n\tproof_try\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1b\n\x19MsgChannelOpenAckResponse\"\xa1\x01\n\x15MsgChannelOpenConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x11\n\tproof_ack\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"T\n\x13MsgChannelCloseInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xa3\x01\n\x16MsgChannelCloseConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x12\n\nproof_init\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\" \n\x1eMsgChannelCloseConfirmResponse\"\xae\x01\n\rMsgRecvPacket\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_commitment\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"V\n\x15MsgRecvPacketResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xc7\x01\n\nMsgTimeout\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x04 \x01(\x04\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"S\n\x12MsgTimeoutResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xe3\x01\n\x11MsgTimeoutOnClose\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_close\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x05 \x01(\x04\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"Z\n\x19MsgTimeoutOnCloseResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xc7\x01\n\x12MsgAcknowledgement\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_acked\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"[\n\x1aMsgAcknowledgementResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00*\xa9\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x1a\x04\x88\xa3\x1e\x00\x32\xaf\x08\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponseB;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\x7f\n\x12MsgChannelOpenInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x33\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"A\n\x1aMsgChannelOpenInitResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"\x89\x02\n\x11MsgChannelOpenTry\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x1f\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01\x12\x33\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x12\n\nproof_init\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"@\n\x19MsgChannelOpenTryResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\xe7\x01\n\x11MsgChannelOpenAck\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1f\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x11\n\tproof_try\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1b\n\x19MsgChannelOpenAckResponse\"\xac\x01\n\x15MsgChannelOpenConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x11\n\tproof_ack\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"_\n\x13MsgChannelCloseInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xae\x01\n\x16MsgChannelCloseConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x12\n\nproof_init\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\" \n\x1eMsgChannelCloseConfirmResponse\"\xb9\x01\n\rMsgRecvPacket\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_commitment\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"V\n\x15MsgRecvPacketResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xd2\x01\n\nMsgTimeout\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x04 \x01(\x04\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"S\n\x12MsgTimeoutResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xee\x01\n\x11MsgTimeoutOnClose\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_close\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x05 \x01(\x04\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"Z\n\x19MsgTimeoutOnCloseResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xd2\x01\n\x12MsgAcknowledgement\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_acked\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"[\n\x1aMsgAcknowledgementResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00*\xa9\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x1a\x04\x88\xa3\x1e\x00\x32\xb6\x08\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x1a\x05\x80\xe7\xb0*\x01\x42;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.tx_pb2', globals()) @@ -35,7 +36,7 @@ _MSGCHANNELOPENINIT.fields_by_name['channel']._options = None _MSGCHANNELOPENINIT.fields_by_name['channel']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENINIT._options = None - _MSGCHANNELOPENINIT._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCHANNELOPENINIT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._options = None _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._serialized_options = b'\030\001' _MSGCHANNELOPENTRY.fields_by_name['channel']._options = None @@ -43,27 +44,27 @@ _MSGCHANNELOPENTRY.fields_by_name['proof_height']._options = None _MSGCHANNELOPENTRY.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENTRY._options = None - _MSGCHANNELOPENTRY._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCHANNELOPENTRY._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGCHANNELOPENACK.fields_by_name['proof_height']._options = None _MSGCHANNELOPENACK.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENACK._options = None - _MSGCHANNELOPENACK._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCHANNELOPENACK._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._options = None _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENCONFIRM._options = None - _MSGCHANNELOPENCONFIRM._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCHANNELOPENCONFIRM._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGCHANNELCLOSEINIT._options = None - _MSGCHANNELCLOSEINIT._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCHANNELCLOSEINIT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._options = None _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGCHANNELCLOSECONFIRM._options = None - _MSGCHANNELCLOSECONFIRM._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCHANNELCLOSECONFIRM._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGRECVPACKET.fields_by_name['packet']._options = None _MSGRECVPACKET.fields_by_name['packet']._serialized_options = b'\310\336\037\000' _MSGRECVPACKET.fields_by_name['proof_height']._options = None _MSGRECVPACKET.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGRECVPACKET._options = None - _MSGRECVPACKET._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGRECVPACKET._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGRECVPACKETRESPONSE._options = None _MSGRECVPACKETRESPONSE._serialized_options = b'\210\240\037\000' _MSGTIMEOUT.fields_by_name['packet']._options = None @@ -71,7 +72,7 @@ _MSGTIMEOUT.fields_by_name['proof_height']._options = None _MSGTIMEOUT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGTIMEOUT._options = None - _MSGTIMEOUT._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGTIMEOUT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGTIMEOUTRESPONSE._options = None _MSGTIMEOUTRESPONSE._serialized_options = b'\210\240\037\000' _MSGTIMEOUTONCLOSE.fields_by_name['packet']._options = None @@ -79,7 +80,7 @@ _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._options = None _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGTIMEOUTONCLOSE._options = None - _MSGTIMEOUTONCLOSE._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGTIMEOUTONCLOSE._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGTIMEOUTONCLOSERESPONSE._options = None _MSGTIMEOUTONCLOSERESPONSE._serialized_options = b'\210\240\037\000' _MSGACKNOWLEDGEMENT.fields_by_name['packet']._options = None @@ -87,51 +88,53 @@ _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._options = None _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _MSGACKNOWLEDGEMENT._options = None - _MSGACKNOWLEDGEMENT._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGACKNOWLEDGEMENT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGACKNOWLEDGEMENTRESPONSE._options = None _MSGACKNOWLEDGEMENTRESPONSE._serialized_options = b'\210\240\037\000' - _RESPONSERESULTTYPE._serialized_start=2587 - _RESPONSERESULTTYPE._serialized_end=2756 - _MSGCHANNELOPENINIT._serialized_start=143 - _MSGCHANNELOPENINIT._serialized_end=259 - _MSGCHANNELOPENINITRESPONSE._serialized_start=261 - _MSGCHANNELOPENINITRESPONSE._serialized_end=326 - _MSGCHANNELOPENTRY._serialized_start=329 - _MSGCHANNELOPENTRY._serialized_end=583 - _MSGCHANNELOPENTRYRESPONSE._serialized_start=585 - _MSGCHANNELOPENTRYRESPONSE._serialized_end=649 - _MSGCHANNELOPENACK._serialized_start=652 - _MSGCHANNELOPENACK._serialized_end=872 - _MSGCHANNELOPENACKRESPONSE._serialized_start=874 - _MSGCHANNELOPENACKRESPONSE._serialized_end=901 - _MSGCHANNELOPENCONFIRM._serialized_start=904 - _MSGCHANNELOPENCONFIRM._serialized_end=1065 - _MSGCHANNELOPENCONFIRMRESPONSE._serialized_start=1067 - _MSGCHANNELOPENCONFIRMRESPONSE._serialized_end=1098 - _MSGCHANNELCLOSEINIT._serialized_start=1100 - _MSGCHANNELCLOSEINIT._serialized_end=1184 - _MSGCHANNELCLOSEINITRESPONSE._serialized_start=1186 - _MSGCHANNELCLOSEINITRESPONSE._serialized_end=1215 - _MSGCHANNELCLOSECONFIRM._serialized_start=1218 - _MSGCHANNELCLOSECONFIRM._serialized_end=1381 - _MSGCHANNELCLOSECONFIRMRESPONSE._serialized_start=1383 - _MSGCHANNELCLOSECONFIRMRESPONSE._serialized_end=1415 - _MSGRECVPACKET._serialized_start=1418 - _MSGRECVPACKET._serialized_end=1592 - _MSGRECVPACKETRESPONSE._serialized_start=1594 - _MSGRECVPACKETRESPONSE._serialized_end=1680 - _MSGTIMEOUT._serialized_start=1683 - _MSGTIMEOUT._serialized_end=1882 - _MSGTIMEOUTRESPONSE._serialized_start=1884 - _MSGTIMEOUTRESPONSE._serialized_end=1967 - _MSGTIMEOUTONCLOSE._serialized_start=1970 - _MSGTIMEOUTONCLOSE._serialized_end=2197 - _MSGTIMEOUTONCLOSERESPONSE._serialized_start=2199 - _MSGTIMEOUTONCLOSERESPONSE._serialized_end=2289 - _MSGACKNOWLEDGEMENT._serialized_start=2292 - _MSGACKNOWLEDGEMENT._serialized_end=2491 - _MSGACKNOWLEDGEMENTRESPONSE._serialized_start=2493 - _MSGACKNOWLEDGEMENTRESPONSE._serialized_end=2584 - _MSG._serialized_start=2759 - _MSG._serialized_end=3830 + _MSG._options = None + _MSG._serialized_options = b'\200\347\260*\001' + _RESPONSERESULTTYPE._serialized_start=2722 + _RESPONSERESULTTYPE._serialized_end=2891 + _MSGCHANNELOPENINIT._serialized_start=168 + _MSGCHANNELOPENINIT._serialized_end=295 + _MSGCHANNELOPENINITRESPONSE._serialized_start=297 + _MSGCHANNELOPENINITRESPONSE._serialized_end=362 + _MSGCHANNELOPENTRY._serialized_start=365 + _MSGCHANNELOPENTRY._serialized_end=630 + _MSGCHANNELOPENTRYRESPONSE._serialized_start=632 + _MSGCHANNELOPENTRYRESPONSE._serialized_end=696 + _MSGCHANNELOPENACK._serialized_start=699 + _MSGCHANNELOPENACK._serialized_end=930 + _MSGCHANNELOPENACKRESPONSE._serialized_start=932 + _MSGCHANNELOPENACKRESPONSE._serialized_end=959 + _MSGCHANNELOPENCONFIRM._serialized_start=962 + _MSGCHANNELOPENCONFIRM._serialized_end=1134 + _MSGCHANNELOPENCONFIRMRESPONSE._serialized_start=1136 + _MSGCHANNELOPENCONFIRMRESPONSE._serialized_end=1167 + _MSGCHANNELCLOSEINIT._serialized_start=1169 + _MSGCHANNELCLOSEINIT._serialized_end=1264 + _MSGCHANNELCLOSEINITRESPONSE._serialized_start=1266 + _MSGCHANNELCLOSEINITRESPONSE._serialized_end=1295 + _MSGCHANNELCLOSECONFIRM._serialized_start=1298 + _MSGCHANNELCLOSECONFIRM._serialized_end=1472 + _MSGCHANNELCLOSECONFIRMRESPONSE._serialized_start=1474 + _MSGCHANNELCLOSECONFIRMRESPONSE._serialized_end=1506 + _MSGRECVPACKET._serialized_start=1509 + _MSGRECVPACKET._serialized_end=1694 + _MSGRECVPACKETRESPONSE._serialized_start=1696 + _MSGRECVPACKETRESPONSE._serialized_end=1782 + _MSGTIMEOUT._serialized_start=1785 + _MSGTIMEOUT._serialized_end=1995 + _MSGTIMEOUTRESPONSE._serialized_start=1997 + _MSGTIMEOUTRESPONSE._serialized_end=2080 + _MSGTIMEOUTONCLOSE._serialized_start=2083 + _MSGTIMEOUTONCLOSE._serialized_end=2321 + _MSGTIMEOUTONCLOSERESPONSE._serialized_start=2323 + _MSGTIMEOUTONCLOSERESPONSE._serialized_end=2413 + _MSGACKNOWLEDGEMENT._serialized_start=2416 + _MSGACKNOWLEDGEMENT._serialized_end=2626 + _MSGACKNOWLEDGEMENTRESPONSE._serialized_start=2628 + _MSGACKNOWLEDGEMENTRESPONSE._serialized_end=2719 + _MSG._serialized_start=2894 + _MSG._serialized_end=3972 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index 9d397796..25706688 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -17,7 +17,7 @@ from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\x86\x01\n\x0fMsgCreateClient\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x19\n\x17MsgCreateClientResponse\"l\n\x0fMsgUpdateClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x19\n\x17MsgUpdateClientResponse\"\xdf\x01\n\x10MsgUpgradeClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1c\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x12%\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1a\n\x18MsgUpgradeClientResponse\"|\n\x15MsgSubmitMisbehaviour\x12\x15\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01\x12.\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01\x12\x12\n\x06signer\x18\x03 \x01(\tB\x02\x18\x01:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"l\n\x15MsgUpdateClientParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x1f\n\x1dMsgUpdateClientParamsResponse2\x96\x04\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponse\x12r\n\x12UpdateClientParams\x12).ibc.core.client.v1.MsgUpdateClientParams\x1a\x31.ibc.core.client.v1.MsgUpdateClientParamsResponseB:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\x91\x01\n\x0fMsgCreateClient\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x19\n\x17MsgCreateClientResponse\"w\n\x0fMsgUpdateClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x19\n\x17MsgUpdateClientResponse\"\xea\x01\n\x10MsgUpgradeClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1c\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x12%\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1a\n\x18MsgUpgradeClientResponse\"\x87\x01\n\x15MsgSubmitMisbehaviour\x12\x15\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01\x12.\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01\x12\x12\n\x06signer\x18\x03 \x01(\tB\x02\x18\x01:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"f\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\x91\x04\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponse\x12\x66\n\x12UpdateClientParams\x12#.ibc.core.client.v1.MsgUpdateParams\x1a+.ibc.core.client.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.tx_pb2', globals()) @@ -26,11 +26,11 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' _MSGCREATECLIENT._options = None - _MSGCREATECLIENT._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGCREATECLIENT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGUPDATECLIENT._options = None - _MSGUPDATECLIENT._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGUPDATECLIENT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGUPGRADECLIENT._options = None - _MSGUPGRADECLIENT._serialized_options = b'\350\240\037\000\210\240\037\000' + _MSGUPGRADECLIENT._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' _MSGSUBMITMISBEHAVIOUR.fields_by_name['client_id']._options = None _MSGSUBMITMISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\030\001' _MSGSUBMITMISBEHAVIOUR.fields_by_name['misbehaviour']._options = None @@ -38,31 +38,33 @@ _MSGSUBMITMISBEHAVIOUR.fields_by_name['signer']._options = None _MSGSUBMITMISBEHAVIOUR.fields_by_name['signer']._serialized_options = b'\030\001' _MSGSUBMITMISBEHAVIOUR._options = None - _MSGSUBMITMISBEHAVIOUR._serialized_options = b'\350\240\037\000\210\240\037\000' - _MSGUPDATECLIENTPARAMS.fields_by_name['params']._options = None - _MSGUPDATECLIENTPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATECLIENTPARAMS._options = None - _MSGUPDATECLIENTPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSGSUBMITMISBEHAVIOUR._serialized_options = b'\202\347\260*\006signer\350\240\037\000\210\240\037\000' + _MSGUPDATEPARAMS.fields_by_name['params']._options = None + _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _MSGUPDATEPARAMS._options = None + _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSG._options = None + _MSG._serialized_options = b'\200\347\260*\001' _MSGCREATECLIENT._serialized_start=159 - _MSGCREATECLIENT._serialized_end=293 - _MSGCREATECLIENTRESPONSE._serialized_start=295 - _MSGCREATECLIENTRESPONSE._serialized_end=320 - _MSGUPDATECLIENT._serialized_start=322 - _MSGUPDATECLIENT._serialized_end=430 - _MSGUPDATECLIENTRESPONSE._serialized_start=432 - _MSGUPDATECLIENTRESPONSE._serialized_end=457 - _MSGUPGRADECLIENT._serialized_start=460 - _MSGUPGRADECLIENT._serialized_end=683 - _MSGUPGRADECLIENTRESPONSE._serialized_start=685 - _MSGUPGRADECLIENTRESPONSE._serialized_end=711 - _MSGSUBMITMISBEHAVIOUR._serialized_start=713 - _MSGSUBMITMISBEHAVIOUR._serialized_end=837 - _MSGSUBMITMISBEHAVIOURRESPONSE._serialized_start=839 - _MSGSUBMITMISBEHAVIOURRESPONSE._serialized_end=870 - _MSGUPDATECLIENTPARAMS._serialized_start=872 - _MSGUPDATECLIENTPARAMS._serialized_end=980 - _MSGUPDATECLIENTPARAMSRESPONSE._serialized_start=982 - _MSGUPDATECLIENTPARAMSRESPONSE._serialized_end=1013 - _MSG._serialized_start=1016 - _MSG._serialized_end=1550 + _MSGCREATECLIENT._serialized_end=304 + _MSGCREATECLIENTRESPONSE._serialized_start=306 + _MSGCREATECLIENTRESPONSE._serialized_end=331 + _MSGUPDATECLIENT._serialized_start=333 + _MSGUPDATECLIENT._serialized_end=452 + _MSGUPDATECLIENTRESPONSE._serialized_start=454 + _MSGUPDATECLIENTRESPONSE._serialized_end=479 + _MSGUPGRADECLIENT._serialized_start=482 + _MSGUPGRADECLIENT._serialized_end=716 + _MSGUPGRADECLIENTRESPONSE._serialized_start=718 + _MSGUPGRADECLIENTRESPONSE._serialized_end=744 + _MSGSUBMITMISBEHAVIOUR._serialized_start=747 + _MSGSUBMITMISBEHAVIOUR._serialized_end=882 + _MSGSUBMITMISBEHAVIOURRESPONSE._serialized_start=884 + _MSGSUBMITMISBEHAVIOURRESPONSE._serialized_end=915 + _MSGUPDATEPARAMS._serialized_start=917 + _MSGUPDATEPARAMS._serialized_end=1019 + _MSGUPDATEPARAMSRESPONSE._serialized_start=1021 + _MSGUPDATEPARAMSRESPONSE._serialized_end=1046 + _MSG._serialized_start=1049 + _MSG._serialized_end=1578 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py index 368e9884..631f6b89 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py @@ -37,8 +37,8 @@ def __init__(self, channel): ) self.UpdateClientParams = channel.unary_unary( '/ibc.core.client.v1.Msg/UpdateClientParams', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientParams.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientParamsResponse.FromString, + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, ) @@ -75,7 +75,7 @@ def SubmitMisbehaviour(self, request, context): raise NotImplementedError('Method not implemented!') def UpdateClientParams(self, request, context): - """UpdateClientParams defines a rpc handler method for MsgUpdateClientParams. + """UpdateClientParams defines a rpc handler method for MsgUpdateParams. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -106,8 +106,8 @@ def add_MsgServicer_to_server(servicer, server): ), 'UpdateClientParams': grpc.unary_unary_rpc_method_handler( servicer.UpdateClientParams, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientParams.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientParamsResponse.SerializeToString, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -200,7 +200,7 @@ def UpdateClientParams(request, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/ibc.core.client.v1.Msg/UpdateClientParams', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientParams.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientParamsResponse.FromString, + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/core/connection/v1/tx_pb2.py b/pyinjective/proto/ibc/core/connection/v1/tx_pb2.py index 9f59bc41..20bf4df6 100644 --- a/pyinjective/proto/ibc/core/connection/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/connection/v1/tx_pb2.py @@ -12,12 +12,13 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 from ibc.core.connection.v1 import connection_pb2 as ibc_dot_core_dot_connection_dot_v1_dot_connection__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/connection/v1/tx.proto\x12\x16ibc.core.connection.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/connection/v1/connection.proto\"\xce\x01\n\x15MsgConnectionOpenInit\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12@\n\x0c\x63ounterparty\x18\x02 \x01(\x0b\x32$.ibc.core.connection.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x30\n\x07version\x18\x03 \x01(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12\x14\n\x0c\x64\x65lay_period\x18\x04 \x01(\x04\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1f\n\x1dMsgConnectionOpenInitResponse\"\x86\x04\n\x14MsgConnectionOpenTry\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\"\n\x16previous_connection_id\x18\x02 \x01(\tB\x02\x18\x01\x12*\n\x0c\x63lient_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12@\n\x0c\x63ounterparty\x18\x04 \x01(\x0b\x32$.ibc.core.connection.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0c\x64\x65lay_period\x18\x05 \x01(\x04\x12>\n\x15\x63ounterparty_versions\x18\x06 \x03(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12\x36\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x12\n\nproof_init\x18\x08 \x01(\x0c\x12\x14\n\x0cproof_client\x18\t \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\n \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\x0b \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x0c \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\r \x01(\x0c:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgConnectionOpenTryResponse\"\xa3\x03\n\x14MsgConnectionOpenAck\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\"\n\x1a\x63ounterparty_connection_id\x18\x02 \x01(\t\x12\x30\n\x07version\x18\x03 \x01(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12*\n\x0c\x63lient_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x36\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\tproof_try\x18\x06 \x01(\x0c\x12\x14\n\x0cproof_client\x18\x07 \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\x08 \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\t \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\n \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\x0b \x01(\x0c:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgConnectionOpenAckResponse\"\x96\x01\n\x18MsgConnectionOpenConfirm\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x11\n\tproof_ack\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x08\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\"\n MsgConnectionOpenConfirmResponse2\xf9\x03\n\x03Msg\x12z\n\x12\x43onnectionOpenInit\x12-.ibc.core.connection.v1.MsgConnectionOpenInit\x1a\x35.ibc.core.connection.v1.MsgConnectionOpenInitResponse\x12w\n\x11\x43onnectionOpenTry\x12,.ibc.core.connection.v1.MsgConnectionOpenTry\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenTryResponse\x12w\n\x11\x43onnectionOpenAck\x12,.ibc.core.connection.v1.MsgConnectionOpenAck\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenAckResponse\x12\x83\x01\n\x15\x43onnectionOpenConfirm\x12\x30.ibc.core.connection.v1.MsgConnectionOpenConfirm\x1a\x38.ibc.core.connection.v1.MsgConnectionOpenConfirmResponseB>Z\n\x15\x63ounterparty_versions\x18\x06 \x03(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12\x36\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x12\n\nproof_init\x18\x08 \x01(\x0c\x12\x14\n\x0cproof_client\x18\t \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\n \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\x0b \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x0c \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\r \x01(\x0c:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgConnectionOpenTryResponse\"\xae\x03\n\x14MsgConnectionOpenAck\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\"\n\x1a\x63ounterparty_connection_id\x18\x02 \x01(\t\x12\x30\n\x07version\x18\x03 \x01(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12*\n\x0c\x63lient_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x36\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\tproof_try\x18\x06 \x01(\x0c\x12\x14\n\x0cproof_client\x18\x07 \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\x08 \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\t \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\n \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\x0b \x01(\x0c:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\x1e\n\x1cMsgConnectionOpenAckResponse\"\xa1\x01\n\x18MsgConnectionOpenConfirm\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x11\n\tproof_ack\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x13\x82\xe7\xb0*\x06signer\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\"\"\n MsgConnectionOpenConfirmResponse\"j\n\x0fMsgUpdateParams\x12\x11\n\tauthority\x18\x01 \x01(\t\x12\x34\n\x06params\x18\x02 \x01(\x0b\x32\x1e.ibc.core.connection.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse2\xf4\x04\n\x03Msg\x12z\n\x12\x43onnectionOpenInit\x12-.ibc.core.connection.v1.MsgConnectionOpenInit\x1a\x35.ibc.core.connection.v1.MsgConnectionOpenInitResponse\x12w\n\x11\x43onnectionOpenTry\x12,.ibc.core.connection.v1.MsgConnectionOpenTry\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenTryResponse\x12w\n\x11\x43onnectionOpenAck\x12,.ibc.core.connection.v1.MsgConnectionOpenAck\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenAckResponse\x12\x83\x01\n\x15\x43onnectionOpenConfirm\x12\x30.ibc.core.connection.v1.MsgConnectionOpenConfirm\x1a\x38.ibc.core.connection.v1.MsgConnectionOpenConfirmResponse\x12r\n\x16UpdateConnectionParams\x12\'.ibc.core.connection.v1.MsgUpdateParams\x1a/.ibc.core.connection.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42>Z\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xbc\x08\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x12\x44\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00\x12\x44\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00\x12:\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00\x12M\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00\x12@\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x05\x10\x06J\x04\x08\x08\x10\tJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0c\"\"\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0f\n\rResponseFlush\"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c\"\x9e\x01\n\x11ResponseInitChain\x12;\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c\"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t\"\x80\x02\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\tJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"3\n\x0eResponseCommit\x12\x15\n\rretain_height\x18\x03 \x01(\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot\"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result\"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05\"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t\"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05\"&\n\x17ResponsePrepareProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x99\x01\n\x17ResponseProcessProposal\x12G\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatus\"5\n\x0eProposalStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\",\n\x12ResponseExtendVote\x12\x16\n\x0evote_extension\x18\x01 \x01(\x0c\"\x9d\x01\n\x1bResponseVerifyVoteExtension\x12I\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus\"3\n\x0cVerifyStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\"\xa5\x02\n\x15ResponseFinalizeBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x31\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x41\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12\x10\n\x08\x61pp_hash\x18\x05 \x01(\x0c\"K\n\nCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00\"[\n\x12\x45xtendedCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12\x36\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00\"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty\";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x08\"\xd6\x01\n\x0c\x45xecTxResult\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\"j\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x33\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00\"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03\"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03\"{\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x34\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xb8\x01\n\x10\x45xtendedVoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x16\n\x0evote_extension\x18\x03 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x04 \x01(\x0c\x12\x34\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xd2\x01\n\x0bMisbehavior\x12.\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03\"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*K\n\x0fMisbehaviorType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\x9d\x0b\n\x04\x41\x42\x43I\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a\".tendermint.abci.ResponseInitChain\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunk\x12\x64\n\x0fPrepareProposal\x12\'.tendermint.abci.RequestPrepareProposal\x1a(.tendermint.abci.ResponsePrepareProposal\x12\x64\n\x0fProcessProposal\x12\'.tendermint.abci.RequestProcessProposal\x1a(.tendermint.abci.ResponseProcessProposal\x12U\n\nExtendVote\x12\".tendermint.abci.RequestExtendVote\x1a#.tendermint.abci.ResponseExtendVote\x12p\n\x13VerifyVoteExtension\x12+.tendermint.abci.RequestVerifyVoteExtension\x1a,.tendermint.abci.ResponseVerifyVoteExtension\x12^\n\rFinalizeBlock\x12%.tendermint.abci.RequestFinalizeBlock\x1a&.tendermint.abci.ResponseFinalizeBlockB)Z\'github.com/cometbft/cometbft/abci/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.abci.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z+github.com/tendermint/tendermint/abci/types' + DESCRIPTOR._serialized_options = b'Z\'github.com/cometbft/cometbft/abci/types' _CHECKTXTYPE.values_by_name["NEW"]._options = None _CHECKTXTYPE.values_by_name["NEW"]._serialized_options = b'\212\235 \003New' _CHECKTXTYPE.values_by_name["RECHECK"]._options = None @@ -35,134 +35,158 @@ _REQUESTINITCHAIN.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' _REQUESTINITCHAIN.fields_by_name['validators']._options = None _REQUESTINITCHAIN.fields_by_name['validators']._serialized_options = b'\310\336\037\000' - _REQUESTBEGINBLOCK.fields_by_name['header']._options = None - _REQUESTBEGINBLOCK.fields_by_name['header']._serialized_options = b'\310\336\037\000' - _REQUESTBEGINBLOCK.fields_by_name['last_commit_info']._options = None - _REQUESTBEGINBLOCK.fields_by_name['last_commit_info']._serialized_options = b'\310\336\037\000' - _REQUESTBEGINBLOCK.fields_by_name['byzantine_validators']._options = None - _REQUESTBEGINBLOCK.fields_by_name['byzantine_validators']._serialized_options = b'\310\336\037\000' + _REQUESTPREPAREPROPOSAL.fields_by_name['local_last_commit']._options = None + _REQUESTPREPAREPROPOSAL.fields_by_name['local_last_commit']._serialized_options = b'\310\336\037\000' + _REQUESTPREPAREPROPOSAL.fields_by_name['misbehavior']._options = None + _REQUESTPREPAREPROPOSAL.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _REQUESTPREPAREPROPOSAL.fields_by_name['time']._options = None + _REQUESTPREPAREPROPOSAL.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _REQUESTPROCESSPROPOSAL.fields_by_name['proposed_last_commit']._options = None + _REQUESTPROCESSPROPOSAL.fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' + _REQUESTPROCESSPROPOSAL.fields_by_name['misbehavior']._options = None + _REQUESTPROCESSPROPOSAL.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _REQUESTPROCESSPROPOSAL.fields_by_name['time']._options = None + _REQUESTPROCESSPROPOSAL.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _REQUESTFINALIZEBLOCK.fields_by_name['decided_last_commit']._options = None + _REQUESTFINALIZEBLOCK.fields_by_name['decided_last_commit']._serialized_options = b'\310\336\037\000' + _REQUESTFINALIZEBLOCK.fields_by_name['misbehavior']._options = None + _REQUESTFINALIZEBLOCK.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _REQUESTFINALIZEBLOCK.fields_by_name['time']._options = None + _REQUESTFINALIZEBLOCK.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' _RESPONSEINITCHAIN.fields_by_name['validators']._options = None _RESPONSEINITCHAIN.fields_by_name['validators']._serialized_options = b'\310\336\037\000' - _RESPONSEBEGINBLOCK.fields_by_name['events']._options = None - _RESPONSEBEGINBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _RESPONSECHECKTX.fields_by_name['events']._options = None _RESPONSECHECKTX.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _RESPONSEDELIVERTX.fields_by_name['events']._options = None - _RESPONSEDELIVERTX.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _RESPONSEENDBLOCK.fields_by_name['validator_updates']._options = None - _RESPONSEENDBLOCK.fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' - _RESPONSEENDBLOCK.fields_by_name['events']._options = None - _RESPONSEENDBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _LASTCOMMITINFO.fields_by_name['votes']._options = None - _LASTCOMMITINFO.fields_by_name['votes']._serialized_options = b'\310\336\037\000' + _RESPONSEFINALIZEBLOCK.fields_by_name['events']._options = None + _RESPONSEFINALIZEBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _RESPONSEFINALIZEBLOCK.fields_by_name['validator_updates']._options = None + _RESPONSEFINALIZEBLOCK.fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _COMMITINFO.fields_by_name['votes']._options = None + _COMMITINFO.fields_by_name['votes']._serialized_options = b'\310\336\037\000' + _EXTENDEDCOMMITINFO.fields_by_name['votes']._options = None + _EXTENDEDCOMMITINFO.fields_by_name['votes']._serialized_options = b'\310\336\037\000' _EVENT.fields_by_name['attributes']._options = None _EVENT.fields_by_name['attributes']._serialized_options = b'\310\336\037\000\352\336\037\024attributes,omitempty' + _EXECTXRESULT.fields_by_name['events']._options = None + _EXECTXRESULT.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _TXRESULT.fields_by_name['result']._options = None _TXRESULT.fields_by_name['result']._serialized_options = b'\310\336\037\000' _VALIDATORUPDATE.fields_by_name['pub_key']._options = None _VALIDATORUPDATE.fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' _VOTEINFO.fields_by_name['validator']._options = None _VOTEINFO.fields_by_name['validator']._serialized_options = b'\310\336\037\000' - _EVIDENCE.fields_by_name['validator']._options = None - _EVIDENCE.fields_by_name['validator']._serialized_options = b'\310\336\037\000' - _EVIDENCE.fields_by_name['time']._options = None - _EVIDENCE.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _CHECKTXTYPE._serialized_start=6371 - _CHECKTXTYPE._serialized_end=6428 - _EVIDENCETYPE._serialized_start=6430 - _EVIDENCETYPE._serialized_end=6502 - _REQUEST._serialized_start=226 - _REQUEST._serialized_end=1100 - _REQUESTECHO._serialized_start=1102 - _REQUESTECHO._serialized_end=1132 - _REQUESTFLUSH._serialized_start=1134 - _REQUESTFLUSH._serialized_end=1148 - _REQUESTINFO._serialized_start=1150 - _REQUESTINFO._serialized_end=1224 - _REQUESTSETOPTION._serialized_start=1226 - _REQUESTSETOPTION._serialized_end=1272 - _REQUESTINITCHAIN._serialized_start=1275 - _REQUESTINITCHAIN._serialized_end=1532 - _REQUESTQUERY._serialized_start=1534 - _REQUESTQUERY._serialized_end=1607 - _REQUESTBEGINBLOCK._serialized_start=1610 - _REQUESTBEGINBLOCK._serialized_end=1819 - _REQUESTCHECKTX._serialized_start=1821 - _REQUESTCHECKTX._serialized_end=1893 - _REQUESTDELIVERTX._serialized_start=1895 - _REQUESTDELIVERTX._serialized_end=1925 - _REQUESTENDBLOCK._serialized_start=1927 - _REQUESTENDBLOCK._serialized_end=1960 - _REQUESTCOMMIT._serialized_start=1962 - _REQUESTCOMMIT._serialized_end=1977 - _REQUESTLISTSNAPSHOTS._serialized_start=1979 - _REQUESTLISTSNAPSHOTS._serialized_end=2001 - _REQUESTOFFERSNAPSHOT._serialized_start=2003 - _REQUESTOFFERSNAPSHOT._serialized_end=2088 - _REQUESTLOADSNAPSHOTCHUNK._serialized_start=2090 - _REQUESTLOADSNAPSHOTCHUNK._serialized_end=2163 - _REQUESTAPPLYSNAPSHOTCHUNK._serialized_start=2165 - _REQUESTAPPLYSNAPSHOTCHUNK._serialized_end=2238 - _RESPONSE._serialized_start=2241 - _RESPONSE._serialized_end=3188 - _RESPONSEEXCEPTION._serialized_start=3190 - _RESPONSEEXCEPTION._serialized_end=3224 - _RESPONSEECHO._serialized_start=3226 - _RESPONSEECHO._serialized_end=3257 - _RESPONSEFLUSH._serialized_start=3259 - _RESPONSEFLUSH._serialized_end=3274 - _RESPONSEINFO._serialized_start=3276 - _RESPONSEINFO._serialized_end=3398 - _RESPONSESETOPTION._serialized_start=3400 - _RESPONSESETOPTION._serialized_end=3460 - _RESPONSEINITCHAIN._serialized_start=3463 - _RESPONSEINITCHAIN._serialized_end=3620 - _RESPONSEQUERY._serialized_start=3623 - _RESPONSEQUERY._serialized_end=3805 - _RESPONSEBEGINBLOCK._serialized_start=3807 - _RESPONSEBEGINBLOCK._serialized_end=3893 - _RESPONSECHECKTX._serialized_start=3896 - _RESPONSECHECKTX._serialized_end=4170 - _RESPONSEDELIVERTX._serialized_start=4173 - _RESPONSEDELIVERTX._serialized_end=4392 - _RESPONSEENDBLOCK._serialized_start=4395 - _RESPONSEENDBLOCK._serialized_end=4613 - _RESPONSECOMMIT._serialized_start=4615 - _RESPONSECOMMIT._serialized_end=4668 - _RESPONSELISTSNAPSHOTS._serialized_start=4670 - _RESPONSELISTSNAPSHOTS._serialized_end=4739 - _RESPONSEOFFERSNAPSHOT._serialized_start=4742 - _RESPONSEOFFERSNAPSHOT._serialized_end=4924 - _RESPONSEOFFERSNAPSHOT_RESULT._serialized_start=4830 - _RESPONSEOFFERSNAPSHOT_RESULT._serialized_end=4924 - _RESPONSELOADSNAPSHOTCHUNK._serialized_start=4926 - _RESPONSELOADSNAPSHOTCHUNK._serialized_end=4968 - _RESPONSEAPPLYSNAPSHOTCHUNK._serialized_start=4971 - _RESPONSEAPPLYSNAPSHOTCHUNK._serialized_end=5213 - _RESPONSEAPPLYSNAPSHOTCHUNK_RESULT._serialized_start=5117 - _RESPONSEAPPLYSNAPSHOTCHUNK_RESULT._serialized_end=5213 - _CONSENSUSPARAMS._serialized_start=5216 - _CONSENSUSPARAMS._serialized_end=5434 - _BLOCKPARAMS._serialized_start=5436 - _BLOCKPARAMS._serialized_end=5485 - _LASTCOMMITINFO._serialized_start=5487 - _LASTCOMMITINFO._serialized_end=5566 - _EVENT._serialized_start=5568 - _EVENT._serialized_end=5672 - _EVENTATTRIBUTE._serialized_start=5674 - _EVENTATTRIBUTE._serialized_end=5733 - _TXRESULT._serialized_start=5735 - _TXRESULT._serialized_end=5846 - _VALIDATOR._serialized_start=5848 - _VALIDATOR._serialized_end=5891 - _VALIDATORUPDATE._serialized_start=5893 - _VALIDATORUPDATE._serialized_end=5978 - _VOTEINFO._serialized_start=5980 - _VOTEINFO._serialized_end=6070 - _EVIDENCE._serialized_start=6073 - _EVIDENCE._serialized_end=6277 - _SNAPSHOT._serialized_start=6279 - _SNAPSHOT._serialized_end=6369 - _ABCIAPPLICATION._serialized_start=6505 - _ABCIAPPLICATION._serialized_end=7788 + _EXTENDEDVOTEINFO.fields_by_name['validator']._options = None + _EXTENDEDVOTEINFO.fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _MISBEHAVIOR.fields_by_name['validator']._options = None + _MISBEHAVIOR.fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _MISBEHAVIOR.fields_by_name['time']._options = None + _MISBEHAVIOR.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _CHECKTXTYPE._serialized_start=7757 + _CHECKTXTYPE._serialized_end=7814 + _MISBEHAVIORTYPE._serialized_start=7816 + _MISBEHAVIORTYPE._serialized_end=7891 + _REQUEST._serialized_start=230 + _REQUEST._serialized_end=1240 + _REQUESTECHO._serialized_start=1242 + _REQUESTECHO._serialized_end=1272 + _REQUESTFLUSH._serialized_start=1274 + _REQUESTFLUSH._serialized_end=1288 + _REQUESTINFO._serialized_start=1290 + _REQUESTINFO._serialized_end=1386 + _REQUESTINITCHAIN._serialized_start=1389 + _REQUESTINITCHAIN._serialized_end=1647 + _REQUESTQUERY._serialized_start=1649 + _REQUESTQUERY._serialized_end=1722 + _REQUESTCHECKTX._serialized_start=1724 + _REQUESTCHECKTX._serialized_end=1796 + _REQUESTCOMMIT._serialized_start=1798 + _REQUESTCOMMIT._serialized_end=1813 + _REQUESTLISTSNAPSHOTS._serialized_start=1815 + _REQUESTLISTSNAPSHOTS._serialized_end=1837 + _REQUESTOFFERSNAPSHOT._serialized_start=1839 + _REQUESTOFFERSNAPSHOT._serialized_end=1924 + _REQUESTLOADSNAPSHOTCHUNK._serialized_start=1926 + _REQUESTLOADSNAPSHOTCHUNK._serialized_end=1999 + _REQUESTAPPLYSNAPSHOTCHUNK._serialized_start=2001 + _REQUESTAPPLYSNAPSHOTCHUNK._serialized_end=2074 + _REQUESTPREPAREPROPOSAL._serialized_start=2077 + _REQUESTPREPAREPROPOSAL._serialized_end=2387 + _REQUESTPROCESSPROPOSAL._serialized_start=2390 + _REQUESTPROCESSPROPOSAL._serialized_end=2687 + _REQUESTEXTENDVOTE._serialized_start=2689 + _REQUESTEXTENDVOTE._serialized_end=2738 + _REQUESTVERIFYVOTEEXTENSION._serialized_start=2740 + _REQUESTVERIFYVOTEEXTENSION._serialized_end=2849 + _REQUESTFINALIZEBLOCK._serialized_start=2852 + _REQUESTFINALIZEBLOCK._serialized_end=3146 + _RESPONSE._serialized_start=3149 + _RESPONSE._serialized_end=4233 + _RESPONSEEXCEPTION._serialized_start=4235 + _RESPONSEEXCEPTION._serialized_end=4269 + _RESPONSEECHO._serialized_start=4271 + _RESPONSEECHO._serialized_end=4302 + _RESPONSEFLUSH._serialized_start=4304 + _RESPONSEFLUSH._serialized_end=4319 + _RESPONSEINFO._serialized_start=4321 + _RESPONSEINFO._serialized_end=4443 + _RESPONSEINITCHAIN._serialized_start=4446 + _RESPONSEINITCHAIN._serialized_end=4604 + _RESPONSEQUERY._serialized_start=4607 + _RESPONSEQUERY._serialized_end=4789 + _RESPONSECHECKTX._serialized_start=4792 + _RESPONSECHECKTX._serialized_end=5048 + _RESPONSECOMMIT._serialized_start=5050 + _RESPONSECOMMIT._serialized_end=5101 + _RESPONSELISTSNAPSHOTS._serialized_start=5103 + _RESPONSELISTSNAPSHOTS._serialized_end=5172 + _RESPONSEOFFERSNAPSHOT._serialized_start=5175 + _RESPONSEOFFERSNAPSHOT._serialized_end=5357 + _RESPONSEOFFERSNAPSHOT_RESULT._serialized_start=5263 + _RESPONSEOFFERSNAPSHOT_RESULT._serialized_end=5357 + _RESPONSELOADSNAPSHOTCHUNK._serialized_start=5359 + _RESPONSELOADSNAPSHOTCHUNK._serialized_end=5401 + _RESPONSEAPPLYSNAPSHOTCHUNK._serialized_start=5404 + _RESPONSEAPPLYSNAPSHOTCHUNK._serialized_end=5646 + _RESPONSEAPPLYSNAPSHOTCHUNK_RESULT._serialized_start=5550 + _RESPONSEAPPLYSNAPSHOTCHUNK_RESULT._serialized_end=5646 + _RESPONSEPREPAREPROPOSAL._serialized_start=5648 + _RESPONSEPREPAREPROPOSAL._serialized_end=5686 + _RESPONSEPROCESSPROPOSAL._serialized_start=5689 + _RESPONSEPROCESSPROPOSAL._serialized_end=5842 + _RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS._serialized_start=5789 + _RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS._serialized_end=5842 + _RESPONSEEXTENDVOTE._serialized_start=5844 + _RESPONSEEXTENDVOTE._serialized_end=5888 + _RESPONSEVERIFYVOTEEXTENSION._serialized_start=5891 + _RESPONSEVERIFYVOTEEXTENSION._serialized_end=6048 + _RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS._serialized_start=5997 + _RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS._serialized_end=6048 + _RESPONSEFINALIZEBLOCK._serialized_start=6051 + _RESPONSEFINALIZEBLOCK._serialized_end=6344 + _COMMITINFO._serialized_start=6346 + _COMMITINFO._serialized_end=6421 + _EXTENDEDCOMMITINFO._serialized_start=6423 + _EXTENDEDCOMMITINFO._serialized_end=6514 + _EVENT._serialized_start=6516 + _EVENT._serialized_end=6620 + _EVENTATTRIBUTE._serialized_start=6622 + _EVENTATTRIBUTE._serialized_end=6681 + _EXECTXRESULT._serialized_start=6684 + _EXECTXRESULT._serialized_end=6898 + _TXRESULT._serialized_start=6900 + _TXRESULT._serialized_end=7006 + _VALIDATOR._serialized_start=7008 + _VALIDATOR._serialized_end=7051 + _VALIDATORUPDATE._serialized_start=7053 + _VALIDATORUPDATE._serialized_end=7138 + _VOTEINFO._serialized_start=7140 + _VOTEINFO._serialized_end=7263 + _EXTENDEDVOTEINFO._serialized_start=7266 + _EXTENDEDVOTEINFO._serialized_end=7450 + _MISBEHAVIOR._serialized_start=7453 + _MISBEHAVIOR._serialized_end=7663 + _SNAPSHOT._serialized_start=7665 + _SNAPSHOT._serialized_end=7755 + _ABCI._serialized_start=7894 + _ABCI._serialized_end=9331 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py index 593e5e32..788fb2bb 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py @@ -5,9 +5,9 @@ from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -class ABCIApplicationStub(object): - """---------------------------------------- - Service Definition +class ABCIStub(object): + """NOTE: When using custom types, mind the warnings. + https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues """ @@ -18,85 +18,90 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Echo = channel.unary_unary( - '/tendermint.abci.ABCIApplication/Echo', + '/tendermint.abci.ABCI/Echo', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, ) self.Flush = channel.unary_unary( - '/tendermint.abci.ABCIApplication/Flush', + '/tendermint.abci.ABCI/Flush', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, ) self.Info = channel.unary_unary( - '/tendermint.abci.ABCIApplication/Info', + '/tendermint.abci.ABCI/Info', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, ) - self.SetOption = channel.unary_unary( - '/tendermint.abci.ABCIApplication/SetOption', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestSetOption.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseSetOption.FromString, - ) - self.DeliverTx = channel.unary_unary( - '/tendermint.abci.ABCIApplication/DeliverTx', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestDeliverTx.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseDeliverTx.FromString, - ) self.CheckTx = channel.unary_unary( - '/tendermint.abci.ABCIApplication/CheckTx', + '/tendermint.abci.ABCI/CheckTx', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, ) self.Query = channel.unary_unary( - '/tendermint.abci.ABCIApplication/Query', + '/tendermint.abci.ABCI/Query', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, ) self.Commit = channel.unary_unary( - '/tendermint.abci.ABCIApplication/Commit', + '/tendermint.abci.ABCI/Commit', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, ) self.InitChain = channel.unary_unary( - '/tendermint.abci.ABCIApplication/InitChain', + '/tendermint.abci.ABCI/InitChain', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, ) - self.BeginBlock = channel.unary_unary( - '/tendermint.abci.ABCIApplication/BeginBlock', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestBeginBlock.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseBeginBlock.FromString, - ) - self.EndBlock = channel.unary_unary( - '/tendermint.abci.ABCIApplication/EndBlock', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEndBlock.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEndBlock.FromString, - ) self.ListSnapshots = channel.unary_unary( - '/tendermint.abci.ABCIApplication/ListSnapshots', + '/tendermint.abci.ABCI/ListSnapshots', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, ) self.OfferSnapshot = channel.unary_unary( - '/tendermint.abci.ABCIApplication/OfferSnapshot', + '/tendermint.abci.ABCI/OfferSnapshot', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, ) self.LoadSnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCIApplication/LoadSnapshotChunk', + '/tendermint.abci.ABCI/LoadSnapshotChunk', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, ) self.ApplySnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCIApplication/ApplySnapshotChunk', + '/tendermint.abci.ABCI/ApplySnapshotChunk', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, ) + self.PrepareProposal = channel.unary_unary( + '/tendermint.abci.ABCI/PrepareProposal', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, + ) + self.ProcessProposal = channel.unary_unary( + '/tendermint.abci.ABCI/ProcessProposal', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, + ) + self.ExtendVote = channel.unary_unary( + '/tendermint.abci.ABCI/ExtendVote', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, + ) + self.VerifyVoteExtension = channel.unary_unary( + '/tendermint.abci.ABCI/VerifyVoteExtension', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, + ) + self.FinalizeBlock = channel.unary_unary( + '/tendermint.abci.ABCI/FinalizeBlock', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, + ) -class ABCIApplicationServicer(object): - """---------------------------------------- - Service Definition +class ABCIServicer(object): + """NOTE: When using custom types, mind the warnings. + https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues """ @@ -118,80 +123,86 @@ def Info(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def SetOption(self, request, context): + def CheckTx(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def DeliverTx(self, request, context): + def Query(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def CheckTx(self, request, context): + def Commit(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Query(self, request, context): + def InitChain(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Commit(self, request, context): + def ListSnapshots(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def InitChain(self, request, context): + def OfferSnapshot(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def BeginBlock(self, request, context): + def LoadSnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def EndBlock(self, request, context): + def ApplySnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ListSnapshots(self, request, context): + def PrepareProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def OfferSnapshot(self, request, context): + def ProcessProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def LoadSnapshotChunk(self, request, context): + def ExtendVote(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ApplySnapshotChunk(self, request, context): + def VerifyVoteExtension(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def FinalizeBlock(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') -def add_ABCIApplicationServicer_to_server(servicer, server): + +def add_ABCIServicer_to_server(servicer, server): rpc_method_handlers = { 'Echo': grpc.unary_unary_rpc_method_handler( servicer.Echo, @@ -208,16 +219,6 @@ def add_ABCIApplicationServicer_to_server(servicer, server): request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.FromString, response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.SerializeToString, ), - 'SetOption': grpc.unary_unary_rpc_method_handler( - servicer.SetOption, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestSetOption.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseSetOption.SerializeToString, - ), - 'DeliverTx': grpc.unary_unary_rpc_method_handler( - servicer.DeliverTx, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestDeliverTx.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseDeliverTx.SerializeToString, - ), 'CheckTx': grpc.unary_unary_rpc_method_handler( servicer.CheckTx, request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.FromString, @@ -238,16 +239,6 @@ def add_ABCIApplicationServicer_to_server(servicer, server): request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.FromString, response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.SerializeToString, ), - 'BeginBlock': grpc.unary_unary_rpc_method_handler( - servicer.BeginBlock, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestBeginBlock.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseBeginBlock.SerializeToString, - ), - 'EndBlock': grpc.unary_unary_rpc_method_handler( - servicer.EndBlock, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestEndBlock.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseEndBlock.SerializeToString, - ), 'ListSnapshots': grpc.unary_unary_rpc_method_handler( servicer.ListSnapshots, request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.FromString, @@ -268,16 +259,41 @@ def add_ABCIApplicationServicer_to_server(servicer, server): request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.FromString, response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.SerializeToString, ), + 'PrepareProposal': grpc.unary_unary_rpc_method_handler( + servicer.PrepareProposal, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.SerializeToString, + ), + 'ProcessProposal': grpc.unary_unary_rpc_method_handler( + servicer.ProcessProposal, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.SerializeToString, + ), + 'ExtendVote': grpc.unary_unary_rpc_method_handler( + servicer.ExtendVote, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.SerializeToString, + ), + 'VerifyVoteExtension': grpc.unary_unary_rpc_method_handler( + servicer.VerifyVoteExtension, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.SerializeToString, + ), + 'FinalizeBlock': grpc.unary_unary_rpc_method_handler( + servicer.FinalizeBlock, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.abci.ABCIApplication', rpc_method_handlers) + 'tendermint.abci.ABCI', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) # This class is part of an EXPERIMENTAL API. -class ABCIApplication(object): - """---------------------------------------- - Service Definition +class ABCI(object): + """NOTE: When using custom types, mind the warnings. + https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues """ @@ -292,7 +308,7 @@ def Echo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Echo', + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Echo', tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, options, channel_credentials, @@ -309,7 +325,7 @@ def Flush(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Flush', + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Flush', tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, options, channel_credentials, @@ -326,14 +342,14 @@ def Info(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Info', + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Info', tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def SetOption(request, + def CheckTx(request, target, options=(), channel_credentials=None, @@ -343,14 +359,14 @@ def SetOption(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/SetOption', - tendermint_dot_abci_dot_types__pb2.RequestSetOption.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseSetOption.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/CheckTx', + tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeliverTx(request, + def Query(request, target, options=(), channel_credentials=None, @@ -360,14 +376,14 @@ def DeliverTx(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/DeliverTx', - tendermint_dot_abci_dot_types__pb2.RequestDeliverTx.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseDeliverTx.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Query', + tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def CheckTx(request, + def Commit(request, target, options=(), channel_credentials=None, @@ -377,14 +393,14 @@ def CheckTx(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/CheckTx', - tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Commit', + tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def Query(request, + def InitChain(request, target, options=(), channel_credentials=None, @@ -394,14 +410,14 @@ def Query(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Query', - tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/InitChain', + tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def Commit(request, + def ListSnapshots(request, target, options=(), channel_credentials=None, @@ -411,14 +427,14 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Commit', - tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ListSnapshots', + tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def InitChain(request, + def OfferSnapshot(request, target, options=(), channel_credentials=None, @@ -428,14 +444,31 @@ def InitChain(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/InitChain', - tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/OfferSnapshot', + tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def LoadSnapshotChunk(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/LoadSnapshotChunk', + tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def BeginBlock(request, + def ApplySnapshotChunk(request, target, options=(), channel_credentials=None, @@ -445,14 +478,14 @@ def BeginBlock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/BeginBlock', - tendermint_dot_abci_dot_types__pb2.RequestBeginBlock.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseBeginBlock.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ApplySnapshotChunk', + tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def EndBlock(request, + def PrepareProposal(request, target, options=(), channel_credentials=None, @@ -462,14 +495,14 @@ def EndBlock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/EndBlock', - tendermint_dot_abci_dot_types__pb2.RequestEndBlock.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseEndBlock.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/PrepareProposal', + tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListSnapshots(request, + def ProcessProposal(request, target, options=(), channel_credentials=None, @@ -479,14 +512,14 @@ def ListSnapshots(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/ListSnapshots', - tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ProcessProposal', + tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def OfferSnapshot(request, + def ExtendVote(request, target, options=(), channel_credentials=None, @@ -496,14 +529,14 @@ def OfferSnapshot(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/OfferSnapshot', - tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ExtendVote', + tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def LoadSnapshotChunk(request, + def VerifyVoteExtension(request, target, options=(), channel_credentials=None, @@ -513,14 +546,14 @@ def LoadSnapshotChunk(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/LoadSnapshotChunk', - tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/VerifyVoteExtension', + tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ApplySnapshotChunk(request, + def FinalizeBlock(request, target, options=(), channel_credentials=None, @@ -530,8 +563,8 @@ def ApplySnapshotChunk(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/ApplySnapshotChunk', - tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/FinalizeBlock', + tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/blockchain/types_pb2.py b/pyinjective/proto/tendermint/blockchain/types_pb2.py deleted file mode 100644 index a9ac3098..00000000 --- a/pyinjective/proto/tendermint/blockchain/types_pb2.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/blockchain/types.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!tendermint/blockchain/types.proto\x12\x15tendermint.blockchain\x1a\x1ctendermint/types/block.proto\"\x1e\n\x0c\x42lockRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"!\n\x0fNoBlockResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\"7\n\rBlockResponse\x12&\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x17.tendermint.types.Block\"\x0f\n\rStatusRequest\".\n\x0eStatusResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\x03\"\xd5\x02\n\x07Message\x12<\n\rblock_request\x18\x01 \x01(\x0b\x32#.tendermint.blockchain.BlockRequestH\x00\x12\x43\n\x11no_block_response\x18\x02 \x01(\x0b\x32&.tendermint.blockchain.NoBlockResponseH\x00\x12>\n\x0e\x62lock_response\x18\x03 \x01(\x0b\x32$.tendermint.blockchain.BlockResponseH\x00\x12>\n\x0estatus_request\x18\x04 \x01(\x0b\x32$.tendermint.blockchain.StatusRequestH\x00\x12@\n\x0fstatus_response\x18\x05 \x01(\x0b\x32%.tendermint.blockchain.StatusResponseH\x00\x42\x05\n\x03sumB>Z\n\x08Proposal\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\"u\n\x0bProposalPOL\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x12proposal_pol_round\x18\x02 \x01(\x05\x12:\n\x0cproposal_pol\x18\x03 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"V\n\tBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12*\n\x04part\x18\x03 \x01(\x0b\x32\x16.tendermint.types.PartB\x04\xc8\xde\x1f\x00\",\n\x04Vote\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\"f\n\x07HasVote\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\r\n\x05index\x18\x04 \x01(\x05\"\x9a\x01\n\x0cVoteSetMaj23\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\"\xce\x01\n\x0bVoteSetBits\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x33\n\x05votes\x18\x05 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"\x8d\x04\n\x07Message\x12<\n\x0enew_round_step\x18\x01 \x01(\x0b\x32\".tendermint.consensus.NewRoundStepH\x00\x12>\n\x0fnew_valid_block\x18\x02 \x01(\x0b\x32#.tendermint.consensus.NewValidBlockH\x00\x12\x32\n\x08proposal\x18\x03 \x01(\x0b\x32\x1e.tendermint.consensus.ProposalH\x00\x12\x39\n\x0cproposal_pol\x18\x04 \x01(\x0b\x32!.tendermint.consensus.ProposalPOLH\x00\x12\x35\n\nblock_part\x18\x05 \x01(\x0b\x32\x1f.tendermint.consensus.BlockPartH\x00\x12*\n\x04vote\x18\x06 \x01(\x0b\x32\x1a.tendermint.consensus.VoteH\x00\x12\x31\n\x08has_vote\x18\x07 \x01(\x0b\x32\x1d.tendermint.consensus.HasVoteH\x00\x12<\n\x0evote_set_maj23\x18\x08 \x01(\x0b\x32\".tendermint.consensus.VoteSetMaj23H\x00\x12:\n\rvote_set_bits\x18\t \x01(\x0b\x32!.tendermint.consensus.VoteSetBitsH\x00\x42\x05\n\x03sumB=Z;github.com/tendermint/tendermint/proto/tendermint/consensusb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/consensus/types.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/libs/bits/types.proto\"x\n\x0cNewRoundStep\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\r\x12 \n\x18seconds_since_start_time\x18\x04 \x01(\x03\x12\x19\n\x11last_commit_round\x18\x05 \x01(\x05\"\xbc\x01\n\rNewValidBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x44\n\x15\x62lock_part_set_header\x18\x03 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\x12\x33\n\x0b\x62lock_parts\x18\x04 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArray\x12\x11\n\tis_commit\x18\x05 \x01(\x08\">\n\x08Proposal\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\"u\n\x0bProposalPOL\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x12proposal_pol_round\x18\x02 \x01(\x05\x12:\n\x0cproposal_pol\x18\x03 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"V\n\tBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12*\n\x04part\x18\x03 \x01(\x0b\x32\x16.tendermint.types.PartB\x04\xc8\xde\x1f\x00\",\n\x04Vote\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\"f\n\x07HasVote\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\r\n\x05index\x18\x04 \x01(\x05\"\x9a\x01\n\x0cVoteSetMaj23\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\"\xce\x01\n\x0bVoteSetBits\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x33\n\x05votes\x18\x05 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"\x8d\x04\n\x07Message\x12<\n\x0enew_round_step\x18\x01 \x01(\x0b\x32\".tendermint.consensus.NewRoundStepH\x00\x12>\n\x0fnew_valid_block\x18\x02 \x01(\x0b\x32#.tendermint.consensus.NewValidBlockH\x00\x12\x32\n\x08proposal\x18\x03 \x01(\x0b\x32\x1e.tendermint.consensus.ProposalH\x00\x12\x39\n\x0cproposal_pol\x18\x04 \x01(\x0b\x32!.tendermint.consensus.ProposalPOLH\x00\x12\x35\n\nblock_part\x18\x05 \x01(\x0b\x32\x1f.tendermint.consensus.BlockPartH\x00\x12*\n\x04vote\x18\x06 \x01(\x0b\x32\x1a.tendermint.consensus.VoteH\x00\x12\x31\n\x08has_vote\x18\x07 \x01(\x0b\x32\x1d.tendermint.consensus.HasVoteH\x00\x12<\n\x0evote_set_maj23\x18\x08 \x01(\x0b\x32\".tendermint.consensus.VoteSetMaj23H\x00\x12:\n\rvote_set_bits\x18\t \x01(\x0b\x32!.tendermint.consensus.VoteSetBitsH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z;github.com/tendermint/tendermint/proto/tendermint/consensus' + DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/consensus' _NEWVALIDBLOCK.fields_by_name['block_part_set_header']._options = None _NEWVALIDBLOCK.fields_by_name['block_part_set_header']._serialized_options = b'\310\336\037\000' _PROPOSAL.fields_by_name['proposal']._options = None diff --git a/pyinjective/proto/tendermint/consensus/wal_pb2.py b/pyinjective/proto/tendermint/consensus/wal_pb2.py index 2f5a151d..7ea70775 100644 --- a/pyinjective/proto/tendermint/consensus/wal_pb2.py +++ b/pyinjective/proto/tendermint/consensus/wal_pb2.py @@ -18,14 +18,14 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/consensus/wal.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a tendermint/consensus/types.proto\x1a\x1dtendermint/types/events.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"X\n\x07MsgInfo\x12\x30\n\x03msg\x18\x01 \x01(\x0b\x32\x1d.tendermint.consensus.MessageB\x04\xc8\xde\x1f\x00\x12\x1b\n\x07peer_id\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06PeerID\"q\n\x0bTimeoutInfo\x12\x35\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x0c\n\x04step\x18\x04 \x01(\r\"\x1b\n\tEndHeight\x12\x0e\n\x06height\x18\x01 \x01(\x03\"\x81\x02\n\nWALMessage\x12G\n\x16\x65vent_data_round_state\x18\x01 \x01(\x0b\x32%.tendermint.types.EventDataRoundStateH\x00\x12\x31\n\x08msg_info\x18\x02 \x01(\x0b\x32\x1d.tendermint.consensus.MsgInfoH\x00\x12\x39\n\x0ctimeout_info\x18\x03 \x01(\x0b\x32!.tendermint.consensus.TimeoutInfoH\x00\x12\x35\n\nend_height\x18\x04 \x01(\x0b\x32\x1f.tendermint.consensus.EndHeightH\x00\x42\x05\n\x03sum\"t\n\x0fTimedWALMessage\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12-\n\x03msg\x18\x02 \x01(\x0b\x32 .tendermint.consensus.WALMessageB=Z;github.com/tendermint/tendermint/proto/tendermint/consensusb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/consensus/wal.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a tendermint/consensus/types.proto\x1a\x1dtendermint/types/events.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"X\n\x07MsgInfo\x12\x30\n\x03msg\x18\x01 \x01(\x0b\x32\x1d.tendermint.consensus.MessageB\x04\xc8\xde\x1f\x00\x12\x1b\n\x07peer_id\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06PeerID\"q\n\x0bTimeoutInfo\x12\x35\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x0c\n\x04step\x18\x04 \x01(\r\"\x1b\n\tEndHeight\x12\x0e\n\x06height\x18\x01 \x01(\x03\"\x81\x02\n\nWALMessage\x12G\n\x16\x65vent_data_round_state\x18\x01 \x01(\x0b\x32%.tendermint.types.EventDataRoundStateH\x00\x12\x31\n\x08msg_info\x18\x02 \x01(\x0b\x32\x1d.tendermint.consensus.MsgInfoH\x00\x12\x39\n\x0ctimeout_info\x18\x03 \x01(\x0b\x32!.tendermint.consensus.TimeoutInfoH\x00\x12\x35\n\nend_height\x18\x04 \x01(\x0b\x32\x1f.tendermint.consensus.EndHeightH\x00\x42\x05\n\x03sum\"t\n\x0fTimedWALMessage\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12-\n\x03msg\x18\x02 \x01(\x0b\x32 .tendermint.consensus.WALMessageB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.wal_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z;github.com/tendermint/tendermint/proto/tendermint/consensus' + DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/consensus' _MSGINFO.fields_by_name['msg']._options = None _MSGINFO.fields_by_name['msg']._serialized_options = b'\310\336\037\000' _MSGINFO.fields_by_name['peer_id']._options = None diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2.py b/pyinjective/proto/tendermint/crypto/keys_pb2.py index cc6ca40d..4b161781 100644 --- a/pyinjective/proto/tendermint/crypto/keys_pb2.py +++ b/pyinjective/proto/tendermint/crypto/keys_pb2.py @@ -14,14 +14,14 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"D\n\tPublicKey\x12\x11\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00\x12\x13\n\tsecp256k1\x18\x02 \x01(\x0cH\x00:\x08\xe8\xa1\x1f\x01\xe8\xa0\x1f\x01\x42\x05\n\x03sumB:Z8github.com/tendermint/tendermint/proto/tendermint/cryptob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"D\n\tPublicKey\x12\x11\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00\x12\x13\n\tsecp256k1\x18\x02 \x01(\x0cH\x00:\x08\xe8\xa1\x1f\x01\xe8\xa0\x1f\x01\x42\x05\n\x03sumB6Z4github.com/cometbft/cometbft/proto/tendermint/cryptob\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/tendermint/tendermint/proto/tendermint/crypto' + DESCRIPTOR._serialized_options = b'Z4github.com/cometbft/cometbft/proto/tendermint/crypto' _PUBLICKEY._options = None _PUBLICKEY._serialized_options = b'\350\241\037\001\350\240\037\001' _PUBLICKEY._serialized_start=73 diff --git a/pyinjective/proto/tendermint/crypto/proof_pb2.py b/pyinjective/proto/tendermint/crypto/proof_pb2.py index dda9cdd4..9f7320f2 100644 --- a/pyinjective/proto/tendermint/crypto/proof_pb2.py +++ b/pyinjective/proto/tendermint/crypto/proof_pb2.py @@ -14,14 +14,14 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"G\n\x05Proof\x12\r\n\x05total\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\x03\x12\x11\n\tleaf_hash\x18\x03 \x01(\x0c\x12\r\n\x05\x61unts\x18\x04 \x03(\x0c\"?\n\x07ValueOp\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\'\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.Proof\"6\n\x08\x44ominoOp\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05input\x18\x02 \x01(\t\x12\x0e\n\x06output\x18\x03 \x01(\t\"2\n\x07ProofOp\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"9\n\x08ProofOps\x12-\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00\x42:Z8github.com/tendermint/tendermint/proto/tendermint/cryptob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"G\n\x05Proof\x12\r\n\x05total\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\x03\x12\x11\n\tleaf_hash\x18\x03 \x01(\x0c\x12\r\n\x05\x61unts\x18\x04 \x03(\x0c\"?\n\x07ValueOp\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\'\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.Proof\"6\n\x08\x44ominoOp\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05input\x18\x02 \x01(\t\x12\x0e\n\x06output\x18\x03 \x01(\t\"2\n\x07ProofOp\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"9\n\x08ProofOps\x12-\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00\x42\x36Z4github.com/cometbft/cometbft/proto/tendermint/cryptob\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.proof_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/tendermint/tendermint/proto/tendermint/crypto' + DESCRIPTOR._serialized_options = b'Z4github.com/cometbft/cometbft/proto/tendermint/crypto' _PROOFOPS.fields_by_name['ops']._options = None _PROOFOPS.fields_by_name['ops']._serialized_options = b'\310\336\037\000' _PROOF._serialized_start=74 diff --git a/pyinjective/proto/tendermint/libs/bits/types_pb2.py b/pyinjective/proto/tendermint/libs/bits/types_pb2.py index 1f85836c..7c47a7bf 100644 --- a/pyinjective/proto/tendermint/libs/bits/types_pb2.py +++ b/pyinjective/proto/tendermint/libs/bits/types_pb2.py @@ -13,14 +13,14 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/libs/bits/types.proto\x12\x14tendermint.libs.bits\"\'\n\x08\x42itArray\x12\x0c\n\x04\x62its\x18\x01 \x01(\x03\x12\r\n\x05\x65lems\x18\x02 \x03(\x04\x42=Z;github.com/tendermint/tendermint/proto/tendermint/libs/bitsb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/libs/bits/types.proto\x12\x14tendermint.libs.bits\"\'\n\x08\x42itArray\x12\x0c\n\x04\x62its\x18\x01 \x01(\x03\x12\r\n\x05\x65lems\x18\x02 \x03(\x04\x42\x39Z7github.com/cometbft/cometbft/proto/tendermint/libs/bitsb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z;github.com/tendermint/tendermint/proto/tendermint/libs/bits' + DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits' _BITARRAY._serialized_start=58 _BITARRAY._serialized_end=97 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/mempool/types_pb2.py b/pyinjective/proto/tendermint/mempool/types_pb2.py index bff800c3..2a2a6655 100644 --- a/pyinjective/proto/tendermint/mempool/types_pb2.py +++ b/pyinjective/proto/tendermint/mempool/types_pb2.py @@ -13,14 +13,14 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/mempool/types.proto\x12\x12tendermint.mempool\"\x12\n\x03Txs\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"8\n\x07Message\x12&\n\x03txs\x18\x01 \x01(\x0b\x32\x17.tendermint.mempool.TxsH\x00\x42\x05\n\x03sumB;Z9github.com/tendermint/tendermint/proto/tendermint/mempoolb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/mempool/types.proto\x12\x12tendermint.mempool\"\x12\n\x03Txs\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"8\n\x07Message\x12&\n\x03txs\x18\x01 \x01(\x0b\x32\x17.tendermint.mempool.TxsH\x00\x42\x05\n\x03sumB7Z5github.com/cometbft/cometbft/proto/tendermint/mempoolb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.mempool.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/tendermint/tendermint/proto/tendermint/mempool' + DESCRIPTOR._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/mempool' _TXS._serialized_start=54 _TXS._serialized_end=72 _MESSAGE._serialized_start=74 diff --git a/pyinjective/proto/tendermint/p2p/conn_pb2.py b/pyinjective/proto/tendermint/p2p/conn_pb2.py index f0873585..f6ede4ce 100644 --- a/pyinjective/proto/tendermint/p2p/conn_pb2.py +++ b/pyinjective/proto/tendermint/p2p/conn_pb2.py @@ -15,14 +15,14 @@ from tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19tendermint/p2p/conn.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x0c\n\nPacketPing\"\x0c\n\nPacketPong\"R\n\tPacketMsg\x12!\n\nchannel_id\x18\x01 \x01(\x05\x42\r\xe2\xde\x1f\tChannelID\x12\x14\n\x03\x65of\x18\x02 \x01(\x08\x42\x07\xe2\xde\x1f\x03\x45OF\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xa6\x01\n\x06Packet\x12\x31\n\x0bpacket_ping\x18\x01 \x01(\x0b\x32\x1a.tendermint.p2p.PacketPingH\x00\x12\x31\n\x0bpacket_pong\x18\x02 \x01(\x0b\x32\x1a.tendermint.p2p.PacketPongH\x00\x12/\n\npacket_msg\x18\x03 \x01(\x0b\x32\x19.tendermint.p2p.PacketMsgH\x00\x42\x05\n\x03sum\"R\n\x0e\x41uthSigMessage\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x0b\n\x03sig\x18\x02 \x01(\x0c\x42\x37Z5github.com/tendermint/tendermint/proto/tendermint/p2pb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19tendermint/p2p/conn.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x0c\n\nPacketPing\"\x0c\n\nPacketPong\"R\n\tPacketMsg\x12!\n\nchannel_id\x18\x01 \x01(\x05\x42\r\xe2\xde\x1f\tChannelID\x12\x14\n\x03\x65of\x18\x02 \x01(\x08\x42\x07\xe2\xde\x1f\x03\x45OF\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xa6\x01\n\x06Packet\x12\x31\n\x0bpacket_ping\x18\x01 \x01(\x0b\x32\x1a.tendermint.p2p.PacketPingH\x00\x12\x31\n\x0bpacket_pong\x18\x02 \x01(\x0b\x32\x1a.tendermint.p2p.PacketPongH\x00\x12/\n\npacket_msg\x18\x03 \x01(\x0b\x32\x19.tendermint.p2p.PacketMsgH\x00\x42\x05\n\x03sum\"R\n\x0e\x41uthSigMessage\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x0b\n\x03sig\x18\x02 \x01(\x0c\x42\x33Z1github.com/cometbft/cometbft/proto/tendermint/p2pb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.conn_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/tendermint/tendermint/proto/tendermint/p2p' + DESCRIPTOR._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' _PACKETMSG.fields_by_name['channel_id']._options = None _PACKETMSG.fields_by_name['channel_id']._serialized_options = b'\342\336\037\tChannelID' _PACKETMSG.fields_by_name['eof']._options = None diff --git a/pyinjective/proto/tendermint/p2p/pex_pb2.py b/pyinjective/proto/tendermint/p2p/pex_pb2.py index a8a52148..76bfae5c 100644 --- a/pyinjective/proto/tendermint/p2p/pex_pb2.py +++ b/pyinjective/proto/tendermint/p2p/pex_pb2.py @@ -15,14 +15,14 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18tendermint/p2p/pex.proto\x12\x0etendermint.p2p\x1a\x1atendermint/p2p/types.proto\x1a\x14gogoproto/gogo.proto\"\x0c\n\nPexRequest\";\n\x08PexAddrs\x12/\n\x05\x61\x64\x64rs\x18\x01 \x03(\x0b\x32\x1a.tendermint.p2p.NetAddressB\x04\xc8\xde\x1f\x00\"r\n\x07Message\x12\x31\n\x0bpex_request\x18\x01 \x01(\x0b\x32\x1a.tendermint.p2p.PexRequestH\x00\x12-\n\tpex_addrs\x18\x02 \x01(\x0b\x32\x18.tendermint.p2p.PexAddrsH\x00\x42\x05\n\x03sumB7Z5github.com/tendermint/tendermint/proto/tendermint/p2pb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18tendermint/p2p/pex.proto\x12\x0etendermint.p2p\x1a\x1atendermint/p2p/types.proto\x1a\x14gogoproto/gogo.proto\"\x0c\n\nPexRequest\";\n\x08PexAddrs\x12/\n\x05\x61\x64\x64rs\x18\x01 \x03(\x0b\x32\x1a.tendermint.p2p.NetAddressB\x04\xc8\xde\x1f\x00\"r\n\x07Message\x12\x31\n\x0bpex_request\x18\x01 \x01(\x0b\x32\x1a.tendermint.p2p.PexRequestH\x00\x12-\n\tpex_addrs\x18\x02 \x01(\x0b\x32\x18.tendermint.p2p.PexAddrsH\x00\x42\x05\n\x03sumB3Z1github.com/cometbft/cometbft/proto/tendermint/p2pb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.pex_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/tendermint/tendermint/proto/tendermint/p2p' + DESCRIPTOR._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' _PEXADDRS.fields_by_name['addrs']._options = None _PEXADDRS.fields_by_name['addrs']._serialized_options = b'\310\336\037\000' _PEXREQUEST._serialized_start=94 diff --git a/pyinjective/proto/tendermint/p2p/types_pb2.py b/pyinjective/proto/tendermint/p2p/types_pb2.py index ebedd2c0..66629262 100644 --- a/pyinjective/proto/tendermint/p2p/types_pb2.py +++ b/pyinjective/proto/tendermint/p2p/types_pb2.py @@ -14,14 +14,14 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atendermint/p2p/types.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\"B\n\nNetAddress\x12\x12\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02ID\x12\x12\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IP\x12\x0c\n\x04port\x18\x03 \x01(\r\"C\n\x0fProtocolVersion\x12\x14\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2P\x12\r\n\x05\x62lock\x18\x02 \x01(\x04\x12\x0b\n\x03\x61pp\x18\x03 \x01(\x04\"\x93\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12?\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00\x12*\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeID\x12\x13\n\x0blisten_addr\x18\x03 \x01(\t\x12\x0f\n\x07network\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x10\n\x08\x63hannels\x18\x06 \x01(\x0c\x12\x0f\n\x07moniker\x18\x07 \x01(\t\x12\x39\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00\"M\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x10\n\x08tx_index\x18\x01 \x01(\t\x12#\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressB7Z5github.com/tendermint/tendermint/proto/tendermint/p2pb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atendermint/p2p/types.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\"B\n\nNetAddress\x12\x12\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02ID\x12\x12\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IP\x12\x0c\n\x04port\x18\x03 \x01(\r\"C\n\x0fProtocolVersion\x12\x14\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2P\x12\r\n\x05\x62lock\x18\x02 \x01(\x04\x12\x0b\n\x03\x61pp\x18\x03 \x01(\x04\"\x93\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12?\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00\x12*\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeID\x12\x13\n\x0blisten_addr\x18\x03 \x01(\t\x12\x0f\n\x07network\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x10\n\x08\x63hannels\x18\x06 \x01(\x0c\x12\x0f\n\x07moniker\x18\x07 \x01(\t\x12\x39\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00\"M\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x10\n\x08tx_index\x18\x01 \x01(\t\x12#\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressB3Z1github.com/cometbft/cometbft/proto/tendermint/p2pb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/tendermint/tendermint/proto/tendermint/p2p' + DESCRIPTOR._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' _NETADDRESS.fields_by_name['id']._options = None _NETADDRESS.fields_by_name['id']._serialized_options = b'\342\336\037\002ID' _NETADDRESS.fields_by_name['ip']._options = None diff --git a/pyinjective/proto/tendermint/privval/types_pb2.py b/pyinjective/proto/tendermint/privval/types_pb2.py index 3fb3d62d..219c1ba0 100644 --- a/pyinjective/proto/tendermint/privval/types_pb2.py +++ b/pyinjective/proto/tendermint/privval/types_pb2.py @@ -16,14 +16,14 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/privval/types.proto\x12\x12tendermint.privval\x1a\x1ctendermint/crypto/keys.proto\x1a\x1ctendermint/types/types.proto\x1a\x14gogoproto/gogo.proto\"6\n\x11RemoteSignerError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"!\n\rPubKeyRequest\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\"{\n\x0ePubKeyResponse\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x34\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerError\"I\n\x0fSignVoteRequest\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\"v\n\x12SignedVoteResponse\x12*\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteB\x04\xc8\xde\x1f\x00\x12\x34\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerError\"U\n\x13SignProposalRequest\x12,\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.Proposal\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\"\x82\x01\n\x16SignedProposalResponse\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\x12\x34\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerError\"\r\n\x0bPingRequest\"\x0e\n\x0cPingResponse\"\xa6\x04\n\x07Message\x12<\n\x0fpub_key_request\x18\x01 \x01(\x0b\x32!.tendermint.privval.PubKeyRequestH\x00\x12>\n\x10pub_key_response\x18\x02 \x01(\x0b\x32\".tendermint.privval.PubKeyResponseH\x00\x12@\n\x11sign_vote_request\x18\x03 \x01(\x0b\x32#.tendermint.privval.SignVoteRequestH\x00\x12\x46\n\x14signed_vote_response\x18\x04 \x01(\x0b\x32&.tendermint.privval.SignedVoteResponseH\x00\x12H\n\x15sign_proposal_request\x18\x05 \x01(\x0b\x32\'.tendermint.privval.SignProposalRequestH\x00\x12N\n\x18signed_proposal_response\x18\x06 \x01(\x0b\x32*.tendermint.privval.SignedProposalResponseH\x00\x12\x37\n\x0cping_request\x18\x07 \x01(\x0b\x32\x1f.tendermint.privval.PingRequestH\x00\x12\x39\n\rping_response\x18\x08 \x01(\x0b\x32 .tendermint.privval.PingResponseH\x00\x42\x05\n\x03sum*\xa8\x01\n\x06\x45rrors\x12\x12\n\x0e\x45RRORS_UNKNOWN\x10\x00\x12\x1e\n\x1a\x45RRORS_UNEXPECTED_RESPONSE\x10\x01\x12\x18\n\x14\x45RRORS_NO_CONNECTION\x10\x02\x12\x1d\n\x19\x45RRORS_CONNECTION_TIMEOUT\x10\x03\x12\x17\n\x13\x45RRORS_READ_TIMEOUT\x10\x04\x12\x18\n\x14\x45RRORS_WRITE_TIMEOUT\x10\x05\x42;Z9github.com/tendermint/tendermint/proto/tendermint/privvalb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/privval/types.proto\x12\x12tendermint.privval\x1a\x1ctendermint/crypto/keys.proto\x1a\x1ctendermint/types/types.proto\x1a\x14gogoproto/gogo.proto\"6\n\x11RemoteSignerError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"!\n\rPubKeyRequest\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\"{\n\x0ePubKeyResponse\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x34\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerError\"I\n\x0fSignVoteRequest\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\"v\n\x12SignedVoteResponse\x12*\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteB\x04\xc8\xde\x1f\x00\x12\x34\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerError\"U\n\x13SignProposalRequest\x12,\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.Proposal\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\"\x82\x01\n\x16SignedProposalResponse\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\x12\x34\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerError\"\r\n\x0bPingRequest\"\x0e\n\x0cPingResponse\"\xa6\x04\n\x07Message\x12<\n\x0fpub_key_request\x18\x01 \x01(\x0b\x32!.tendermint.privval.PubKeyRequestH\x00\x12>\n\x10pub_key_response\x18\x02 \x01(\x0b\x32\".tendermint.privval.PubKeyResponseH\x00\x12@\n\x11sign_vote_request\x18\x03 \x01(\x0b\x32#.tendermint.privval.SignVoteRequestH\x00\x12\x46\n\x14signed_vote_response\x18\x04 \x01(\x0b\x32&.tendermint.privval.SignedVoteResponseH\x00\x12H\n\x15sign_proposal_request\x18\x05 \x01(\x0b\x32\'.tendermint.privval.SignProposalRequestH\x00\x12N\n\x18signed_proposal_response\x18\x06 \x01(\x0b\x32*.tendermint.privval.SignedProposalResponseH\x00\x12\x37\n\x0cping_request\x18\x07 \x01(\x0b\x32\x1f.tendermint.privval.PingRequestH\x00\x12\x39\n\rping_response\x18\x08 \x01(\x0b\x32 .tendermint.privval.PingResponseH\x00\x42\x05\n\x03sum*\xa8\x01\n\x06\x45rrors\x12\x12\n\x0e\x45RRORS_UNKNOWN\x10\x00\x12\x1e\n\x1a\x45RRORS_UNEXPECTED_RESPONSE\x10\x01\x12\x18\n\x14\x45RRORS_NO_CONNECTION\x10\x02\x12\x1d\n\x19\x45RRORS_CONNECTION_TIMEOUT\x10\x03\x12\x17\n\x13\x45RRORS_READ_TIMEOUT\x10\x04\x12\x18\n\x14\x45RRORS_WRITE_TIMEOUT\x10\x05\x42\x37Z5github.com/cometbft/cometbft/proto/tendermint/privvalb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.privval.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/tendermint/tendermint/proto/tendermint/privval' + DESCRIPTOR._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/privval' _PUBKEYRESPONSE.fields_by_name['pub_key']._options = None _PUBKEYRESPONSE.fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' _SIGNEDVOTERESPONSE.fields_by_name['vote']._options = None diff --git a/pyinjective/proto/tendermint/rpc/grpc/types_pb2.py b/pyinjective/proto/tendermint/rpc/grpc/types_pb2.py deleted file mode 100644 index 2192eddf..00000000 --- a/pyinjective/proto/tendermint/rpc/grpc/types_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/rpc/grpc/types.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftendermint/rpc/grpc/types.proto\x12\x13tendermint.rpc.grpc\x1a\x1btendermint/abci/types.proto\"\r\n\x0bRequestPing\" \n\x12RequestBroadcastTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\"\x0e\n\x0cResponsePing\"\x81\x01\n\x13ResponseBroadcastTx\x12\x32\n\x08\x63heck_tx\x18\x01 \x01(\x0b\x32 .tendermint.abci.ResponseCheckTx\x12\x36\n\ndeliver_tx\x18\x02 \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTx2\xbd\x01\n\x0c\x42roadcastAPI\x12K\n\x04Ping\x12 .tendermint.rpc.grpc.RequestPing\x1a!.tendermint.rpc.grpc.ResponsePing\x12`\n\x0b\x42roadcastTx\x12\'.tendermint.rpc.grpc.RequestBroadcastTx\x1a(.tendermint.rpc.grpc.ResponseBroadcastTxB4Z2github.com/tendermint/tendermint/rpc/grpc;coregrpcb\x06proto3') - -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.rpc.grpc.types_pb2', globals()) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z2github.com/tendermint/tendermint/rpc/grpc;coregrpc' - _REQUESTPING._serialized_start=85 - _REQUESTPING._serialized_end=98 - _REQUESTBROADCASTTX._serialized_start=100 - _REQUESTBROADCASTTX._serialized_end=132 - _RESPONSEPING._serialized_start=134 - _RESPONSEPING._serialized_end=148 - _RESPONSEBROADCASTTX._serialized_start=151 - _RESPONSEBROADCASTTX._serialized_end=280 - _BROADCASTAPI._serialized_start=283 - _BROADCASTAPI._serialized_end=472 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py b/pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py deleted file mode 100644 index 25950d5c..00000000 --- a/pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py +++ /dev/null @@ -1,108 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from tendermint.rpc.grpc import types_pb2 as tendermint_dot_rpc_dot_grpc_dot_types__pb2 - - -class BroadcastAPIStub(object): - """---------------------------------------- - Service Definition - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Ping = channel.unary_unary( - '/tendermint.rpc.grpc.BroadcastAPI/Ping', - request_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestPing.SerializeToString, - response_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponsePing.FromString, - ) - self.BroadcastTx = channel.unary_unary( - '/tendermint.rpc.grpc.BroadcastAPI/BroadcastTx', - request_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestBroadcastTx.SerializeToString, - response_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponseBroadcastTx.FromString, - ) - - -class BroadcastAPIServicer(object): - """---------------------------------------- - Service Definition - - """ - - def Ping(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BroadcastTx(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_BroadcastAPIServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Ping': grpc.unary_unary_rpc_method_handler( - servicer.Ping, - request_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestPing.FromString, - response_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponsePing.SerializeToString, - ), - 'BroadcastTx': grpc.unary_unary_rpc_method_handler( - servicer.BroadcastTx, - request_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestBroadcastTx.FromString, - response_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponseBroadcastTx.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.rpc.grpc.BroadcastAPI', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class BroadcastAPI(object): - """---------------------------------------- - Service Definition - - """ - - @staticmethod - def Ping(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.rpc.grpc.BroadcastAPI/Ping', - tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestPing.SerializeToString, - tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponsePing.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def BroadcastTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.rpc.grpc.BroadcastAPI/BroadcastTx', - tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestBroadcastTx.SerializeToString, - tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponseBroadcastTx.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/state/types_pb2.py b/pyinjective/proto/tendermint/state/types_pb2.py index bae0bfeb..0d69a1f7 100644 --- a/pyinjective/proto/tendermint/state/types_pb2.py +++ b/pyinjective/proto/tendermint/state/types_pb2.py @@ -20,14 +20,20 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/state/types.proto\x12\x10tendermint.state\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\x1a\x1dtendermint/types/params.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb8\x01\n\rABCIResponses\x12\x37\n\x0b\x64\x65liver_txs\x18\x01 \x03(\x0b\x32\".tendermint.abci.ResponseDeliverTx\x12\x34\n\tend_block\x18\x02 \x01(\x0b\x32!.tendermint.abci.ResponseEndBlock\x12\x38\n\x0b\x62\x65gin_block\x18\x03 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlock\"d\n\x0eValidatorsInfo\x12\x35\n\rvalidator_set\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"u\n\x13\x43onsensusParamsInfo\x12\x41\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"\\\n\x11\x41\x42\x43IResponsesInfo\x12\x37\n\x0e\x61\x62\x63i_responses\x18\x01 \x01(\x0b\x32\x1f.tendermint.state.ABCIResponses\x12\x0e\n\x06height\x18\x02 \x01(\x03\"S\n\x07Version\x12\x36\n\tconsensus\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x10\n\x08software\x18\x02 \x01(\t\"\xfd\x04\n\x05State\x12\x30\n\x07version\x18\x01 \x01(\x0b\x32\x19.tendermint.state.VersionB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x16\n\x0einitial_height\x18\x0e \x01(\x03\x12\x19\n\x11last_block_height\x18\x03 \x01(\x03\x12\x45\n\rlast_block_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x13\xc8\xde\x1f\x00\xe2\xde\x1f\x0bLastBlockID\x12=\n\x0flast_block_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x37\n\x0fnext_validators\x18\x06 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x32\n\nvalidators\x18\x07 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x37\n\x0flast_validators\x18\x08 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12&\n\x1elast_height_validators_changed\x18\t \x01(\x03\x12\x41\n\x10\x63onsensus_params\x18\n \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12,\n$last_height_consensus_params_changed\x18\x0b \x01(\x03\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\r \x01(\x0c\x42\x39Z7github.com/tendermint/tendermint/proto/tendermint/stateb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/state/types.proto\x12\x10tendermint.state\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\x1a\x1dtendermint/types/params.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x01\n\x13LegacyABCIResponses\x12\x32\n\x0b\x64\x65liver_txs\x18\x01 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x35\n\tend_block\x18\x02 \x01(\x0b\x32\".tendermint.state.ResponseEndBlock\x12\x39\n\x0b\x62\x65gin_block\x18\x03 \x01(\x0b\x32$.tendermint.state.ResponseBeginBlock\"V\n\x12ResponseBeginBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"\xdb\x01\n\x10ResponseEndBlock\x12\x41\n\x11validator_updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12@\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"d\n\x0eValidatorsInfo\x12\x35\n\rvalidator_set\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"u\n\x13\x43onsensusParamsInfo\x12\x41\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"\xb2\x01\n\x11\x41\x42\x43IResponsesInfo\x12\x44\n\x15legacy_abci_responses\x18\x01 \x01(\x0b\x32%.tendermint.state.LegacyABCIResponses\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12G\n\x17response_finalize_block\x18\x03 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlock\"S\n\x07Version\x12\x36\n\tconsensus\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x10\n\x08software\x18\x02 \x01(\t\"\xfd\x04\n\x05State\x12\x30\n\x07version\x18\x01 \x01(\x0b\x32\x19.tendermint.state.VersionB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x16\n\x0einitial_height\x18\x0e \x01(\x03\x12\x19\n\x11last_block_height\x18\x03 \x01(\x03\x12\x45\n\rlast_block_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x13\xc8\xde\x1f\x00\xe2\xde\x1f\x0bLastBlockID\x12=\n\x0flast_block_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x37\n\x0fnext_validators\x18\x06 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x32\n\nvalidators\x18\x07 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x37\n\x0flast_validators\x18\x08 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12&\n\x1elast_height_validators_changed\x18\t \x01(\x03\x12\x41\n\x10\x63onsensus_params\x18\n \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12,\n$last_height_consensus_params_changed\x18\x0b \x01(\x03\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\r \x01(\x0c\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/stateb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.state.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/tendermint/tendermint/proto/tendermint/state' + DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/state' + _RESPONSEBEGINBLOCK.fields_by_name['events']._options = None + _RESPONSEBEGINBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _RESPONSEENDBLOCK.fields_by_name['validator_updates']._options = None + _RESPONSEENDBLOCK.fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _RESPONSEENDBLOCK.fields_by_name['events']._options = None + _RESPONSEENDBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _CONSENSUSPARAMSINFO.fields_by_name['consensus_params']._options = None _CONSENSUSPARAMSINFO.fields_by_name['consensus_params']._serialized_options = b'\310\336\037\000' _VERSION.fields_by_name['consensus']._options = None @@ -42,16 +48,20 @@ _STATE.fields_by_name['last_block_time']._serialized_options = b'\310\336\037\000\220\337\037\001' _STATE.fields_by_name['consensus_params']._options = None _STATE.fields_by_name['consensus_params']._serialized_options = b'\310\336\037\000' - _ABCIRESPONSES._serialized_start=262 - _ABCIRESPONSES._serialized_end=446 - _VALIDATORSINFO._serialized_start=448 - _VALIDATORSINFO._serialized_end=548 - _CONSENSUSPARAMSINFO._serialized_start=550 - _CONSENSUSPARAMSINFO._serialized_end=667 - _ABCIRESPONSESINFO._serialized_start=669 - _ABCIRESPONSESINFO._serialized_end=761 - _VERSION._serialized_start=763 - _VERSION._serialized_end=846 - _STATE._serialized_start=849 - _STATE._serialized_end=1486 + _LEGACYABCIRESPONSES._serialized_start=262 + _LEGACYABCIRESPONSES._serialized_end=449 + _RESPONSEBEGINBLOCK._serialized_start=451 + _RESPONSEBEGINBLOCK._serialized_end=537 + _RESPONSEENDBLOCK._serialized_start=540 + _RESPONSEENDBLOCK._serialized_end=759 + _VALIDATORSINFO._serialized_start=761 + _VALIDATORSINFO._serialized_end=861 + _CONSENSUSPARAMSINFO._serialized_start=863 + _CONSENSUSPARAMSINFO._serialized_end=980 + _ABCIRESPONSESINFO._serialized_start=983 + _ABCIRESPONSESINFO._serialized_end=1161 + _VERSION._serialized_start=1163 + _VERSION._serialized_end=1246 + _STATE._serialized_start=1249 + _STATE._serialized_end=1886 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/statesync/types_pb2.py b/pyinjective/proto/tendermint/statesync/types_pb2.py index 9f308b54..a9beb62a 100644 --- a/pyinjective/proto/tendermint/statesync/types_pb2.py +++ b/pyinjective/proto/tendermint/statesync/types_pb2.py @@ -13,14 +13,14 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/statesync/types.proto\x12\x14tendermint.statesync\"\x98\x02\n\x07Message\x12\x43\n\x11snapshots_request\x18\x01 \x01(\x0b\x32&.tendermint.statesync.SnapshotsRequestH\x00\x12\x45\n\x12snapshots_response\x18\x02 \x01(\x0b\x32\'.tendermint.statesync.SnapshotsResponseH\x00\x12;\n\rchunk_request\x18\x03 \x01(\x0b\x32\".tendermint.statesync.ChunkRequestH\x00\x12=\n\x0e\x63hunk_response\x18\x04 \x01(\x0b\x32#.tendermint.statesync.ChunkResponseH\x00\x42\x05\n\x03sum\"\x12\n\x10SnapshotsRequest\"c\n\x11SnapshotsResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c\"=\n\x0c\x43hunkRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05index\x18\x03 \x01(\r\"^\n\rChunkResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05index\x18\x03 \x01(\r\x12\r\n\x05\x63hunk\x18\x04 \x01(\x0c\x12\x0f\n\x07missing\x18\x05 \x01(\x08\x42=Z;github.com/tendermint/tendermint/proto/tendermint/statesyncb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/statesync/types.proto\x12\x14tendermint.statesync\"\x98\x02\n\x07Message\x12\x43\n\x11snapshots_request\x18\x01 \x01(\x0b\x32&.tendermint.statesync.SnapshotsRequestH\x00\x12\x45\n\x12snapshots_response\x18\x02 \x01(\x0b\x32\'.tendermint.statesync.SnapshotsResponseH\x00\x12;\n\rchunk_request\x18\x03 \x01(\x0b\x32\".tendermint.statesync.ChunkRequestH\x00\x12=\n\x0e\x63hunk_response\x18\x04 \x01(\x0b\x32#.tendermint.statesync.ChunkResponseH\x00\x42\x05\n\x03sum\"\x12\n\x10SnapshotsRequest\"c\n\x11SnapshotsResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c\"=\n\x0c\x43hunkRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05index\x18\x03 \x01(\r\"^\n\rChunkResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05index\x18\x03 \x01(\r\x12\r\n\x05\x63hunk\x18\x04 \x01(\x0c\x12\x0f\n\x07missing\x18\x05 \x01(\x08\x42\x39Z7github.com/cometbft/cometbft/proto/tendermint/statesyncb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.statesync.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z;github.com/tendermint/tendermint/proto/tendermint/statesync' + DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/statesync' _MESSAGE._serialized_start=59 _MESSAGE._serialized_end=339 _SNAPSHOTSREQUEST._serialized_start=341 diff --git a/pyinjective/proto/tendermint/store/types_pb2.py b/pyinjective/proto/tendermint/store/types_pb2.py index ef9d2222..b721b68d 100644 --- a/pyinjective/proto/tendermint/store/types_pb2.py +++ b/pyinjective/proto/tendermint/store/types_pb2.py @@ -13,14 +13,14 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/store/types.proto\x12\x10tendermint.store\"/\n\x0f\x42lockStoreState\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\x03\x12\x0e\n\x06height\x18\x02 \x01(\x03\x42\x39Z7github.com/tendermint/tendermint/proto/tendermint/storeb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/store/types.proto\x12\x10tendermint.store\"/\n\x0f\x42lockStoreState\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\x03\x12\x0e\n\x06height\x18\x02 \x01(\x03\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/storeb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.store.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/tendermint/tendermint/proto/tendermint/store' + DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/store' _BLOCKSTORESTATE._serialized_start=50 _BLOCKSTORESTATE._serialized_end=97 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/block_pb2.py b/pyinjective/proto/tendermint/types/block_pb2.py index 3c1cc107..cc3a7f43 100644 --- a/pyinjective/proto/tendermint/types/block_pb2.py +++ b/pyinjective/proto/tendermint/types/block_pb2.py @@ -16,14 +16,14 @@ from tendermint.types import evidence_pb2 as tendermint_dot_types_dot_evidence__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/block.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\"\xca\x01\n\x05\x42lock\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00\x12\x36\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00\x12-\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitB9Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/block.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\"\xca\x01\n\x05\x42lock\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00\x12\x36\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00\x12-\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.block_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/tendermint/tendermint/proto/tendermint/types' + DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _BLOCK.fields_by_name['header']._options = None _BLOCK.fields_by_name['header']._serialized_options = b'\310\336\037\000' _BLOCK.fields_by_name['data']._options = None diff --git a/pyinjective/proto/tendermint/types/canonical_pb2.py b/pyinjective/proto/tendermint/types/canonical_pb2.py index d8c58fcf..19629734 100644 --- a/pyinjective/proto/tendermint/types/canonical_pb2.py +++ b/pyinjective/proto/tendermint/types/canonical_pb2.py @@ -16,14 +16,14 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/canonical.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x10\x43\x61nonicalBlockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12G\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32(.tendermint.types.CanonicalPartSetHeaderB\x04\xc8\xde\x1f\x00\"5\n\x16\x43\x61nonicalPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"\x9d\x02\n\x11\x43\x61nonicalProposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x1f\n\tpol_round\x18\x04 \x01(\x03\x42\x0c\xe2\xde\x1f\x08POLRound\x12\x41\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x07 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\xf8\x01\n\rCanonicalVote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x41\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x06 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDB9Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/canonical.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x10\x43\x61nonicalBlockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12G\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32(.tendermint.types.CanonicalPartSetHeaderB\x04\xc8\xde\x1f\x00\"5\n\x16\x43\x61nonicalPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"\x9d\x02\n\x11\x43\x61nonicalProposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x1f\n\tpol_round\x18\x04 \x01(\x03\x42\x0c\xe2\xde\x1f\x08POLRound\x12\x41\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x07 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\xf8\x01\n\rCanonicalVote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x41\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x06 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\\\n\x16\x43\x61nonicalVoteExtension\x12\x11\n\textension\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x10\n\x08\x63hain_id\x18\x04 \x01(\tB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.canonical_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/tendermint/tendermint/proto/tendermint/types' + DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _CANONICALBLOCKID.fields_by_name['part_set_header']._options = None _CANONICALBLOCKID.fields_by_name['part_set_header']._serialized_options = b'\310\336\037\000' _CANONICALPROPOSAL.fields_by_name['pol_round']._options = None @@ -48,4 +48,6 @@ _CANONICALPROPOSAL._serialized_end=587 _CANONICALVOTE._serialized_start=590 _CANONICALVOTE._serialized_end=838 + _CANONICALVOTEEXTENSION._serialized_start=840 + _CANONICALVOTEEXTENSION._serialized_end=932 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/events_pb2.py b/pyinjective/proto/tendermint/types/events_pb2.py index 211f7dfb..bdc89a2e 100644 --- a/pyinjective/proto/tendermint/types/events_pb2.py +++ b/pyinjective/proto/tendermint/types/events_pb2.py @@ -13,14 +13,14 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/events.proto\x12\x10tendermint.types\"B\n\x13\x45ventDataRoundState\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\tB9Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/events.proto\x12\x10tendermint.types\"B\n\x13\x45ventDataRoundState\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\tB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.events_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/tendermint/tendermint/proto/tendermint/types' + DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _EVENTDATAROUNDSTATE._serialized_start=51 _EVENTDATAROUNDSTATE._serialized_end=117 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/evidence_pb2.py b/pyinjective/proto/tendermint/types/evidence_pb2.py index 4b955dac..f1d3d541 100644 --- a/pyinjective/proto/tendermint/types/evidence_pb2.py +++ b/pyinjective/proto/tendermint/types/evidence_pb2.py @@ -17,14 +17,14 @@ from tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftendermint/types/evidence.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\"\xb2\x01\n\x08\x45vidence\x12J\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00\x12S\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00\x42\x05\n\x03sum\"\xd5\x01\n\x15\x44uplicateVoteEvidence\x12&\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\x12&\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.Vote\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\x12\x17\n\x0fvalidator_power\x18\x04 \x01(\x03\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"\xfb\x01\n\x19LightClientAttackEvidence\x12\x37\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlock\x12\x15\n\rcommon_height\x18\x02 \x01(\x03\x12\x39\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x04 \x01(\x03\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"B\n\x0c\x45videnceList\x12\x32\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00\x42\x39Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftendermint/types/evidence.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\"\xb2\x01\n\x08\x45vidence\x12J\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00\x12S\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00\x42\x05\n\x03sum\"\xd5\x01\n\x15\x44uplicateVoteEvidence\x12&\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\x12&\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.Vote\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\x12\x17\n\x0fvalidator_power\x18\x04 \x01(\x03\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"\xfb\x01\n\x19LightClientAttackEvidence\x12\x37\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlock\x12\x15\n\rcommon_height\x18\x02 \x01(\x03\x12\x39\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x04 \x01(\x03\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"B\n\x0c\x45videnceList\x12\x32\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.evidence_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/tendermint/tendermint/proto/tendermint/types' + DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _DUPLICATEVOTEEVIDENCE.fields_by_name['timestamp']._options = None _DUPLICATEVOTEEVIDENCE.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' _LIGHTCLIENTATTACKEVIDENCE.fields_by_name['timestamp']._options = None diff --git a/pyinjective/proto/tendermint/types/params_pb2.py b/pyinjective/proto/tendermint/types/params_pb2.py index c9ae9c33..15bfe8f5 100644 --- a/pyinjective/proto/tendermint/types/params_pb2.py +++ b/pyinjective/proto/tendermint/types/params_pb2.py @@ -15,22 +15,14 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\xf3\x01\n\x0f\x43onsensusParams\x12\x32\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsB\x04\xc8\xde\x1f\x00\x12\x38\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsB\x04\xc8\xde\x1f\x00\x12:\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsB\x04\xc8\xde\x1f\x00\x12\x36\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsB\x04\xc8\xde\x1f\x00\"G\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03\x12\x14\n\x0ctime_iota_ms\x18\x03 \x01(\x03\"~\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12=\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\"2\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\".\n\rVersionParams\x12\x13\n\x0b\x61pp_version\x18\x01 \x01(\x04:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\">\n\x0cHashedParams\x12\x17\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03\x12\x15\n\rblock_max_gas\x18\x02 \x01(\x03\x42=Z7github.com/tendermint/tendermint/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\x87\x02\n\x0f\x43onsensusParams\x12,\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParams\x12\x32\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParams\x12\x34\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParams\x12\x30\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParams\x12*\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParams\"7\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03J\x04\x08\x03\x10\x04\"~\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12=\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\"2\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"&\n\rVersionParams\x12\x0b\n\x03\x61pp\x18\x01 \x01(\x04:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\">\n\x0cHashedParams\x12\x17\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03\x12\x15\n\rblock_max_gas\x18\x02 \x01(\x03\"3\n\nABCIParams\x12%\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03\x42\x39Z3github.com/cometbft/cometbft/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.params_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/tendermint/tendermint/proto/tendermint/types\250\342\036\001' - _CONSENSUSPARAMS.fields_by_name['block']._options = None - _CONSENSUSPARAMS.fields_by_name['block']._serialized_options = b'\310\336\037\000' - _CONSENSUSPARAMS.fields_by_name['evidence']._options = None - _CONSENSUSPARAMS.fields_by_name['evidence']._serialized_options = b'\310\336\037\000' - _CONSENSUSPARAMS.fields_by_name['validator']._options = None - _CONSENSUSPARAMS.fields_by_name['validator']._serialized_options = b'\310\336\037\000' - _CONSENSUSPARAMS.fields_by_name['version']._options = None - _CONSENSUSPARAMS.fields_by_name['version']._serialized_options = b'\310\336\037\000' + DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types\250\342\036\001' _EVIDENCEPARAMS.fields_by_name['max_age_duration']._options = None _EVIDENCEPARAMS.fields_by_name['max_age_duration']._serialized_options = b'\310\336\037\000\230\337\037\001' _VALIDATORPARAMS._options = None @@ -38,15 +30,17 @@ _VERSIONPARAMS._options = None _VERSIONPARAMS._serialized_options = b'\270\240\037\001\350\240\037\001' _CONSENSUSPARAMS._serialized_start=106 - _CONSENSUSPARAMS._serialized_end=349 - _BLOCKPARAMS._serialized_start=351 - _BLOCKPARAMS._serialized_end=422 - _EVIDENCEPARAMS._serialized_start=424 - _EVIDENCEPARAMS._serialized_end=550 - _VALIDATORPARAMS._serialized_start=552 - _VALIDATORPARAMS._serialized_end=602 - _VERSIONPARAMS._serialized_start=604 - _VERSIONPARAMS._serialized_end=650 - _HASHEDPARAMS._serialized_start=652 - _HASHEDPARAMS._serialized_end=714 + _CONSENSUSPARAMS._serialized_end=369 + _BLOCKPARAMS._serialized_start=371 + _BLOCKPARAMS._serialized_end=426 + _EVIDENCEPARAMS._serialized_start=428 + _EVIDENCEPARAMS._serialized_end=554 + _VALIDATORPARAMS._serialized_start=556 + _VALIDATORPARAMS._serialized_end=606 + _VERSIONPARAMS._serialized_start=608 + _VERSIONPARAMS._serialized_end=646 + _HASHEDPARAMS._serialized_start=648 + _HASHEDPARAMS._serialized_end=710 + _ABCIPARAMS._serialized_start=712 + _ABCIPARAMS._serialized_end=763 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/types_pb2.py b/pyinjective/proto/tendermint/types/types_pb2.py index e12b1eee..909bc796 100644 --- a/pyinjective/proto/tendermint/types/types_pb2.py +++ b/pyinjective/proto/tendermint/types/types_pb2.py @@ -18,24 +18,14 @@ from tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00\"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c\"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x92\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c\"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c\"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit\"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03\"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\xa8\xa4\x1e\x01\x88\xa3\x1e\x00*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\xa8\xa4\x1e\x01\x88\xa3\x1e\x00\x42\x39Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00\"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c\"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\xc2\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c\x12\x11\n\textension\x18\t \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\n \x01(\x0c\"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\"\xb5\x01\n\x0e\x45xtendedCommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x46\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00\"\xe0\x01\n\x11\x45xtendedCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\x12\x11\n\textension\x18\x05 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x06 \x01(\x0c\"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c\"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit\"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xe2\xde\x1f\x07\x42lockID\xc8\xde\x1f\x00\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03\"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\xa8\xa4\x1e\x01\x88\xa3\x1e\x00\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/tendermint/tendermint/proto/tendermint/types' - _BLOCKIDFLAG._options = None - _BLOCKIDFLAG._serialized_options = b'\250\244\036\001\210\243\036\000' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' + DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' _SIGNEDMSGTYPE._options = None _SIGNEDMSGTYPE._serialized_options = b'\250\244\036\001\210\243\036\000' _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._options = None @@ -68,6 +58,12 @@ _COMMIT.fields_by_name['signatures']._serialized_options = b'\310\336\037\000' _COMMITSIG.fields_by_name['timestamp']._options = None _COMMITSIG.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _EXTENDEDCOMMIT.fields_by_name['block_id']._options = None + _EXTENDEDCOMMIT.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _EXTENDEDCOMMIT.fields_by_name['extended_signatures']._options = None + _EXTENDEDCOMMIT.fields_by_name['extended_signatures']._serialized_options = b'\310\336\037\000' + _EXTENDEDCOMMITSIG.fields_by_name['timestamp']._options = None + _EXTENDEDCOMMITSIG.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' _PROPOSAL.fields_by_name['block_id']._options = None _PROPOSAL.fields_by_name['block_id']._serialized_options = b'\342\336\037\007BlockID\310\336\037\000' _PROPOSAL.fields_by_name['timestamp']._options = None @@ -76,10 +72,8 @@ _BLOCKMETA.fields_by_name['block_id']._serialized_options = b'\342\336\037\007BlockID\310\336\037\000' _BLOCKMETA.fields_by_name['header']._options = None _BLOCKMETA.fields_by_name['header']._serialized_options = b'\310\336\037\000' - _BLOCKIDFLAG._serialized_start=2207 - _BLOCKIDFLAG._serialized_end=2422 - _SIGNEDMSGTYPE._serialized_start=2425 - _SIGNEDMSGTYPE._serialized_end=2640 + _SIGNEDMSGTYPE._serialized_start=2666 + _SIGNEDMSGTYPE._serialized_end=2881 _PARTSETHEADER._serialized_start=202 _PARTSETHEADER._serialized_end=246 _PART._serialized_start=248 @@ -91,19 +85,23 @@ _DATA._serialized_start=860 _DATA._serialized_end=879 _VOTE._serialized_start=882 - _VOTE._serialized_end=1156 - _COMMIT._serialized_start=1159 - _COMMIT._serialized_end=1315 - _COMMITSIG._serialized_start=1318 - _COMMITSIG._serialized_end=1486 - _PROPOSAL._serialized_start=1489 - _PROPOSAL._serialized_end=1734 - _SIGNEDHEADER._serialized_start=1736 - _SIGNEDHEADER._serialized_end=1834 - _LIGHTBLOCK._serialized_start=1836 - _LIGHTBLOCK._serialized_end=1958 - _BLOCKMETA._serialized_start=1961 - _BLOCKMETA._serialized_end=2119 - _TXPROOF._serialized_start=2121 - _TXPROOF._serialized_end=2204 + _VOTE._serialized_end=1204 + _COMMIT._serialized_start=1207 + _COMMIT._serialized_end=1363 + _COMMITSIG._serialized_start=1366 + _COMMITSIG._serialized_end=1534 + _EXTENDEDCOMMIT._serialized_start=1537 + _EXTENDEDCOMMIT._serialized_end=1718 + _EXTENDEDCOMMITSIG._serialized_start=1721 + _EXTENDEDCOMMITSIG._serialized_end=1945 + _PROPOSAL._serialized_start=1948 + _PROPOSAL._serialized_end=2193 + _SIGNEDHEADER._serialized_start=2195 + _SIGNEDHEADER._serialized_end=2293 + _LIGHTBLOCK._serialized_start=2295 + _LIGHTBLOCK._serialized_end=2417 + _BLOCKMETA._serialized_start=2420 + _BLOCKMETA._serialized_end=2578 + _TXPROOF._serialized_start=2580 + _TXPROOF._serialized_end=2663 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/validator_pb2.py b/pyinjective/proto/tendermint/types/validator_pb2.py index 71e5be0c..d0c7dfca 100644 --- a/pyinjective/proto/tendermint/types/validator_pb2.py +++ b/pyinjective/proto/tendermint/types/validator_pb2.py @@ -15,16 +15,28 @@ from tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03\"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03\x42\x39Z7github.com/tendermint/tendermint/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03\"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\xa8\xa4\x1e\x01\x88\xa3\x1e\x00\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.validator_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/tendermint/tendermint/proto/tendermint/types' + DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' + _BLOCKIDFLAG._options = None + _BLOCKIDFLAG._serialized_options = b'\250\244\036\001\210\243\036\000' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' _VALIDATOR.fields_by_name['pub_key']._options = None _VALIDATOR.fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' + _BLOCKIDFLAG._serialized_start=469 + _BLOCKIDFLAG._serialized_end=684 _VALIDATORSET._serialized_start=107 _VALIDATORSET._serialized_end=245 _VALIDATOR._serialized_start=248 diff --git a/pyinjective/proto/tendermint/version/types_pb2.py b/pyinjective/proto/tendermint/version/types_pb2.py index 16a9af14..ed171b44 100644 --- a/pyinjective/proto/tendermint/version/types_pb2.py +++ b/pyinjective/proto/tendermint/version/types_pb2.py @@ -14,14 +14,14 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto\")\n\x03\x41pp\x12\x10\n\x08protocol\x18\x01 \x01(\x04\x12\x10\n\x08software\x18\x02 \x01(\t\"-\n\tConsensus\x12\r\n\x05\x62lock\x18\x01 \x01(\x04\x12\x0b\n\x03\x61pp\x18\x02 \x01(\x04:\x04\xe8\xa0\x1f\x01\x42;Z9github.com/tendermint/tendermint/proto/tendermint/versionb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto\")\n\x03\x41pp\x12\x10\n\x08protocol\x18\x01 \x01(\x04\x12\x10\n\x08software\x18\x02 \x01(\t\"-\n\tConsensus\x12\r\n\x05\x62lock\x18\x01 \x01(\x04\x12\x0b\n\x03\x61pp\x18\x02 \x01(\x04:\x04\xe8\xa0\x1f\x01\x42\x37Z5github.com/cometbft/cometbft/proto/tendermint/versionb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/tendermint/tendermint/proto/tendermint/version' + DESCRIPTOR._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/version' _CONSENSUS._options = None _CONSENSUS._serialized_options = b'\350\240\037\001' _APP._serialized_start=76