diff --git a/proto/tendermint/abci/types.proto b/proto/tendermint/abci/types.proto new file mode 100644 index 0000000..89bafb6 --- /dev/null +++ b/proto/tendermint/abci/types.proto @@ -0,0 +1,494 @@ +syntax = "proto3"; +package tendermint.abci; + +option go_package = "github.com/cometbft/cometbft/abci/types"; + +// For more information on gogo.proto, see: +// https://github.com/cosmos/gogoproto/blob/master/extensions.md +import "tendermint/crypto/proof.proto"; +import "tendermint/crypto/keys.proto"; +import "tendermint/types/params.proto"; +import "tendermint/types/validator.proto"; +import "google/protobuf/timestamp.proto"; +import "gogoproto/gogo.proto"; + +// NOTE: When using custom types, mind the warnings. +// https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues + +service ABCI { + rpc Echo(RequestEcho) returns (ResponseEcho); + rpc Flush(RequestFlush) returns (ResponseFlush); + rpc Info(RequestInfo) returns (ResponseInfo); + rpc CheckTx(RequestCheckTx) returns (ResponseCheckTx); + rpc Query(RequestQuery) returns (ResponseQuery); + rpc Commit(RequestCommit) returns (ResponseCommit); + rpc InitChain(RequestInitChain) returns (ResponseInitChain); + rpc ListSnapshots(RequestListSnapshots) returns (ResponseListSnapshots); + rpc OfferSnapshot(RequestOfferSnapshot) returns (ResponseOfferSnapshot); + rpc LoadSnapshotChunk(RequestLoadSnapshotChunk) + returns (ResponseLoadSnapshotChunk); + rpc ApplySnapshotChunk(RequestApplySnapshotChunk) + returns (ResponseApplySnapshotChunk); + rpc PrepareProposal(RequestPrepareProposal) returns (ResponsePrepareProposal); + rpc ProcessProposal(RequestProcessProposal) returns (ResponseProcessProposal); + rpc ExtendVote(RequestExtendVote) returns (ResponseExtendVote); + rpc VerifyVoteExtension(RequestVerifyVoteExtension) returns (ResponseVerifyVoteExtension); + rpc FinalizeBlock(RequestFinalizeBlock) returns (ResponseFinalizeBlock); +} + +//---------------------------------------- +// Request types + +message Request { + oneof value { + RequestEcho echo = 1; + RequestFlush flush = 2; + RequestInfo info = 3; + RequestInitChain init_chain = 5; + RequestQuery query = 6; + RequestCheckTx check_tx = 8; + RequestCommit commit = 11; + RequestListSnapshots list_snapshots = 12; + RequestOfferSnapshot offer_snapshot = 13; + RequestLoadSnapshotChunk load_snapshot_chunk = 14; + RequestApplySnapshotChunk apply_snapshot_chunk = 15; + RequestPrepareProposal prepare_proposal = 16; + RequestProcessProposal process_proposal = 17; + RequestExtendVote extend_vote = 18; + RequestVerifyVoteExtension verify_vote_extension = 19; + RequestFinalizeBlock finalize_block = 20; + } + reserved 4, 7, 9, 10; // SetOption, BeginBlock, DeliverTx, EndBlock +} + +message RequestEcho { + string message = 1; +} + +message RequestFlush {} + +message RequestInfo { + string version = 1; + uint64 block_version = 2; + uint64 p2p_version = 3; + string abci_version = 4; +} + +message RequestInitChain { + google.protobuf.Timestamp time = 1 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + string chain_id = 2; + tendermint.types.ConsensusParams consensus_params = 3; + repeated ValidatorUpdate validators = 4 [(gogoproto.nullable) = false]; + bytes app_state_bytes = 5; + int64 initial_height = 6; +} + +message RequestQuery { + bytes data = 1; + string path = 2; + int64 height = 3; + bool prove = 4; +} + +enum CheckTxType { + NEW = 0 [(gogoproto.enumvalue_customname) = "New"]; + RECHECK = 1 [(gogoproto.enumvalue_customname) = "Recheck"]; +} + +message RequestCheckTx { + bytes tx = 1; + CheckTxType type = 2; +} + +message RequestCommit {} + +// lists available snapshots +message RequestListSnapshots {} + +// offers a snapshot to the application +message RequestOfferSnapshot { + Snapshot snapshot = 1; // snapshot offered by peers + bytes app_hash = 2; // light client-verified app hash for snapshot height +} + +// loads a snapshot chunk +message RequestLoadSnapshotChunk { + uint64 height = 1; + uint32 format = 2; + uint32 chunk = 3; +} + +// Applies a snapshot chunk +message RequestApplySnapshotChunk { + uint32 index = 1; + bytes chunk = 2; + string sender = 3; +} + +message RequestPrepareProposal { + // the modified transactions cannot exceed this size. + int64 max_tx_bytes = 1; + // txs is an array of transactions that will be included in a block, + // sent to the app for possible modifications. + repeated bytes txs = 2; + ExtendedCommitInfo local_last_commit = 3 [(gogoproto.nullable) = false]; + repeated Misbehavior misbehavior = 4 [(gogoproto.nullable) = false]; + int64 height = 5; + google.protobuf.Timestamp time = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes next_validators_hash = 7; + // address of the public key of the validator proposing the block. + bytes proposer_address = 8; +} + +message RequestProcessProposal { + repeated bytes txs = 1; + CommitInfo proposed_last_commit = 2 [(gogoproto.nullable) = false]; + repeated Misbehavior misbehavior = 3 [(gogoproto.nullable) = false]; + // hash is the merkle root hash of the fields of the proposed block. + bytes hash = 4; + int64 height = 5; + google.protobuf.Timestamp time = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes next_validators_hash = 7; + // address of the public key of the original proposer of the block. + bytes proposer_address = 8; +} + +// Extends a vote with application-injected data +message RequestExtendVote { + // the hash of the block that this vote may be referring to + bytes hash = 1; + // the height of the extended vote + int64 height = 2; + // info of the block that this vote may be referring to + google.protobuf.Timestamp time = 3 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + repeated bytes txs = 4; + CommitInfo proposed_last_commit = 5 [(gogoproto.nullable) = false]; + repeated Misbehavior misbehavior = 6 [(gogoproto.nullable) = false]; + bytes next_validators_hash = 7; + // address of the public key of the original proposer of the block. + bytes proposer_address = 8; +} + +// Verify the vote extension +message RequestVerifyVoteExtension { + // the hash of the block that this received vote corresponds to + bytes hash = 1; + // the validator that signed the vote extension + bytes validator_address = 2; + int64 height = 3; + bytes vote_extension = 4; +} + +message RequestFinalizeBlock { + repeated bytes txs = 1; + CommitInfo decided_last_commit = 2 [(gogoproto.nullable) = false]; + repeated Misbehavior misbehavior = 3 [(gogoproto.nullable) = false]; + // hash is the merkle root hash of the fields of the decided block. + bytes hash = 4; + int64 height = 5; + google.protobuf.Timestamp time = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes next_validators_hash = 7; + // proposer_address is the address of the public key of the original proposer of the block. + bytes proposer_address = 8; +} + +//---------------------------------------- +// Response types + +message Response { + oneof value { + ResponseException exception = 1; + ResponseEcho echo = 2; + ResponseFlush flush = 3; + ResponseInfo info = 4; + ResponseInitChain init_chain = 6; + ResponseQuery query = 7; + ResponseCheckTx check_tx = 9; + ResponseCommit commit = 12; + ResponseListSnapshots list_snapshots = 13; + ResponseOfferSnapshot offer_snapshot = 14; + ResponseLoadSnapshotChunk load_snapshot_chunk = 15; + ResponseApplySnapshotChunk apply_snapshot_chunk = 16; + ResponsePrepareProposal prepare_proposal = 17; + ResponseProcessProposal process_proposal = 18; + ResponseExtendVote extend_vote = 19; + ResponseVerifyVoteExtension verify_vote_extension = 20; + ResponseFinalizeBlock finalize_block = 21; + } + reserved 5, 8, 10, 11; // SetOption, BeginBlock, DeliverTx, EndBlock +} + +// nondeterministic +message ResponseException { + string error = 1; +} + +message ResponseEcho { + string message = 1; +} + +message ResponseFlush {} + +message ResponseInfo { + string data = 1; + + string version = 2; + uint64 app_version = 3; + + int64 last_block_height = 4; + bytes last_block_app_hash = 5; +} + +message ResponseInitChain { + tendermint.types.ConsensusParams consensus_params = 1; + repeated ValidatorUpdate validators = 2 [(gogoproto.nullable) = false]; + bytes app_hash = 3; +} + +message ResponseQuery { + uint32 code = 1; + // bytes data = 2; // use "value" instead. + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 index = 5; + bytes key = 6; + bytes value = 7; + tendermint.crypto.ProofOps proof_ops = 8; + int64 height = 9; + string codespace = 10; +} + +message ResponseCheckTx { + uint32 code = 1; + bytes data = 2; + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 gas_wanted = 5 [json_name = "gas_wanted"]; + int64 gas_used = 6 [json_name = "gas_used"]; + repeated Event events = 7 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; + string codespace = 8; + + // These reserved fields were used until v0.37 by the priority mempool (now + // removed). + reserved 9 to 11; + reserved "sender", "priority", "mempool_error"; +} + +message ResponseCommit { + reserved 1, 2; // data was previously returned here + int64 retain_height = 3; +} + +message ResponseListSnapshots { + repeated Snapshot snapshots = 1; +} + +message ResponseOfferSnapshot { + Result result = 1; + + enum Result { + UNKNOWN = 0; // Unknown result, abort all snapshot restoration + ACCEPT = 1; // Snapshot accepted, apply chunks + ABORT = 2; // Abort all snapshot restoration + REJECT = 3; // Reject this specific snapshot, try others + REJECT_FORMAT = 4; // Reject all snapshots of this format, try others + REJECT_SENDER = 5; // Reject all snapshots from the sender(s), try others + } +} + +message ResponseLoadSnapshotChunk { + bytes chunk = 1; +} + +message ResponseApplySnapshotChunk { + Result result = 1; + repeated uint32 refetch_chunks = 2; // Chunks to refetch and reapply + repeated string reject_senders = 3; // Chunk senders to reject and ban + + enum Result { + UNKNOWN = 0; // Unknown result, abort all snapshot restoration + ACCEPT = 1; // Chunk successfully accepted + ABORT = 2; // Abort all snapshot restoration + RETRY = 3; // Retry chunk (combine with refetch and reject) + RETRY_SNAPSHOT = 4; // Retry snapshot (combine with refetch and reject) + REJECT_SNAPSHOT = 5; // Reject this snapshot, try others + } +} + +message ResponsePrepareProposal { + repeated bytes txs = 1; +} + +message ResponseProcessProposal { + ProposalStatus status = 1; + + enum ProposalStatus { + UNKNOWN = 0; + ACCEPT = 1; + REJECT = 2; + } +} + +message ResponseExtendVote { + bytes vote_extension = 1; +} + +message ResponseVerifyVoteExtension { + VerifyStatus status = 1; + + enum VerifyStatus { + UNKNOWN = 0; + ACCEPT = 1; + // Rejecting the vote extension will reject the entire precommit by the sender. + // Incorrectly implementing this thus has liveness implications as it may affect + // CometBFT's ability to receive 2/3+ valid votes to finalize the block. + // Honest nodes should never be rejected. + REJECT = 2; + } +} + +message ResponseFinalizeBlock { + // set of block events emmitted as part of executing the block + repeated Event events = 1 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; + // the result of executing each transaction including the events + // the particular transction emitted. This should match the order + // of the transactions delivered in the block itself + repeated ExecTxResult tx_results = 2; + // a list of updates to the validator set. These will reflect the validator set at current height + 2. + repeated ValidatorUpdate validator_updates = 3 [(gogoproto.nullable) = false]; + // updates to the consensus params, if any. + tendermint.types.ConsensusParams consensus_param_updates = 4; + // app_hash is the hash of the applications' state which is used to confirm that execution of the transactions was deterministic. It is up to the application to decide which algorithm to use. + bytes app_hash = 5; +} + +//---------------------------------------- +// Misc. + +message CommitInfo { + int32 round = 1; + repeated VoteInfo votes = 2 [(gogoproto.nullable) = false]; +} + +// ExtendedCommitInfo is similar to CommitInfo except that it is only used in +// the PrepareProposal request such that CometBFT can provide vote extensions +// to the application. +message ExtendedCommitInfo { + // The round at which the block proposer decided in the previous height. + int32 round = 1; + // List of validators' addresses in the last validator set with their voting + // information, including vote extensions. + repeated ExtendedVoteInfo votes = 2 [(gogoproto.nullable) = false]; +} + +// Event allows application developers to attach additional information to +// ResponseFinalizeBlock and ResponseCheckTx. +// Later, transactions may be queried using these events. +message Event { + string type = 1; + repeated EventAttribute attributes = 2 [ + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "attributes,omitempty" + ]; +} + +// EventAttribute is a single key-value pair, associated with an event. +message EventAttribute { + string key = 1; + string value = 2; + bool index = 3; // nondeterministic +} + +// ExecTxResult contains results of executing one individual transaction. +// +// * Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted +message ExecTxResult { + uint32 code = 1; + bytes data = 2; + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 gas_wanted = 5 [json_name = "gas_wanted"]; + int64 gas_used = 6 [json_name = "gas_used"]; + repeated Event events = 7 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; // nondeterministic + string codespace = 8; +} + +// TxResult contains results of executing the transaction. +// +// One usage is indexing transaction results. +message TxResult { + int64 height = 1; + uint32 index = 2; + bytes tx = 3; + ExecTxResult result = 4 [(gogoproto.nullable) = false]; +} + +//---------------------------------------- +// Blockchain Types + +message Validator { + bytes address = 1; // The first 20 bytes of SHA256(public key) + // PubKey pub_key = 2 [(gogoproto.nullable)=false]; + int64 power = 3; // The voting power +} + +message ValidatorUpdate { + tendermint.crypto.PublicKey pub_key = 1 [(gogoproto.nullable) = false]; + int64 power = 2; +} + +message VoteInfo { + Validator validator = 1 [(gogoproto.nullable) = false]; + tendermint.types.BlockIDFlag block_id_flag = 3; + + reserved 2; // signed_last_block +} + +message ExtendedVoteInfo { + // The validator that sent the vote. + Validator validator = 1 [(gogoproto.nullable) = false]; + // Non-deterministic extension provided by the sending validator's application. + bytes vote_extension = 3; + // Vote extension signature created by CometBFT + bytes extension_signature = 4; + // block_id_flag indicates whether the validator voted for a block, nil, or did not vote at all + tendermint.types.BlockIDFlag block_id_flag = 5; + + reserved 2; // signed_last_block +} + +enum MisbehaviorType { + UNKNOWN = 0; + DUPLICATE_VOTE = 1; + LIGHT_CLIENT_ATTACK = 2; +} + +message Misbehavior { + MisbehaviorType type = 1; + // The offending validator + Validator validator = 2 [(gogoproto.nullable) = false]; + // The height when the offense occurred + int64 height = 3; + // The corresponding time where the offense occurred + google.protobuf.Timestamp time = 4 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // Total voting power of the validator set in case the ABCI application does + // not store historical validators. + // https://github.com/tendermint/tendermint/issues/4581 + int64 total_voting_power = 5; +} + +//---------------------------------------- +// State Sync Types + +message Snapshot { + uint64 height = 1; // The height at which the snapshot was taken + uint32 format = 2; // The application-specific snapshot format + uint32 chunks = 3; // Number of chunks in the snapshot + bytes hash = 4; // Arbitrary snapshot hash, equal only if identical + bytes metadata = 5; // Arbitrary application metadata +} diff --git a/proto/tendermint/blocksync/types.proto b/proto/tendermint/blocksync/types.proto new file mode 100644 index 0000000..11c39a7 --- /dev/null +++ b/proto/tendermint/blocksync/types.proto @@ -0,0 +1,43 @@ +syntax = "proto3"; +package tendermint.blocksync; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/blocksync"; + +import "tendermint/types/block.proto"; +import "tendermint/types/types.proto"; + +// BlockRequest requests a block for a specific height +message BlockRequest { + int64 height = 1; +} + +// NoBlockResponse informs the node that the peer does not have block at the requested height +message NoBlockResponse { + int64 height = 1; +} + +// BlockResponse returns block to the requested +message BlockResponse { + tendermint.types.Block block = 1; + tendermint.types.ExtendedCommit ext_commit = 2; +} + +// StatusRequest requests the status of a peer. +message StatusRequest { +} + +// StatusResponse is a peer response to inform their status. +message StatusResponse { + int64 height = 1; + int64 base = 2; +} + +message Message { + oneof sum { + BlockRequest block_request = 1; + NoBlockResponse no_block_response = 2; + BlockResponse block_response = 3; + StatusRequest status_request = 4; + StatusResponse status_response = 5; + } +} diff --git a/proto/tendermint/consensus/types.proto b/proto/tendermint/consensus/types.proto new file mode 100644 index 0000000..542bdc1 --- /dev/null +++ b/proto/tendermint/consensus/types.proto @@ -0,0 +1,92 @@ +syntax = "proto3"; +package tendermint.consensus; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/consensus"; + +import "gogoproto/gogo.proto"; +import "tendermint/types/types.proto"; +import "tendermint/libs/bits/types.proto"; + +// NewRoundStep is sent for every step taken in the ConsensusState. +// For every height/round/step transition +message NewRoundStep { + int64 height = 1; + int32 round = 2; + uint32 step = 3; + int64 seconds_since_start_time = 4; + int32 last_commit_round = 5; +} + +// NewValidBlock is sent when a validator observes a valid block B in some round r, +// i.e., there is a Proposal for block B and 2/3+ prevotes for the block B in the round r. +// In case the block is also committed, then IsCommit flag is set to true. +message NewValidBlock { + int64 height = 1; + int32 round = 2; + tendermint.types.PartSetHeader block_part_set_header = 3 [(gogoproto.nullable) = false]; + tendermint.libs.bits.BitArray block_parts = 4; + bool is_commit = 5; +} + +// Proposal is sent when a new block is proposed. +message Proposal { + tendermint.types.Proposal proposal = 1 [(gogoproto.nullable) = false]; +} + +// ProposalPOL is sent when a previous proposal is re-proposed. +message ProposalPOL { + int64 height = 1; + int32 proposal_pol_round = 2; + tendermint.libs.bits.BitArray proposal_pol = 3 [(gogoproto.nullable) = false]; +} + +// BlockPart is sent when gossipping a piece of the proposed block. +message BlockPart { + int64 height = 1; + int32 round = 2; + tendermint.types.Part part = 3 [(gogoproto.nullable) = false]; +} + +// Vote is sent when voting for a proposal (or lack thereof). +message Vote { + tendermint.types.Vote vote = 1; +} + +// HasVote is sent to indicate that a particular vote has been received. +message HasVote { + int64 height = 1; + int32 round = 2; + tendermint.types.SignedMsgType type = 3; + int32 index = 4; +} + +// VoteSetMaj23 is sent to indicate that a given BlockID has seen +2/3 votes. +message VoteSetMaj23 { + int64 height = 1; + int32 round = 2; + tendermint.types.SignedMsgType type = 3; + tendermint.types.BlockID block_id = 4 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; +} + +// VoteSetBits is sent to communicate the bit-array of votes seen for the BlockID. +message VoteSetBits { + int64 height = 1; + int32 round = 2; + tendermint.types.SignedMsgType type = 3; + tendermint.types.BlockID block_id = 4 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; + tendermint.libs.bits.BitArray votes = 5 [(gogoproto.nullable) = false]; +} + +message Message { + oneof sum { + NewRoundStep new_round_step = 1; + NewValidBlock new_valid_block = 2; + Proposal proposal = 3; + ProposalPOL proposal_pol = 4; + BlockPart block_part = 5; + Vote vote = 6; + HasVote has_vote = 7; + VoteSetMaj23 vote_set_maj23 = 8; + VoteSetBits vote_set_bits = 9; + } +} diff --git a/proto/tendermint/consensus/wal.proto b/proto/tendermint/consensus/wal.proto new file mode 100644 index 0000000..fafcf11 --- /dev/null +++ b/proto/tendermint/consensus/wal.proto @@ -0,0 +1,46 @@ +syntax = "proto3"; +package tendermint.consensus; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/consensus"; + +import "gogoproto/gogo.proto"; +import "tendermint/consensus/types.proto"; +import "tendermint/types/events.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; + +// MsgInfo are msgs from the reactor which may update the state +message MsgInfo { + Message msg = 1 [(gogoproto.nullable) = false]; + string peer_id = 2 [(gogoproto.customname) = "PeerID"]; +} + +// TimeoutInfo internally generated messages which may update the state +message TimeoutInfo { + google.protobuf.Duration duration = 1 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + int64 height = 2; + int32 round = 3; + uint32 step = 4; +} + +// EndHeight marks the end of the given height inside WAL. +// @internal used by scripts/wal2json util. +message EndHeight { + int64 height = 1; +} + +message WALMessage { + oneof sum { + tendermint.types.EventDataRoundState event_data_round_state = 1; + MsgInfo msg_info = 2; + TimeoutInfo timeout_info = 3; + EndHeight end_height = 4; + } +} + +// TimedWALMessage wraps WALMessage and adds Time for debugging purposes. +message TimedWALMessage { + google.protobuf.Timestamp time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + WALMessage msg = 2; +} diff --git a/proto/tendermint/crypto/keys.proto b/proto/tendermint/crypto/keys.proto new file mode 100644 index 0000000..8fa192f --- /dev/null +++ b/proto/tendermint/crypto/keys.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package tendermint.crypto; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/crypto"; + +import "gogoproto/gogo.proto"; + +// PublicKey defines the keys available for use with Validators +message PublicKey { + option (gogoproto.compare) = true; + option (gogoproto.equal) = true; + + oneof sum { + bytes ed25519 = 1; + bytes secp256k1 = 2; + } +} diff --git a/proto/tendermint/crypto/proof.proto b/proto/tendermint/crypto/proof.proto new file mode 100644 index 0000000..ae72195 --- /dev/null +++ b/proto/tendermint/crypto/proof.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; +package tendermint.crypto; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/crypto"; + +import "gogoproto/gogo.proto"; + +message Proof { + int64 total = 1; + int64 index = 2; + bytes leaf_hash = 3; + repeated bytes aunts = 4; +} + +message ValueOp { + // Encoded in ProofOp.Key. + bytes key = 1; + + // To encode in ProofOp.Data + Proof proof = 2; +} + +message DominoOp { + string key = 1; + string input = 2; + string output = 3; +} + +// ProofOp defines an operation used for calculating Merkle root +// The data could be arbitrary format, providing nessecary data +// for example neighbouring node hash +message ProofOp { + string type = 1; + bytes key = 2; + bytes data = 3; +} + +// ProofOps is Merkle proof defined by the list of ProofOps +message ProofOps { + repeated ProofOp ops = 1 [(gogoproto.nullable) = false]; +} diff --git a/proto/tendermint/libs/bits/types.proto b/proto/tendermint/libs/bits/types.proto new file mode 100644 index 0000000..e6afc5e --- /dev/null +++ b/proto/tendermint/libs/bits/types.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; +package tendermint.libs.bits; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/libs/bits"; + +message BitArray { + int64 bits = 1; + repeated uint64 elems = 2; +} diff --git a/proto/tendermint/mempool/types.proto b/proto/tendermint/mempool/types.proto new file mode 100644 index 0000000..60bafff --- /dev/null +++ b/proto/tendermint/mempool/types.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package tendermint.mempool; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/mempool"; + +message Txs { + repeated bytes txs = 1; +} + +message Message { + oneof sum { + Txs txs = 1; + } +} diff --git a/proto/tendermint/p2p/conn.proto b/proto/tendermint/p2p/conn.proto new file mode 100644 index 0000000..a7de695 --- /dev/null +++ b/proto/tendermint/p2p/conn.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; +package tendermint.p2p; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/p2p"; + +import "gogoproto/gogo.proto"; +import "tendermint/crypto/keys.proto"; + +message PacketPing {} + +message PacketPong {} + +message PacketMsg { + int32 channel_id = 1 [(gogoproto.customname) = "ChannelID"]; + bool eof = 2 [(gogoproto.customname) = "EOF"]; + bytes data = 3; +} + +message Packet { + oneof sum { + PacketPing packet_ping = 1; + PacketPong packet_pong = 2; + PacketMsg packet_msg = 3; + } +} + +message AuthSigMessage { + tendermint.crypto.PublicKey pub_key = 1 [(gogoproto.nullable) = false]; + bytes sig = 2; +} diff --git a/proto/tendermint/p2p/pex.proto b/proto/tendermint/p2p/pex.proto new file mode 100644 index 0000000..2191866 --- /dev/null +++ b/proto/tendermint/p2p/pex.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; +package tendermint.p2p; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/p2p"; + +import "tendermint/p2p/types.proto"; +import "gogoproto/gogo.proto"; + +message PexRequest {} + +message PexAddrs { + repeated NetAddress addrs = 1 [(gogoproto.nullable) = false]; +} + +message Message { + oneof sum { + PexRequest pex_request = 1; + PexAddrs pex_addrs = 2; + } +} diff --git a/proto/tendermint/p2p/types.proto b/proto/tendermint/p2p/types.proto new file mode 100644 index 0000000..157d8ba --- /dev/null +++ b/proto/tendermint/p2p/types.proto @@ -0,0 +1,34 @@ +syntax = "proto3"; +package tendermint.p2p; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/p2p"; + +import "gogoproto/gogo.proto"; + +message NetAddress { + string id = 1 [(gogoproto.customname) = "ID"]; + string ip = 2 [(gogoproto.customname) = "IP"]; + uint32 port = 3; +} + +message ProtocolVersion { + uint64 p2p = 1 [(gogoproto.customname) = "P2P"]; + uint64 block = 2; + uint64 app = 3; +} + +message DefaultNodeInfo { + ProtocolVersion protocol_version = 1 [(gogoproto.nullable) = false]; + string default_node_id = 2 [(gogoproto.customname) = "DefaultNodeID"]; + string listen_addr = 3; + string network = 4; + string version = 5; + bytes channels = 6; + string moniker = 7; + DefaultNodeInfoOther other = 8 [(gogoproto.nullable) = false]; +} + +message DefaultNodeInfoOther { + string tx_index = 1; + string rpc_address = 2 [(gogoproto.customname) = "RPCAddress"]; +} diff --git a/proto/tendermint/privval/types.proto b/proto/tendermint/privval/types.proto new file mode 100644 index 0000000..13190ca --- /dev/null +++ b/proto/tendermint/privval/types.proto @@ -0,0 +1,76 @@ +syntax = "proto3"; +package tendermint.privval; + +import "tendermint/crypto/keys.proto"; +import "tendermint/types/types.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/privval"; + +enum Errors { + ERRORS_UNKNOWN = 0; + ERRORS_UNEXPECTED_RESPONSE = 1; + ERRORS_NO_CONNECTION = 2; + ERRORS_CONNECTION_TIMEOUT = 3; + ERRORS_READ_TIMEOUT = 4; + ERRORS_WRITE_TIMEOUT = 5; +} + +message RemoteSignerError { + int32 code = 1; + string description = 2; +} + +// PubKeyRequest requests the consensus public key from the remote signer. +message PubKeyRequest { + string chain_id = 1; +} + +// PubKeyResponse is a response message containing the public key. +message PubKeyResponse { + tendermint.crypto.PublicKey pub_key = 1 [(gogoproto.nullable) = false]; + RemoteSignerError error = 2; +} + +// SignVoteRequest is a request to sign a vote +message SignVoteRequest { + tendermint.types.Vote vote = 1; + string chain_id = 2; +} + +// SignedVoteResponse is a response containing a signed vote or an error +message SignedVoteResponse { + tendermint.types.Vote vote = 1 [(gogoproto.nullable) = false]; + RemoteSignerError error = 2; +} + +// SignProposalRequest is a request to sign a proposal +message SignProposalRequest { + tendermint.types.Proposal proposal = 1; + string chain_id = 2; +} + +// SignedProposalResponse is response containing a signed proposal or an error +message SignedProposalResponse { + tendermint.types.Proposal proposal = 1 [(gogoproto.nullable) = false]; + RemoteSignerError error = 2; +} + +// PingRequest is a request to confirm that the connection is alive. +message PingRequest {} + +// PingResponse is a response to confirm that the connection is alive. +message PingResponse {} + +message Message { + oneof sum { + PubKeyRequest pub_key_request = 1; + PubKeyResponse pub_key_response = 2; + SignVoteRequest sign_vote_request = 3; + SignedVoteResponse signed_vote_response = 4; + SignProposalRequest sign_proposal_request = 5; + SignedProposalResponse signed_proposal_response = 6; + PingRequest ping_request = 7; + PingResponse ping_response = 8; + } +} diff --git a/proto/tendermint/rpc/grpc/types.proto b/proto/tendermint/rpc/grpc/types.proto new file mode 100644 index 0000000..68ff0ca --- /dev/null +++ b/proto/tendermint/rpc/grpc/types.proto @@ -0,0 +1,36 @@ +syntax = "proto3"; +package tendermint.rpc.grpc; +option go_package = "github.com/cometbft/cometbft/rpc/grpc;coregrpc"; + +import "tendermint/abci/types.proto"; + +//---------------------------------------- +// Request types + +message RequestPing {} + +message RequestBroadcastTx { + bytes tx = 1; +} + +//---------------------------------------- +// Response types + +message ResponsePing {} + +message ResponseBroadcastTx { + tendermint.abci.ResponseCheckTx check_tx = 1; + tendermint.abci.ExecTxResult tx_result = 2; +} + +//---------------------------------------- +// Service Definition + +// BroadcastAPI +// +// Deprecated: This API will be superseded by a more comprehensive gRPC-based +// broadcast API, and is scheduled for removal after v0.38. +service BroadcastAPI { + rpc Ping(RequestPing) returns (ResponsePing); + rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx); +} diff --git a/proto/tendermint/state/types.proto b/proto/tendermint/state/types.proto new file mode 100644 index 0000000..c76c25f --- /dev/null +++ b/proto/tendermint/state/types.proto @@ -0,0 +1,96 @@ +syntax = "proto3"; +package tendermint.state; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/state"; + +import "gogoproto/gogo.proto"; +import "tendermint/abci/types.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/validator.proto"; +import "tendermint/types/params.proto"; +import "tendermint/version/types.proto"; +import "google/protobuf/timestamp.proto"; + +// LegacyABCIResponses retains the responses +// of the legacy ABCI calls during block processing. +// Note ReponseDeliverTx is renamed to ExecTxResult but they are semantically the same +// Kept for backwards compatibility for versions prior to v0.38 +message LegacyABCIResponses { + repeated tendermint.abci.ExecTxResult deliver_txs = 1; + ResponseEndBlock end_block = 2; + ResponseBeginBlock begin_block = 3; +} + +// ResponseBeginBlock is kept for backwards compatibility for versions prior to v0.38 +message ResponseBeginBlock { + repeated tendermint.abci.Event events = 1 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; +} + +// ResponseEndBlock is kept for backwards compatibility for versions prior to v0.38 +message ResponseEndBlock { + repeated tendermint.abci.ValidatorUpdate validator_updates = 1 [(gogoproto.nullable) = false]; + tendermint.types.ConsensusParams consensus_param_updates = 2; + repeated tendermint.abci.Event events = 3 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; +} + +// ValidatorsInfo represents the latest validator set, or the last height it changed +message ValidatorsInfo { + tendermint.types.ValidatorSet validator_set = 1; + int64 last_height_changed = 2; +} + +// ConsensusParamsInfo represents the latest consensus params, or the last height it changed +message ConsensusParamsInfo { + tendermint.types.ConsensusParams consensus_params = 1 [(gogoproto.nullable) = false]; + int64 last_height_changed = 2; +} + +message ABCIResponsesInfo { + LegacyABCIResponses legacy_abci_responses = 1; + int64 height = 2; + abci.ResponseFinalizeBlock response_finalize_block = 3; +} + +message Version { + tendermint.version.Consensus consensus = 1 [(gogoproto.nullable) = false]; + string software = 2; +} + +message State { + Version version = 1 [(gogoproto.nullable) = false]; + + // immutable + string chain_id = 2 [(gogoproto.customname) = "ChainID"]; + int64 initial_height = 14; + + // LastBlockHeight=0 at genesis (ie. block(H=0) does not exist) + int64 last_block_height = 3; + tendermint.types.BlockID last_block_id = 4 + [(gogoproto.nullable) = false, (gogoproto.customname) = "LastBlockID"]; + google.protobuf.Timestamp last_block_time = 5 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + + // LastValidators is used to validate block.LastCommit. + // Validators are persisted to the database separately every time they change, + // so we can query for historical validator sets. + // Note that if s.LastBlockHeight causes a valset change, + // we set s.LastHeightValidatorsChanged = s.LastBlockHeight + 1 + 1 + // Extra +1 due to nextValSet delay. + tendermint.types.ValidatorSet next_validators = 6; + tendermint.types.ValidatorSet validators = 7; + tendermint.types.ValidatorSet last_validators = 8; + int64 last_height_validators_changed = 9; + + // Consensus parameters used for validating blocks. + // Changes returned by EndBlock and updated after Commit. + tendermint.types.ConsensusParams consensus_params = 10 [(gogoproto.nullable) = false]; + int64 last_height_consensus_params_changed = 11; + + // Merkle root of the results from executing prev block + bytes last_results_hash = 12; + + // the latest AppHash we've received from calling abci.Commit() + bytes app_hash = 13; +} diff --git a/proto/tendermint/statesync/types.proto b/proto/tendermint/statesync/types.proto new file mode 100644 index 0000000..eac36b3 --- /dev/null +++ b/proto/tendermint/statesync/types.proto @@ -0,0 +1,37 @@ +syntax = "proto3"; +package tendermint.statesync; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/statesync"; + +message Message { + oneof sum { + SnapshotsRequest snapshots_request = 1; + SnapshotsResponse snapshots_response = 2; + ChunkRequest chunk_request = 3; + ChunkResponse chunk_response = 4; + } +} + +message SnapshotsRequest {} + +message SnapshotsResponse { + uint64 height = 1; + uint32 format = 2; + uint32 chunks = 3; + bytes hash = 4; + bytes metadata = 5; +} + +message ChunkRequest { + uint64 height = 1; + uint32 format = 2; + uint32 index = 3; +} + +message ChunkResponse { + uint64 height = 1; + uint32 format = 2; + uint32 index = 3; + bytes chunk = 4; + bool missing = 5; +} diff --git a/proto/tendermint/store/types.proto b/proto/tendermint/store/types.proto new file mode 100644 index 0000000..b510169 --- /dev/null +++ b/proto/tendermint/store/types.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; +package tendermint.store; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/store"; + +message BlockStoreState { + int64 base = 1; + int64 height = 2; +} diff --git a/proto/tendermint/types/block.proto b/proto/tendermint/types/block.proto new file mode 100644 index 0000000..d531c06 --- /dev/null +++ b/proto/tendermint/types/block.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/evidence.proto"; + +message Block { + Header header = 1 [(gogoproto.nullable) = false]; + Data data = 2 [(gogoproto.nullable) = false]; + tendermint.types.EvidenceList evidence = 3 [(gogoproto.nullable) = false]; + Commit last_commit = 4; +} diff --git a/proto/tendermint/types/canonical.proto b/proto/tendermint/types/canonical.proto new file mode 100644 index 0000000..bbff09b --- /dev/null +++ b/proto/tendermint/types/canonical.proto @@ -0,0 +1,46 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "tendermint/types/types.proto"; +import "google/protobuf/timestamp.proto"; + +message CanonicalBlockID { + bytes hash = 1; + CanonicalPartSetHeader part_set_header = 2 [(gogoproto.nullable) = false]; +} + +message CanonicalPartSetHeader { + uint32 total = 1; + bytes hash = 2; +} + +message CanonicalProposal { + SignedMsgType type = 1; // type alias for byte + sfixed64 height = 2; // canonicalization requires fixed size encoding here + sfixed64 round = 3; // canonicalization requires fixed size encoding here + int64 pol_round = 4 [(gogoproto.customname) = "POLRound"]; + CanonicalBlockID block_id = 5 [(gogoproto.customname) = "BlockID"]; + google.protobuf.Timestamp timestamp = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + string chain_id = 7 [(gogoproto.customname) = "ChainID"]; +} + +message CanonicalVote { + SignedMsgType type = 1; // type alias for byte + sfixed64 height = 2; // canonicalization requires fixed size encoding here + sfixed64 round = 3; // canonicalization requires fixed size encoding here + CanonicalBlockID block_id = 4 [(gogoproto.customname) = "BlockID"]; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + string chain_id = 6 [(gogoproto.customname) = "ChainID"]; +} + +// CanonicalVoteExtension provides us a way to serialize a vote extension from +// a particular validator such that we can sign over those serialized bytes. +message CanonicalVoteExtension { + bytes extension = 1; + sfixed64 height = 2; + sfixed64 round = 3; + string chain_id = 4; +} diff --git a/proto/tendermint/types/events.proto b/proto/tendermint/types/events.proto new file mode 100644 index 0000000..98ce811 --- /dev/null +++ b/proto/tendermint/types/events.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +message EventDataRoundState { + int64 height = 1; + int32 round = 2; + string step = 3; +} diff --git a/proto/tendermint/types/evidence.proto b/proto/tendermint/types/evidence.proto new file mode 100644 index 0000000..1f35049 --- /dev/null +++ b/proto/tendermint/types/evidence.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/validator.proto"; + +message Evidence { + oneof sum { + DuplicateVoteEvidence duplicate_vote_evidence = 1; + LightClientAttackEvidence light_client_attack_evidence = 2; + } +} + +// DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. +message DuplicateVoteEvidence { + tendermint.types.Vote vote_a = 1; + tendermint.types.Vote vote_b = 2; + int64 total_voting_power = 3; + int64 validator_power = 4; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. +message LightClientAttackEvidence { + tendermint.types.LightBlock conflicting_block = 1; + int64 common_height = 2; + repeated tendermint.types.Validator byzantine_validators = 3; + int64 total_voting_power = 4; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +message EvidenceList { + repeated Evidence evidence = 1 [(gogoproto.nullable) = false]; +} diff --git a/proto/tendermint/types/params.proto b/proto/tendermint/types/params.proto new file mode 100644 index 0000000..f96a2e2 --- /dev/null +++ b/proto/tendermint/types/params.proto @@ -0,0 +1,92 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/duration.proto"; + +option (gogoproto.equal_all) = true; + +// ConsensusParams contains consensus critical parameters that determine the +// validity of blocks. +message ConsensusParams { + BlockParams block = 1; + EvidenceParams evidence = 2; + ValidatorParams validator = 3; + VersionParams version = 4; + ABCIParams abci = 5; +} + +// BlockParams contains limits on the block size. +message BlockParams { + // Max block size, in bytes. + // Note: must be greater than 0 + int64 max_bytes = 1; + // Max gas per block. + // Note: must be greater or equal to -1 + int64 max_gas = 2; + + reserved 3; // was TimeIotaMs see https://github.com/tendermint/tendermint/pull/5792 +} + +// EvidenceParams determine how we handle evidence of malfeasance. +message EvidenceParams { + // Max age of evidence, in blocks. + // + // The basic formula for calculating this is: MaxAgeDuration / {average block + // time}. + int64 max_age_num_blocks = 1; + + // Max age of evidence, in time. + // + // It should correspond with an app's "unbonding period" or other similar + // mechanism for handling [Nothing-At-Stake + // attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). + google.protobuf.Duration max_age_duration = 2 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + + // This sets the maximum size of total evidence in bytes that can be committed in a single block. + // and should fall comfortably under the max block bytes. + // Default is 1048576 or 1MB + int64 max_bytes = 3; +} + +// ValidatorParams restrict the public key types validators can use. +// NOTE: uses ABCI pubkey naming, not Amino names. +message ValidatorParams { + option (gogoproto.populate) = true; + option (gogoproto.equal) = true; + + repeated string pub_key_types = 1; +} + +// VersionParams contains the ABCI application version. +message VersionParams { + option (gogoproto.populate) = true; + option (gogoproto.equal) = true; + + uint64 app = 1; +} + +// HashedParams is a subset of ConsensusParams. +// +// It is hashed into the Header.ConsensusHash. +message HashedParams { + int64 block_max_bytes = 1; + int64 block_max_gas = 2; +} + +// ABCIParams configure functionality specific to the Application Blockchain Interface. +message ABCIParams { + // vote_extensions_enable_height configures the first height during which + // vote extensions will be enabled. During this specified height, and for all + // subsequent heights, precommit messages that do not contain valid extension data + // will be considered invalid. Prior to this height, vote extensions will not + // be used or accepted by validators on the network. + // + // Once enabled, vote extensions will be created by the application in ExtendVote, + // passed to the application for validation in VerifyVoteExtension and given + // to the application to use when proposing a block during PrepareProposal. + int64 vote_extensions_enable_height = 1; +} diff --git a/proto/tendermint/types/types.proto b/proto/tendermint/types/types.proto new file mode 100644 index 0000000..a527e2f --- /dev/null +++ b/proto/tendermint/types/types.proto @@ -0,0 +1,178 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "tendermint/crypto/proof.proto"; +import "tendermint/version/types.proto"; +import "tendermint/types/validator.proto"; + +// SignedMsgType is a type of signed message in the consensus. +enum SignedMsgType { + option (gogoproto.goproto_enum_stringer) = true; + option (gogoproto.goproto_enum_prefix) = false; + + SIGNED_MSG_TYPE_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "UnknownType"]; + // Votes + SIGNED_MSG_TYPE_PREVOTE = 1 [(gogoproto.enumvalue_customname) = "PrevoteType"]; + SIGNED_MSG_TYPE_PRECOMMIT = 2 [(gogoproto.enumvalue_customname) = "PrecommitType"]; + + // Proposals + SIGNED_MSG_TYPE_PROPOSAL = 32 [(gogoproto.enumvalue_customname) = "ProposalType"]; +} + +// PartsetHeader +message PartSetHeader { + uint32 total = 1; + bytes hash = 2; +} + +message Part { + uint32 index = 1; + bytes bytes = 2; + tendermint.crypto.Proof proof = 3 [(gogoproto.nullable) = false]; +} + +// BlockID +message BlockID { + bytes hash = 1; + PartSetHeader part_set_header = 2 [(gogoproto.nullable) = false]; +} + +// -------------------------------- + +// Header defines the structure of a block header. +message Header { + // basic block info + tendermint.version.Consensus version = 1 [(gogoproto.nullable) = false]; + string chain_id = 2 [(gogoproto.customname) = "ChainID"]; + int64 height = 3; + google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + + // prev block info + BlockID last_block_id = 5 [(gogoproto.nullable) = false]; + + // hashes of block data + bytes last_commit_hash = 6; // commit from validators from the last block + bytes data_hash = 7; // transactions + + // hashes from the app output from the prev block + bytes validators_hash = 8; // validators for the current block + bytes next_validators_hash = 9; // validators for the next block + bytes consensus_hash = 10; // consensus params for current block + bytes app_hash = 11; // state after txs from the previous block + bytes last_results_hash = 12; // root hash of all results from the txs from the previous block + + // consensus info + bytes evidence_hash = 13; // evidence included in the block + bytes proposer_address = 14; // original proposer of the block +} + +// Data contains the set of transactions included in the block +message Data { + // Txs that will be applied by state @ block.Height+1. + // NOTE: not all txs here are valid. We're just agreeing on the order first. + // This means that block.AppHash does not include these txs. + repeated bytes txs = 1; +} + +// Vote represents a prevote or precommit vote from validators for +// consensus. +message Vote { + SignedMsgType type = 1; + int64 height = 2; + int32 round = 3; + BlockID block_id = 4 + [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; // zero if vote is nil. + google.protobuf.Timestamp timestamp = 5 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes validator_address = 6; + int32 validator_index = 7; + // Vote signature by the validator if they participated in consensus for the + // associated block. + bytes signature = 8; + // Vote extension provided by the application. Only valid for precommit + // messages. + bytes extension = 9; + // Vote extension signature by the validator if they participated in + // consensus for the associated block. + // Only valid for precommit messages. + bytes extension_signature = 10; +} + +// Commit contains the evidence that a block was committed by a set of validators. +message Commit { + int64 height = 1; + int32 round = 2; + BlockID block_id = 3 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; + repeated CommitSig signatures = 4 [(gogoproto.nullable) = false]; +} + +// CommitSig is a part of the Vote included in a Commit. +message CommitSig { + tendermint.types.BlockIDFlag block_id_flag = 1; + bytes validator_address = 2; + google.protobuf.Timestamp timestamp = 3 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 4; +} + +message ExtendedCommit { + int64 height = 1; + int32 round = 2; + BlockID block_id = 3 + [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; + repeated ExtendedCommitSig extended_signatures = 4 [(gogoproto.nullable) = false]; +} + +// ExtendedCommitSig retains all the same fields as CommitSig but adds vote +// extension-related fields. We use two signatures to ensure backwards compatibility. +// That is the digest of the original signature is still the same in prior versions +message ExtendedCommitSig { + tendermint.types.BlockIDFlag block_id_flag = 1; + bytes validator_address = 2; + google.protobuf.Timestamp timestamp = 3 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 4; + // Vote extension data + bytes extension = 5; + // Vote extension signature + bytes extension_signature = 6; +} + +message Proposal { + SignedMsgType type = 1; + int64 height = 2; + int32 round = 3; + int32 pol_round = 4; + BlockID block_id = 5 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; + google.protobuf.Timestamp timestamp = 6 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 7; +} + +message SignedHeader { + Header header = 1; + Commit commit = 2; +} + +message LightBlock { + SignedHeader signed_header = 1; + tendermint.types.ValidatorSet validator_set = 2; +} + +message BlockMeta { + BlockID block_id = 1 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; + int64 block_size = 2; + Header header = 3 [(gogoproto.nullable) = false]; + int64 num_txs = 4; +} + +// TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. +message TxProof { + bytes root_hash = 1; + bytes data = 2; + tendermint.crypto.Proof proof = 3; +} diff --git a/proto/tendermint/types/validator.proto b/proto/tendermint/types/validator.proto new file mode 100644 index 0000000..7b55956 --- /dev/null +++ b/proto/tendermint/types/validator.proto @@ -0,0 +1,37 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "tendermint/crypto/keys.proto"; + +// BlockIdFlag indicates which BlockID the signature is for +enum BlockIDFlag { + option (gogoproto.goproto_enum_stringer) = true; + option (gogoproto.goproto_enum_prefix) = false; + + BLOCK_ID_FLAG_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "BlockIDFlagUnknown"]; // indicates an error condition + BLOCK_ID_FLAG_ABSENT = 1 [(gogoproto.enumvalue_customname) = "BlockIDFlagAbsent"]; // the vote was not received + BLOCK_ID_FLAG_COMMIT = 2 [(gogoproto.enumvalue_customname) = "BlockIDFlagCommit"]; // voted for the block that received the majority + BLOCK_ID_FLAG_NIL = 3 [(gogoproto.enumvalue_customname) = "BlockIDFlagNil"]; // voted for nil +} + + +message ValidatorSet { + repeated Validator validators = 1; + Validator proposer = 2; + int64 total_voting_power = 3; +} + +message Validator { + bytes address = 1; + tendermint.crypto.PublicKey pub_key = 2 [(gogoproto.nullable) = false]; + int64 voting_power = 3; + int64 proposer_priority = 4; +} + +message SimpleValidator { + tendermint.crypto.PublicKey pub_key = 1; + int64 voting_power = 2; +} diff --git a/proto/tendermint/version/types.proto b/proto/tendermint/version/types.proto new file mode 100644 index 0000000..3b6ef45 --- /dev/null +++ b/proto/tendermint/version/types.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; +package tendermint.version; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/version"; + +import "gogoproto/gogo.proto"; + +// App includes the protocol and software version for the application. +// This information is included in ResponseInfo. The App.Protocol can be +// updated in ResponseEndBlock. +message App { + uint64 protocol = 1; + string software = 2; +} + +// Consensus captures the consensus rules for processing a block in the blockchain, +// including all blockchain data structures and the rules of the application's +// state transition machine. +message Consensus { + option (gogoproto.equal) = true; + + uint64 block = 1; + uint64 app = 2; +} diff --git a/src/poktroll_clients/proto/amino/amino_pb2.py b/src/poktroll_clients/proto/amino/amino_pb2.py index 83afdd6..c452ae4 100644 --- a/src/poktroll_clients/proto/amino/amino_pb2.py +++ b/src/poktroll_clients/proto/amino/amino_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: amino/amino.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'amino/amino.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/accounts/v1/accounts_pb2.py b/src/poktroll_clients/proto/cosmos/accounts/v1/accounts_pb2.py index 46241a1..46a0236 100644 --- a/src/poktroll_clients/proto/cosmos/accounts/v1/accounts_pb2.py +++ b/src/poktroll_clients/proto/cosmos/accounts/v1/accounts_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/accounts/v1/accounts.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/accounts/v1/accounts.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/accounts/v1/query_pb2.py b/src/poktroll_clients/proto/cosmos/accounts/v1/query_pb2.py index 99a9170..59cc2d3 100644 --- a/src/poktroll_clients/proto/cosmos/accounts/v1/query_pb2.py +++ b/src/poktroll_clients/proto/cosmos/accounts/v1/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/accounts/v1/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/accounts/v1/query.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/accounts/v1/tx_pb2.py b/src/poktroll_clients/proto/cosmos/accounts/v1/tx_pb2.py index a3b7bfd..18bd045 100644 --- a/src/poktroll_clients/proto/cosmos/accounts/v1/tx_pb2.py +++ b/src/poktroll_clients/proto/cosmos/accounts/v1/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/accounts/v1/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/accounts/v1/tx.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/app/v1alpha1/module_pb2.py b/src/poktroll_clients/proto/cosmos/app/v1alpha1/module_pb2.py index 94449ad..805f15c 100644 --- a/src/poktroll_clients/proto/cosmos/app/v1alpha1/module_pb2.py +++ b/src/poktroll_clients/proto/cosmos/app/v1alpha1/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/app/v1alpha1/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/app/v1alpha1/module.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/auth/v1beta1/auth_pb2.py b/src/poktroll_clients/proto/cosmos/auth/v1beta1/auth_pb2.py index c1dd83d..6b13c79 100644 --- a/src/poktroll_clients/proto/cosmos/auth/v1beta1/auth_pb2.py +++ b/src/poktroll_clients/proto/cosmos/auth/v1beta1/auth_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/auth/v1beta1/auth.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/auth/v1beta1/auth.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/auth/v1beta1/query_pb2.py b/src/poktroll_clients/proto/cosmos/auth/v1beta1/query_pb2.py index 05cca9a..48a6751 100644 --- a/src/poktroll_clients/proto/cosmos/auth/v1beta1/query_pb2.py +++ b/src/poktroll_clients/proto/cosmos/auth/v1beta1/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/auth/v1beta1/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/auth/v1beta1/query.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/auth/v1beta1/tx_pb2.py b/src/poktroll_clients/proto/cosmos/auth/v1beta1/tx_pb2.py index a30046e..9e2fb67 100644 --- a/src/poktroll_clients/proto/cosmos/auth/v1beta1/tx_pb2.py +++ b/src/poktroll_clients/proto/cosmos/auth/v1beta1/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/auth/v1beta1/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/auth/v1beta1/tx.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/authz/module/v1/module_pb2.py b/src/poktroll_clients/proto/cosmos/authz/module/v1/module_pb2.py index a6e434d..b34fb75 100644 --- a/src/poktroll_clients/proto/cosmos/authz/module/v1/module_pb2.py +++ b/src/poktroll_clients/proto/cosmos/authz/module/v1/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/authz/module/v1/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/authz/module/v1/module.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/authz/v1beta1/authz_pb2.py b/src/poktroll_clients/proto/cosmos/authz/v1beta1/authz_pb2.py index 49e2299..c905c85 100644 --- a/src/poktroll_clients/proto/cosmos/authz/v1beta1/authz_pb2.py +++ b/src/poktroll_clients/proto/cosmos/authz/v1beta1/authz_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/authz/v1beta1/authz.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/authz/v1beta1/authz.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/authz/v1beta1/query_pb2.py b/src/poktroll_clients/proto/cosmos/authz/v1beta1/query_pb2.py index 64f66a5..6285ff9 100644 --- a/src/poktroll_clients/proto/cosmos/authz/v1beta1/query_pb2.py +++ b/src/poktroll_clients/proto/cosmos/authz/v1beta1/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/authz/v1beta1/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/authz/v1beta1/query.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/authz/v1beta1/tx_pb2.py b/src/poktroll_clients/proto/cosmos/authz/v1beta1/tx_pb2.py index 048db5f..0c22c45 100644 --- a/src/poktroll_clients/proto/cosmos/authz/v1beta1/tx_pb2.py +++ b/src/poktroll_clients/proto/cosmos/authz/v1beta1/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/authz/v1beta1/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/authz/v1beta1/tx.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/bank/v1beta1/authz_pb2.py b/src/poktroll_clients/proto/cosmos/bank/v1beta1/authz_pb2.py index 0bc276c..d9ed6f9 100644 --- a/src/poktroll_clients/proto/cosmos/bank/v1beta1/authz_pb2.py +++ b/src/poktroll_clients/proto/cosmos/bank/v1beta1/authz_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/bank/v1beta1/authz.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/bank/v1beta1/authz.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/bank/v1beta1/bank_pb2.py b/src/poktroll_clients/proto/cosmos/bank/v1beta1/bank_pb2.py index d992f92..3db8fd4 100644 --- a/src/poktroll_clients/proto/cosmos/bank/v1beta1/bank_pb2.py +++ b/src/poktroll_clients/proto/cosmos/bank/v1beta1/bank_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/bank/v1beta1/bank.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/bank/v1beta1/bank.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/bank/v1beta1/query_pb2.py b/src/poktroll_clients/proto/cosmos/bank/v1beta1/query_pb2.py index b33a1b4..ee021ad 100644 --- a/src/poktroll_clients/proto/cosmos/bank/v1beta1/query_pb2.py +++ b/src/poktroll_clients/proto/cosmos/bank/v1beta1/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/bank/v1beta1/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/bank/v1beta1/query.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/bank/v1beta1/tx_pb2.py b/src/poktroll_clients/proto/cosmos/bank/v1beta1/tx_pb2.py index b9795e7..18c6f48 100644 --- a/src/poktroll_clients/proto/cosmos/bank/v1beta1/tx_pb2.py +++ b/src/poktroll_clients/proto/cosmos/bank/v1beta1/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/bank/v1beta1/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/bank/v1beta1/tx.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/base/query/v1beta1/pagination_pb2.py b/src/poktroll_clients/proto/cosmos/base/query/v1beta1/pagination_pb2.py index b1638ac..f52796f 100644 --- a/src/poktroll_clients/proto/cosmos/base/query/v1beta1/pagination_pb2.py +++ b/src/poktroll_clients/proto/cosmos/base/query/v1beta1/pagination_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/base/query/v1beta1/pagination.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/base/query/v1beta1/pagination.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/base/v1beta1/coin_pb2.py b/src/poktroll_clients/proto/cosmos/base/v1beta1/coin_pb2.py index 20c789f..1a522cd 100644 --- a/src/poktroll_clients/proto/cosmos/base/v1beta1/coin_pb2.py +++ b/src/poktroll_clients/proto/cosmos/base/v1beta1/coin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/base/v1beta1/coin.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/base/v1beta1/coin.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/crypto/multisig/keys_pb2.py b/src/poktroll_clients/proto/cosmos/crypto/multisig/keys_pb2.py index aeae6e5..a677e40 100644 --- a/src/poktroll_clients/proto/cosmos/crypto/multisig/keys_pb2.py +++ b/src/poktroll_clients/proto/cosmos/crypto/multisig/keys_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/crypto/multisig/keys.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/crypto/multisig/keys.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py b/src/poktroll_clients/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py index d989873..fe8296c 100644 --- a/src/poktroll_clients/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py +++ b/src/poktroll_clients/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/crypto/multisig/v1beta1/multisig.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/crypto/multisig/v1beta1/multisig.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/gov/v1/gov_pb2.py b/src/poktroll_clients/proto/cosmos/gov/v1/gov_pb2.py index 72cb608..071a020 100644 --- a/src/poktroll_clients/proto/cosmos/gov/v1/gov_pb2.py +++ b/src/poktroll_clients/proto/cosmos/gov/v1/gov_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/gov/v1/gov.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/gov/v1/gov.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/gov/v1/query_pb2.py b/src/poktroll_clients/proto/cosmos/gov/v1/query_pb2.py index 6cb717a..8fc5f1b 100644 --- a/src/poktroll_clients/proto/cosmos/gov/v1/query_pb2.py +++ b/src/poktroll_clients/proto/cosmos/gov/v1/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/gov/v1/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/gov/v1/query.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/gov/v1/tx_pb2.py b/src/poktroll_clients/proto/cosmos/gov/v1/tx_pb2.py index 95b1c6d..303e952 100644 --- a/src/poktroll_clients/proto/cosmos/gov/v1/tx_pb2.py +++ b/src/poktroll_clients/proto/cosmos/gov/v1/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/gov/v1/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/gov/v1/tx.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/gov/v1beta1/gov_pb2.py b/src/poktroll_clients/proto/cosmos/gov/v1beta1/gov_pb2.py index 1e6e264..36f6455 100644 --- a/src/poktroll_clients/proto/cosmos/gov/v1beta1/gov_pb2.py +++ b/src/poktroll_clients/proto/cosmos/gov/v1beta1/gov_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/gov/v1beta1/gov.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/gov/v1beta1/gov.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/gov/v1beta1/query_pb2.py b/src/poktroll_clients/proto/cosmos/gov/v1beta1/query_pb2.py index 6335c6b..e2c00c6 100644 --- a/src/poktroll_clients/proto/cosmos/gov/v1beta1/query_pb2.py +++ b/src/poktroll_clients/proto/cosmos/gov/v1beta1/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/gov/v1beta1/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/gov/v1beta1/query.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/gov/v1beta1/tx_pb2.py b/src/poktroll_clients/proto/cosmos/gov/v1beta1/tx_pb2.py index 663fb65..a1b9fae 100644 --- a/src/poktroll_clients/proto/cosmos/gov/v1beta1/tx_pb2.py +++ b/src/poktroll_clients/proto/cosmos/gov/v1beta1/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/gov/v1beta1/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/gov/v1beta1/tx.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/msg/v1/msg_pb2.py b/src/poktroll_clients/proto/cosmos/msg/v1/msg_pb2.py index 6d28eb5..2215807 100644 --- a/src/poktroll_clients/proto/cosmos/msg/v1/msg_pb2.py +++ b/src/poktroll_clients/proto/cosmos/msg/v1/msg_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/msg/v1/msg.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/msg/v1/msg.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/query/v1/query_pb2.py b/src/poktroll_clients/proto/cosmos/query/v1/query_pb2.py index 12cbdaf..b613eb7 100644 --- a/src/poktroll_clients/proto/cosmos/query/v1/query_pb2.py +++ b/src/poktroll_clients/proto/cosmos/query/v1/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/query/v1/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/query/v1/query.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/tx/signing/v1beta1/signing_pb2.py b/src/poktroll_clients/proto/cosmos/tx/signing/v1beta1/signing_pb2.py index d664194..da5a0e0 100644 --- a/src/poktroll_clients/proto/cosmos/tx/signing/v1beta1/signing_pb2.py +++ b/src/poktroll_clients/proto/cosmos/tx/signing/v1beta1/signing_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/tx/signing/v1beta1/signing.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/tx/signing/v1beta1/signing.proto' ) diff --git a/src/poktroll_clients/proto/cosmos/tx/v1beta1/tx_pb2.py b/src/poktroll_clients/proto/cosmos/tx/v1beta1/tx_pb2.py index a919e25..6c1019f 100644 --- a/src/poktroll_clients/proto/cosmos/tx/v1beta1/tx_pb2.py +++ b/src/poktroll_clients/proto/cosmos/tx/v1beta1/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos/tx/v1beta1/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos/tx/v1beta1/tx.proto' ) diff --git a/src/poktroll_clients/proto/cosmos_proto/cosmos_pb2.py b/src/poktroll_clients/proto/cosmos_proto/cosmos_pb2.py index 691444a..10ba63a 100644 --- a/src/poktroll_clients/proto/cosmos_proto/cosmos_pb2.py +++ b/src/poktroll_clients/proto/cosmos_proto/cosmos_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cosmos_proto/cosmos.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'cosmos_proto/cosmos.proto' ) diff --git a/src/poktroll_clients/proto/gogoproto/gogo_pb2.py b/src/poktroll_clients/proto/gogoproto/gogo_pb2.py index ff369b1..3e13bcf 100644 --- a/src/poktroll_clients/proto/gogoproto/gogo_pb2.py +++ b/src/poktroll_clients/proto/gogoproto/gogo_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: gogoproto/gogo.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'gogoproto/gogo.proto' ) diff --git a/src/poktroll_clients/proto/google/api/annotations_pb2.py b/src/poktroll_clients/proto/google/api/annotations_pb2.py index babb2e7..4832cd3 100644 --- a/src/poktroll_clients/proto/google/api/annotations_pb2.py +++ b/src/poktroll_clients/proto/google/api/annotations_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: google/api/annotations.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'google/api/annotations.proto' ) diff --git a/src/poktroll_clients/proto/google/api/http_pb2.py b/src/poktroll_clients/proto/google/api/http_pb2.py index 13b7229..4ba2982 100644 --- a/src/poktroll_clients/proto/google/api/http_pb2.py +++ b/src/poktroll_clients/proto/google/api/http_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: google/api/http.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'google/api/http.proto' ) diff --git a/src/poktroll_clients/proto/google/protobuf/descriptor_pb2.py b/src/poktroll_clients/proto/google/protobuf/descriptor_pb2.py index 7978766..712e71f 100644 --- a/src/poktroll_clients/proto/google/protobuf/descriptor_pb2.py +++ b/src/poktroll_clients/proto/google/protobuf/descriptor_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: google/protobuf/descriptor.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'google/protobuf/descriptor.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/application/event_pb2.py b/src/poktroll_clients/proto/poktroll/application/event_pb2.py index 755ed01..97039bc 100644 --- a/src/poktroll_clients/proto/poktroll/application/event_pb2.py +++ b/src/poktroll_clients/proto/poktroll/application/event_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/application/event.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/application/event.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/application/genesis_pb2.py b/src/poktroll_clients/proto/poktroll/application/genesis_pb2.py index 839aeb0..13c7a7e 100644 --- a/src/poktroll_clients/proto/poktroll/application/genesis_pb2.py +++ b/src/poktroll_clients/proto/poktroll/application/genesis_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/application/genesis.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/application/genesis.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/application/module/module_pb2.py b/src/poktroll_clients/proto/poktroll/application/module/module_pb2.py index 82cfb74..dadf006 100644 --- a/src/poktroll_clients/proto/poktroll/application/module/module_pb2.py +++ b/src/poktroll_clients/proto/poktroll/application/module/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/application/module/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/application/module/module.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/application/params_pb2.py b/src/poktroll_clients/proto/poktroll/application/params_pb2.py index ad2bf24..4eb0282 100644 --- a/src/poktroll_clients/proto/poktroll/application/params_pb2.py +++ b/src/poktroll_clients/proto/poktroll/application/params_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/application/params.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/application/params.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/application/query_pb2.py b/src/poktroll_clients/proto/poktroll/application/query_pb2.py index 9099219..0606197 100644 --- a/src/poktroll_clients/proto/poktroll/application/query_pb2.py +++ b/src/poktroll_clients/proto/poktroll/application/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/application/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/application/query.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/application/tx_pb2.py b/src/poktroll_clients/proto/poktroll/application/tx_pb2.py index 30391f5..4973be3 100644 --- a/src/poktroll_clients/proto/poktroll/application/tx_pb2.py +++ b/src/poktroll_clients/proto/poktroll/application/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/application/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/application/tx.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/application/types_pb2.py b/src/poktroll_clients/proto/poktroll/application/types_pb2.py index 4899262..7338607 100644 --- a/src/poktroll_clients/proto/poktroll/application/types_pb2.py +++ b/src/poktroll_clients/proto/poktroll/application/types_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/application/types.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/application/types.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/gateway/event_pb2.py b/src/poktroll_clients/proto/poktroll/gateway/event_pb2.py index 03e073e..e82ad0f 100644 --- a/src/poktroll_clients/proto/poktroll/gateway/event_pb2.py +++ b/src/poktroll_clients/proto/poktroll/gateway/event_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/gateway/event.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/gateway/event.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/gateway/genesis_pb2.py b/src/poktroll_clients/proto/poktroll/gateway/genesis_pb2.py index d8b488f..c2efa72 100644 --- a/src/poktroll_clients/proto/poktroll/gateway/genesis_pb2.py +++ b/src/poktroll_clients/proto/poktroll/gateway/genesis_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/gateway/genesis.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/gateway/genesis.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/gateway/module/module_pb2.py b/src/poktroll_clients/proto/poktroll/gateway/module/module_pb2.py index 63f0a41..6583cf8 100644 --- a/src/poktroll_clients/proto/poktroll/gateway/module/module_pb2.py +++ b/src/poktroll_clients/proto/poktroll/gateway/module/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/gateway/module/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/gateway/module/module.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/gateway/params_pb2.py b/src/poktroll_clients/proto/poktroll/gateway/params_pb2.py index 54d144a..3fd1174 100644 --- a/src/poktroll_clients/proto/poktroll/gateway/params_pb2.py +++ b/src/poktroll_clients/proto/poktroll/gateway/params_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/gateway/params.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/gateway/params.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/gateway/query_pb2.py b/src/poktroll_clients/proto/poktroll/gateway/query_pb2.py index 305bd2e..3030b83 100644 --- a/src/poktroll_clients/proto/poktroll/gateway/query_pb2.py +++ b/src/poktroll_clients/proto/poktroll/gateway/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/gateway/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/gateway/query.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/gateway/tx_pb2.py b/src/poktroll_clients/proto/poktroll/gateway/tx_pb2.py index ad88459..11049c2 100644 --- a/src/poktroll_clients/proto/poktroll/gateway/tx_pb2.py +++ b/src/poktroll_clients/proto/poktroll/gateway/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/gateway/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/gateway/tx.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/gateway/types_pb2.py b/src/poktroll_clients/proto/poktroll/gateway/types_pb2.py index 42142f1..1c6dfd3 100644 --- a/src/poktroll_clients/proto/poktroll/gateway/types_pb2.py +++ b/src/poktroll_clients/proto/poktroll/gateway/types_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/gateway/types.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/gateway/types.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/proof/event_pb2.py b/src/poktroll_clients/proto/poktroll/proof/event_pb2.py index 11d0c59..080c0b0 100644 --- a/src/poktroll_clients/proto/poktroll/proof/event_pb2.py +++ b/src/poktroll_clients/proto/poktroll/proof/event_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/proof/event.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/proof/event.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/proof/genesis_pb2.py b/src/poktroll_clients/proto/poktroll/proof/genesis_pb2.py index b059514..28f07de 100644 --- a/src/poktroll_clients/proto/poktroll/proof/genesis_pb2.py +++ b/src/poktroll_clients/proto/poktroll/proof/genesis_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/proof/genesis.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/proof/genesis.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/proof/module/module_pb2.py b/src/poktroll_clients/proto/poktroll/proof/module/module_pb2.py index ef4ab6f..46495fe 100644 --- a/src/poktroll_clients/proto/poktroll/proof/module/module_pb2.py +++ b/src/poktroll_clients/proto/poktroll/proof/module/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/proof/module/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/proof/module/module.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/proof/params_pb2.py b/src/poktroll_clients/proto/poktroll/proof/params_pb2.py index 9094da8..e3877d6 100644 --- a/src/poktroll_clients/proto/poktroll/proof/params_pb2.py +++ b/src/poktroll_clients/proto/poktroll/proof/params_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/proof/params.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/proof/params.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/proof/query_pb2.py b/src/poktroll_clients/proto/poktroll/proof/query_pb2.py index 6828e71..cde7164 100644 --- a/src/poktroll_clients/proto/poktroll/proof/query_pb2.py +++ b/src/poktroll_clients/proto/poktroll/proof/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/proof/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/proof/query.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/proof/tx_pb2.py b/src/poktroll_clients/proto/poktroll/proof/tx_pb2.py index 582c574..d093ed0 100644 --- a/src/poktroll_clients/proto/poktroll/proof/tx_pb2.py +++ b/src/poktroll_clients/proto/poktroll/proof/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/proof/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/proof/tx.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/proof/types_pb2.py b/src/poktroll_clients/proto/poktroll/proof/types_pb2.py index 433d643..4dec416 100644 --- a/src/poktroll_clients/proto/poktroll/proof/types_pb2.py +++ b/src/poktroll_clients/proto/poktroll/proof/types_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/proof/types.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/proof/types.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/service/event_pb2.py b/src/poktroll_clients/proto/poktroll/service/event_pb2.py index 63b4c88..68edf0e 100644 --- a/src/poktroll_clients/proto/poktroll/service/event_pb2.py +++ b/src/poktroll_clients/proto/poktroll/service/event_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/service/event.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/service/event.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/service/genesis_pb2.py b/src/poktroll_clients/proto/poktroll/service/genesis_pb2.py index b0ea23c..4b621e3 100644 --- a/src/poktroll_clients/proto/poktroll/service/genesis_pb2.py +++ b/src/poktroll_clients/proto/poktroll/service/genesis_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/service/genesis.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/service/genesis.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/service/module/module_pb2.py b/src/poktroll_clients/proto/poktroll/service/module/module_pb2.py index b0fbc46..477314a 100644 --- a/src/poktroll_clients/proto/poktroll/service/module/module_pb2.py +++ b/src/poktroll_clients/proto/poktroll/service/module/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/service/module/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/service/module/module.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/service/params_pb2.py b/src/poktroll_clients/proto/poktroll/service/params_pb2.py index 2c54e07..6c9edfe 100644 --- a/src/poktroll_clients/proto/poktroll/service/params_pb2.py +++ b/src/poktroll_clients/proto/poktroll/service/params_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/service/params.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/service/params.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/service/query_pb2.py b/src/poktroll_clients/proto/poktroll/service/query_pb2.py index da7e917..b5c2a5c 100644 --- a/src/poktroll_clients/proto/poktroll/service/query_pb2.py +++ b/src/poktroll_clients/proto/poktroll/service/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/service/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/service/query.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/service/relay_mining_difficulty_pb2.py b/src/poktroll_clients/proto/poktroll/service/relay_mining_difficulty_pb2.py index 1ec3e94..0b93567 100644 --- a/src/poktroll_clients/proto/poktroll/service/relay_mining_difficulty_pb2.py +++ b/src/poktroll_clients/proto/poktroll/service/relay_mining_difficulty_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/service/relay_mining_difficulty.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/service/relay_mining_difficulty.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/service/relay_pb2.py b/src/poktroll_clients/proto/poktroll/service/relay_pb2.py index 23578f0..9f6b3d3 100644 --- a/src/poktroll_clients/proto/poktroll/service/relay_pb2.py +++ b/src/poktroll_clients/proto/poktroll/service/relay_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/service/relay.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/service/relay.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/service/tx_pb2.py b/src/poktroll_clients/proto/poktroll/service/tx_pb2.py index cf3a9b4..bb379e6 100644 --- a/src/poktroll_clients/proto/poktroll/service/tx_pb2.py +++ b/src/poktroll_clients/proto/poktroll/service/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/service/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/service/tx.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/session/genesis_pb2.py b/src/poktroll_clients/proto/poktroll/session/genesis_pb2.py index 25ace16..df3853a 100644 --- a/src/poktroll_clients/proto/poktroll/session/genesis_pb2.py +++ b/src/poktroll_clients/proto/poktroll/session/genesis_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/session/genesis.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/session/genesis.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/session/module/module_pb2.py b/src/poktroll_clients/proto/poktroll/session/module/module_pb2.py index 12fd42f..dcfd520 100644 --- a/src/poktroll_clients/proto/poktroll/session/module/module_pb2.py +++ b/src/poktroll_clients/proto/poktroll/session/module/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/session/module/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/session/module/module.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/session/params_pb2.py b/src/poktroll_clients/proto/poktroll/session/params_pb2.py index 4f294fd..5914ef9 100644 --- a/src/poktroll_clients/proto/poktroll/session/params_pb2.py +++ b/src/poktroll_clients/proto/poktroll/session/params_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/session/params.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/session/params.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/session/query_pb2.py b/src/poktroll_clients/proto/poktroll/session/query_pb2.py index 7cab0d1..b7608d6 100644 --- a/src/poktroll_clients/proto/poktroll/session/query_pb2.py +++ b/src/poktroll_clients/proto/poktroll/session/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/session/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/session/query.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/session/tx_pb2.py b/src/poktroll_clients/proto/poktroll/session/tx_pb2.py index 904a1a8..ede9f7b 100644 --- a/src/poktroll_clients/proto/poktroll/session/tx_pb2.py +++ b/src/poktroll_clients/proto/poktroll/session/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/session/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/session/tx.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/session/types_pb2.py b/src/poktroll_clients/proto/poktroll/session/types_pb2.py index 8fb4a8c..65ee240 100644 --- a/src/poktroll_clients/proto/poktroll/session/types_pb2.py +++ b/src/poktroll_clients/proto/poktroll/session/types_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/session/types.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/session/types.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/shared/genesis_pb2.py b/src/poktroll_clients/proto/poktroll/shared/genesis_pb2.py index 2278a1d..e0d3ab7 100644 --- a/src/poktroll_clients/proto/poktroll/shared/genesis_pb2.py +++ b/src/poktroll_clients/proto/poktroll/shared/genesis_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/shared/genesis.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/shared/genesis.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/shared/module/module_pb2.py b/src/poktroll_clients/proto/poktroll/shared/module/module_pb2.py index 3fb8088..69bd7bd 100644 --- a/src/poktroll_clients/proto/poktroll/shared/module/module_pb2.py +++ b/src/poktroll_clients/proto/poktroll/shared/module/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/shared/module/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/shared/module/module.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/shared/params_pb2.py b/src/poktroll_clients/proto/poktroll/shared/params_pb2.py index a7857d9..8ac0fce 100644 --- a/src/poktroll_clients/proto/poktroll/shared/params_pb2.py +++ b/src/poktroll_clients/proto/poktroll/shared/params_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/shared/params.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/shared/params.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/shared/query_pb2.py b/src/poktroll_clients/proto/poktroll/shared/query_pb2.py index b3c066a..b839ba3 100644 --- a/src/poktroll_clients/proto/poktroll/shared/query_pb2.py +++ b/src/poktroll_clients/proto/poktroll/shared/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/shared/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/shared/query.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/shared/service_pb2.py b/src/poktroll_clients/proto/poktroll/shared/service_pb2.py index cc2afb2..6ffb96b 100644 --- a/src/poktroll_clients/proto/poktroll/shared/service_pb2.py +++ b/src/poktroll_clients/proto/poktroll/shared/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/shared/service.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/shared/service.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/shared/supplier_pb2.py b/src/poktroll_clients/proto/poktroll/shared/supplier_pb2.py index c4593c3..a5af2e9 100644 --- a/src/poktroll_clients/proto/poktroll/shared/supplier_pb2.py +++ b/src/poktroll_clients/proto/poktroll/shared/supplier_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/shared/supplier.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/shared/supplier.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/shared/tx_pb2.py b/src/poktroll_clients/proto/poktroll/shared/tx_pb2.py index aa1d2e6..56011b7 100644 --- a/src/poktroll_clients/proto/poktroll/shared/tx_pb2.py +++ b/src/poktroll_clients/proto/poktroll/shared/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/shared/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/shared/tx.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/supplier/event_pb2.py b/src/poktroll_clients/proto/poktroll/supplier/event_pb2.py index 5f02f1e..ec2800b 100644 --- a/src/poktroll_clients/proto/poktroll/supplier/event_pb2.py +++ b/src/poktroll_clients/proto/poktroll/supplier/event_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/supplier/event.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/supplier/event.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/supplier/genesis_pb2.py b/src/poktroll_clients/proto/poktroll/supplier/genesis_pb2.py index 7e5633c..466a9e2 100644 --- a/src/poktroll_clients/proto/poktroll/supplier/genesis_pb2.py +++ b/src/poktroll_clients/proto/poktroll/supplier/genesis_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/supplier/genesis.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/supplier/genesis.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/supplier/module/module_pb2.py b/src/poktroll_clients/proto/poktroll/supplier/module/module_pb2.py index 60fd712..7afb74f 100644 --- a/src/poktroll_clients/proto/poktroll/supplier/module/module_pb2.py +++ b/src/poktroll_clients/proto/poktroll/supplier/module/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/supplier/module/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/supplier/module/module.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/supplier/params_pb2.py b/src/poktroll_clients/proto/poktroll/supplier/params_pb2.py index ef18947..90fb556 100644 --- a/src/poktroll_clients/proto/poktroll/supplier/params_pb2.py +++ b/src/poktroll_clients/proto/poktroll/supplier/params_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/supplier/params.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/supplier/params.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/supplier/query_pb2.py b/src/poktroll_clients/proto/poktroll/supplier/query_pb2.py index 4a4ca65..3d04a9c 100644 --- a/src/poktroll_clients/proto/poktroll/supplier/query_pb2.py +++ b/src/poktroll_clients/proto/poktroll/supplier/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/supplier/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/supplier/query.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/supplier/tx_pb2.py b/src/poktroll_clients/proto/poktroll/supplier/tx_pb2.py index f145e95..6fcf8c0 100644 --- a/src/poktroll_clients/proto/poktroll/supplier/tx_pb2.py +++ b/src/poktroll_clients/proto/poktroll/supplier/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/supplier/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/supplier/tx.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/tokenomics/event_pb2.py b/src/poktroll_clients/proto/poktroll/tokenomics/event_pb2.py index e96f800..7ceb20a 100644 --- a/src/poktroll_clients/proto/poktroll/tokenomics/event_pb2.py +++ b/src/poktroll_clients/proto/poktroll/tokenomics/event_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/tokenomics/event.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/tokenomics/event.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/tokenomics/genesis_pb2.py b/src/poktroll_clients/proto/poktroll/tokenomics/genesis_pb2.py index 8b4ceb8..264a206 100644 --- a/src/poktroll_clients/proto/poktroll/tokenomics/genesis_pb2.py +++ b/src/poktroll_clients/proto/poktroll/tokenomics/genesis_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/tokenomics/genesis.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/tokenomics/genesis.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/tokenomics/module/module_pb2.py b/src/poktroll_clients/proto/poktroll/tokenomics/module/module_pb2.py index e0e7bc9..1d9eccd 100644 --- a/src/poktroll_clients/proto/poktroll/tokenomics/module/module_pb2.py +++ b/src/poktroll_clients/proto/poktroll/tokenomics/module/module_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/tokenomics/module/module.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/tokenomics/module/module.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/tokenomics/params_pb2.py b/src/poktroll_clients/proto/poktroll/tokenomics/params_pb2.py index 2c5a235..6f98448 100644 --- a/src/poktroll_clients/proto/poktroll/tokenomics/params_pb2.py +++ b/src/poktroll_clients/proto/poktroll/tokenomics/params_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/tokenomics/params.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/tokenomics/params.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/tokenomics/query_pb2.py b/src/poktroll_clients/proto/poktroll/tokenomics/query_pb2.py index 3b831d5..e525a82 100644 --- a/src/poktroll_clients/proto/poktroll/tokenomics/query_pb2.py +++ b/src/poktroll_clients/proto/poktroll/tokenomics/query_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/tokenomics/query.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/tokenomics/query.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/tokenomics/tx_pb2.py b/src/poktroll_clients/proto/poktroll/tokenomics/tx_pb2.py index 0b16e21..f91cca7 100644 --- a/src/poktroll_clients/proto/poktroll/tokenomics/tx_pb2.py +++ b/src/poktroll_clients/proto/poktroll/tokenomics/tx_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/tokenomics/tx.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/tokenomics/tx.proto' ) diff --git a/src/poktroll_clients/proto/poktroll/tokenomics/types_pb2.py b/src/poktroll_clients/proto/poktroll/tokenomics/types_pb2.py index 19d0152..e4d1a78 100644 --- a/src/poktroll_clients/proto/poktroll/tokenomics/types_pb2.py +++ b/src/poktroll_clients/proto/poktroll/tokenomics/types_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: poktroll/tokenomics/types.proto -# Protobuf Python Version: 5.28.1 +# Protobuf Python Version: 5.28.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 1, + 3, '', 'poktroll/tokenomics/types.proto' ) diff --git a/src/poktroll_clients/proto/tendermint/abci/types_pb2.py b/src/poktroll_clients/proto/tendermint/abci/types_pb2.py new file mode 100644 index 0000000..0cdb369 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/abci/types_pb2.py @@ -0,0 +1,209 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/abci/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/abci/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.tendermint.crypto import proof_pb2 as tendermint_dot_crypto_dot_proof__pb2 +from poktroll_clients.proto.tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 +from poktroll_clients.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 +from poktroll_clients.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a tendermint/types/validator.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\xbf\t\n\x07Request\x12\x32\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00R\x04\x65\x63ho\x12\x35\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00R\x05\x66lush\x12\x32\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00R\x04info\x12\x42\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00R\tinitChain\x12\x35\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00R\x05query\x12<\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00R\x07\x63heckTx\x12\x38\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00R\x06\x63ommit\x12N\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00R\rlistSnapshots\x12N\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00R\rofferSnapshot\x12[\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12^\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12T\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00R\x0fprepareProposal\x12T\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00R\x0fprocessProposal\x12\x45\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00R\nextendVote\x12\x61\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12N\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00R\rfinalizeBlockB\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\'\n\x0bRequestEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0e\n\x0cRequestFlush\"\x90\x01\n\x0bRequestInfo\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12#\n\rblock_version\x18\x02 \x01(\x04R\x0c\x62lockVersion\x12\x1f\n\x0bp2p_version\x18\x03 \x01(\x04R\np2pVersion\x12!\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\tR\x0b\x61\x62\x63iVersion\"\xcc\x02\n\x10RequestInitChain\x12\x38\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\x12L\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12&\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0cR\rappStateBytes\x12%\n\x0einitial_height\x18\x06 \x01(\x03R\rinitialHeight\"d\n\x0cRequestQuery\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x14\n\x05prove\x18\x04 \x01(\x08R\x05prove\"R\n\x0eRequestCheckTx\x12\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\x12\x30\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxTypeR\x04type\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"h\n\x14RequestOfferSnapshot\x12\x35\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.SnapshotR\x08snapshot\x12\x19\n\x08\x61pp_hash\x18\x02 \x01(\x0cR\x07\x61ppHash\"`\n\x18RequestLoadSnapshotChunk\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x14\n\x05\x63hunk\x18\x03 \x01(\rR\x05\x63hunk\"_\n\x19RequestApplySnapshotChunk\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x63hunk\x18\x02 \x01(\x0cR\x05\x63hunk\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\"\x98\x03\n\x16RequestPrepareProposal\x12 \n\x0cmax_tx_bytes\x18\x01 \x01(\x03R\nmaxTxBytes\x12\x10\n\x03txs\x18\x02 \x03(\x0cR\x03txs\x12U\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00R\x0flocalLastCommit\x12\x44\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x88\x03\n\x16RequestProcessProposal\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x83\x03\n\x11RequestExtendVote\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x10\n\x03txs\x18\x04 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x9c\x01\n\x1aRequestVerifyVoteExtension\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12%\n\x0evote_extension\x18\x04 \x01(\x0cR\rvoteExtension\"\x84\x03\n\x14RequestFinalizeBlock\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12Q\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x11\x64\x65\x63idedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x94\n\n\x08Response\x12\x42\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00R\texception\x12\x33\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00R\x04\x65\x63ho\x12\x36\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00R\x05\x66lush\x12\x33\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00R\x04info\x12\x43\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00R\tinitChain\x12\x36\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00R\x05query\x12=\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00R\x07\x63heckTx\x12\x39\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00R\x06\x63ommit\x12O\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00R\rlistSnapshots\x12O\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00R\rofferSnapshot\x12\\\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12_\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12U\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00R\x0fprepareProposal\x12U\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00R\x0fprocessProposal\x12\x46\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00R\nextendVote\x12\x62\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12O\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00R\rfinalizeBlockB\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\x14\n\x05\x65rror\x18\x01 \x01(\tR\x05\x65rror\"(\n\x0cResponseEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0f\n\rResponseFlush\"\xb8\x01\n\x0cResponseInfo\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\tR\x04\x64\x61ta\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x1f\n\x0b\x61pp_version\x18\x03 \x01(\x04R\nappVersion\x12*\n\x11last_block_height\x18\x04 \x01(\x03R\x0flastBlockHeight\x12-\n\x13last_block_app_hash\x18\x05 \x01(\x0cR\x10lastBlockAppHash\"\xc4\x01\n\x11ResponseInitChain\x12L\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12\x19\n\x08\x61pp_hash\x18\x03 \x01(\x0cR\x07\x61ppHash\"\xf7\x01\n\rResponseQuery\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x14\n\x05index\x18\x05 \x01(\x03R\x05index\x12\x10\n\x03key\x18\x06 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x07 \x01(\x0cR\x05value\x12\x38\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOpsR\x08proofOps\x12\x16\n\x06height\x18\t \x01(\x03R\x06height\x12\x1c\n\tcodespace\x18\n \x01(\tR\tcodespace\"\xaa\x02\n\x0fResponseCheckTx\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespaceJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"A\n\x0eResponseCommit\x12#\n\rretain_height\x18\x03 \x01(\x03R\x0cretainHeightJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"P\n\x15ResponseListSnapshots\x12\x37\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.SnapshotR\tsnapshots\"\xbe\x01\n\x15ResponseOfferSnapshot\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.ResultR\x06result\"^\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\"1\n\x19ResponseLoadSnapshotChunk\x12\x14\n\x05\x63hunk\x18\x01 \x01(\x0cR\x05\x63hunk\"\x98\x02\n\x1aResponseApplySnapshotChunk\x12J\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.ResultR\x06result\x12%\n\x0erefetch_chunks\x18\x02 \x03(\rR\rrefetchChunks\x12%\n\x0ereject_senders\x18\x03 \x03(\tR\rrejectSenders\"`\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\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xa1\x01\n\x17ResponseProcessProposal\x12O\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatusR\x06status\"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%\n\x0evote_extension\x18\x01 \x01(\x0cR\rvoteExtension\"\xa5\x01\n\x1bResponseVerifyVoteExtension\x12Q\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatusR\x06status\"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\"\xea\x02\n\x15ResponseFinalizeBlock\x12H\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12<\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResultR\ttxResults\x12S\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\x10validatorUpdates\x12Y\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x15\x63onsensusParamUpdates\x12\x19\n\x08\x61pp_hash\x18\x05 \x01(\x0cR\x07\x61ppHash\"Y\n\nCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12\x35\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"i\n\x12\x45xtendedCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12=\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"z\n\x05\x45vent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12]\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitemptyR\nattributes\"N\n\x0e\x45ventAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x14\n\x05index\x18\x03 \x01(\x08R\x05index\"\x80\x02\n\x0c\x45xecTxResult\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespace\"\x85\x01\n\x08TxResult\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05index\x18\x02 \x01(\rR\x05index\x12\x0e\n\x02tx\x18\x03 \x01(\x0cR\x02tx\x12;\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00R\x06result\";\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\"d\n\x0fValidatorUpdate\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power\"\x93\x01\n\x08VoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x41\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\xf3\x01\n\x10\x45xtendedVoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12%\n\x0evote_extension\x18\x03 \x01(\x0cR\rvoteExtension\x12/\n\x13\x65xtension_signature\x18\x04 \x01(\x0cR\x12\x65xtensionSignature\x12\x41\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\x83\x02\n\x0bMisbehavior\x12\x34\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorTypeR\x04type\x12>\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12,\n\x12total_voting_power\x18\x05 \x01(\x03R\x10totalVotingPower\"\x82\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x1a\n\x08metadata\x18\x05 \x01(\x0cR\x08metadata*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') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.abci.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z\'github.com/cometbft/cometbft/abci/types' + _globals['_CHECKTXTYPE'].values_by_name["NEW"]._loaded_options = None + _globals['_CHECKTXTYPE'].values_by_name["NEW"]._serialized_options = b'\212\235 \003New' + _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._loaded_options = None + _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._serialized_options = b'\212\235 \007Recheck' + _globals['_REQUESTINITCHAIN'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTINITCHAIN'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._loaded_options = None + _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._loaded_options = None + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._loaded_options = None + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._loaded_options = None + _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._loaded_options = None + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._loaded_options = None + _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _globals['_RESPONSECHECKTX'].fields_by_name['events']._loaded_options = None + _globals['_RESPONSECHECKTX'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._loaded_options = None + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._loaded_options = None + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _globals['_COMMITINFO'].fields_by_name['votes']._loaded_options = None + _globals['_COMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' + _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._loaded_options = None + _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' + _globals['_EVENT'].fields_by_name['attributes']._loaded_options = None + _globals['_EVENT'].fields_by_name['attributes']._serialized_options = b'\310\336\037\000\352\336\037\024attributes,omitempty' + _globals['_EXECTXRESULT'].fields_by_name['events']._loaded_options = None + _globals['_EXECTXRESULT'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_TXRESULT'].fields_by_name['result']._loaded_options = None + _globals['_TXRESULT'].fields_by_name['result']._serialized_options = b'\310\336\037\000' + _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._loaded_options = None + _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' + _globals['_VOTEINFO'].fields_by_name['validator']._loaded_options = None + _globals['_VOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._loaded_options = None + _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _globals['_MISBEHAVIOR'].fields_by_name['validator']._loaded_options = None + _globals['_MISBEHAVIOR'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _globals['_MISBEHAVIOR'].fields_by_name['time']._loaded_options = None + _globals['_MISBEHAVIOR'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_CHECKTXTYPE']._serialized_start=9832 + _globals['_CHECKTXTYPE']._serialized_end=9889 + _globals['_MISBEHAVIORTYPE']._serialized_start=9891 + _globals['_MISBEHAVIORTYPE']._serialized_end=9966 + _globals['_REQUEST']._serialized_start=230 + _globals['_REQUEST']._serialized_end=1445 + _globals['_REQUESTECHO']._serialized_start=1447 + _globals['_REQUESTECHO']._serialized_end=1486 + _globals['_REQUESTFLUSH']._serialized_start=1488 + _globals['_REQUESTFLUSH']._serialized_end=1502 + _globals['_REQUESTINFO']._serialized_start=1505 + _globals['_REQUESTINFO']._serialized_end=1649 + _globals['_REQUESTINITCHAIN']._serialized_start=1652 + _globals['_REQUESTINITCHAIN']._serialized_end=1984 + _globals['_REQUESTQUERY']._serialized_start=1986 + _globals['_REQUESTQUERY']._serialized_end=2086 + _globals['_REQUESTCHECKTX']._serialized_start=2088 + _globals['_REQUESTCHECKTX']._serialized_end=2170 + _globals['_REQUESTCOMMIT']._serialized_start=2172 + _globals['_REQUESTCOMMIT']._serialized_end=2187 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=2189 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=2211 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=2213 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=2317 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=2319 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=2415 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2417 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2512 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2515 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2923 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2926 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=3318 + _globals['_REQUESTEXTENDVOTE']._serialized_start=3321 + _globals['_REQUESTEXTENDVOTE']._serialized_end=3708 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=3711 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=3867 + _globals['_REQUESTFINALIZEBLOCK']._serialized_start=3870 + _globals['_REQUESTFINALIZEBLOCK']._serialized_end=4258 + _globals['_RESPONSE']._serialized_start=4261 + _globals['_RESPONSE']._serialized_end=5561 + _globals['_RESPONSEEXCEPTION']._serialized_start=5563 + _globals['_RESPONSEEXCEPTION']._serialized_end=5604 + _globals['_RESPONSEECHO']._serialized_start=5606 + _globals['_RESPONSEECHO']._serialized_end=5646 + _globals['_RESPONSEFLUSH']._serialized_start=5648 + _globals['_RESPONSEFLUSH']._serialized_end=5663 + _globals['_RESPONSEINFO']._serialized_start=5666 + _globals['_RESPONSEINFO']._serialized_end=5850 + _globals['_RESPONSEINITCHAIN']._serialized_start=5853 + _globals['_RESPONSEINITCHAIN']._serialized_end=6049 + _globals['_RESPONSEQUERY']._serialized_start=6052 + _globals['_RESPONSEQUERY']._serialized_end=6299 + _globals['_RESPONSECHECKTX']._serialized_start=6302 + _globals['_RESPONSECHECKTX']._serialized_end=6600 + _globals['_RESPONSECOMMIT']._serialized_start=6602 + _globals['_RESPONSECOMMIT']._serialized_end=6667 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=6669 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=6749 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=6752 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=6942 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=6848 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=6942 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=6944 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=6993 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=6996 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=7276 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=7180 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=7276 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=7278 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=7321 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=7324 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=7485 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=7432 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=7485 + _globals['_RESPONSEEXTENDVOTE']._serialized_start=7487 + _globals['_RESPONSEEXTENDVOTE']._serialized_end=7546 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=7549 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=7714 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=7663 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=7714 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=7717 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=8079 + _globals['_COMMITINFO']._serialized_start=8081 + _globals['_COMMITINFO']._serialized_end=8170 + _globals['_EXTENDEDCOMMITINFO']._serialized_start=8172 + _globals['_EXTENDEDCOMMITINFO']._serialized_end=8277 + _globals['_EVENT']._serialized_start=8279 + _globals['_EVENT']._serialized_end=8401 + _globals['_EVENTATTRIBUTE']._serialized_start=8403 + _globals['_EVENTATTRIBUTE']._serialized_end=8481 + _globals['_EXECTXRESULT']._serialized_start=8484 + _globals['_EXECTXRESULT']._serialized_end=8740 + _globals['_TXRESULT']._serialized_start=8743 + _globals['_TXRESULT']._serialized_end=8876 + _globals['_VALIDATOR']._serialized_start=8878 + _globals['_VALIDATOR']._serialized_end=8937 + _globals['_VALIDATORUPDATE']._serialized_start=8939 + _globals['_VALIDATORUPDATE']._serialized_end=9039 + _globals['_VOTEINFO']._serialized_start=9042 + _globals['_VOTEINFO']._serialized_end=9189 + _globals['_EXTENDEDVOTEINFO']._serialized_start=9192 + _globals['_EXTENDEDVOTEINFO']._serialized_end=9435 + _globals['_MISBEHAVIOR']._serialized_start=9438 + _globals['_MISBEHAVIOR']._serialized_end=9697 + _globals['_SNAPSHOT']._serialized_start=9700 + _globals['_SNAPSHOT']._serialized_end=9830 + _globals['_ABCI']._serialized_start=9969 + _globals['_ABCI']._serialized_end=11406 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/abci/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/abci/types_pb2.pyi new file mode 100644 index 0000000..1c9b768 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/abci/types_pb2.pyi @@ -0,0 +1,1477 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message +import google.protobuf.timestamp_pb2 +import sys +import tendermint.crypto.keys_pb2 +import tendermint.crypto.proof_pb2 +import tendermint.types.params_pb2 +import tendermint.types.validator_pb2 +import typing + +if sys.version_info >= (3, 10): + import typing as typing_extensions +else: + import typing_extensions + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +class _CheckTxType: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + +class _CheckTxTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CheckTxType.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + NEW: _CheckTxType.ValueType # 0 + RECHECK: _CheckTxType.ValueType # 1 + +class CheckTxType(_CheckTxType, metaclass=_CheckTxTypeEnumTypeWrapper): ... + +NEW: CheckTxType.ValueType # 0 +RECHECK: CheckTxType.ValueType # 1 +global___CheckTxType = CheckTxType + +class _MisbehaviorType: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + +class _MisbehaviorTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_MisbehaviorType.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + UNKNOWN: _MisbehaviorType.ValueType # 0 + DUPLICATE_VOTE: _MisbehaviorType.ValueType # 1 + LIGHT_CLIENT_ATTACK: _MisbehaviorType.ValueType # 2 + +class MisbehaviorType(_MisbehaviorType, metaclass=_MisbehaviorTypeEnumTypeWrapper): ... + +UNKNOWN: MisbehaviorType.ValueType # 0 +DUPLICATE_VOTE: MisbehaviorType.ValueType # 1 +LIGHT_CLIENT_ATTACK: MisbehaviorType.ValueType # 2 +global___MisbehaviorType = MisbehaviorType + +@typing.final +class Request(google.protobuf.message.Message): + """---------------------------------------- + Request types + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ECHO_FIELD_NUMBER: builtins.int + FLUSH_FIELD_NUMBER: builtins.int + INFO_FIELD_NUMBER: builtins.int + INIT_CHAIN_FIELD_NUMBER: builtins.int + QUERY_FIELD_NUMBER: builtins.int + CHECK_TX_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + LIST_SNAPSHOTS_FIELD_NUMBER: builtins.int + OFFER_SNAPSHOT_FIELD_NUMBER: builtins.int + LOAD_SNAPSHOT_CHUNK_FIELD_NUMBER: builtins.int + APPLY_SNAPSHOT_CHUNK_FIELD_NUMBER: builtins.int + PREPARE_PROPOSAL_FIELD_NUMBER: builtins.int + PROCESS_PROPOSAL_FIELD_NUMBER: builtins.int + EXTEND_VOTE_FIELD_NUMBER: builtins.int + VERIFY_VOTE_EXTENSION_FIELD_NUMBER: builtins.int + FINALIZE_BLOCK_FIELD_NUMBER: builtins.int + @property + def echo(self) -> global___RequestEcho: ... + @property + def flush(self) -> global___RequestFlush: ... + @property + def info(self) -> global___RequestInfo: ... + @property + def init_chain(self) -> global___RequestInitChain: ... + @property + def query(self) -> global___RequestQuery: ... + @property + def check_tx(self) -> global___RequestCheckTx: ... + @property + def commit(self) -> global___RequestCommit: ... + @property + def list_snapshots(self) -> global___RequestListSnapshots: ... + @property + def offer_snapshot(self) -> global___RequestOfferSnapshot: ... + @property + def load_snapshot_chunk(self) -> global___RequestLoadSnapshotChunk: ... + @property + def apply_snapshot_chunk(self) -> global___RequestApplySnapshotChunk: ... + @property + def prepare_proposal(self) -> global___RequestPrepareProposal: ... + @property + def process_proposal(self) -> global___RequestProcessProposal: ... + @property + def extend_vote(self) -> global___RequestExtendVote: ... + @property + def verify_vote_extension(self) -> global___RequestVerifyVoteExtension: ... + @property + def finalize_block(self) -> global___RequestFinalizeBlock: ... + def __init__( + self, + *, + echo: global___RequestEcho | None = ..., + flush: global___RequestFlush | None = ..., + info: global___RequestInfo | None = ..., + init_chain: global___RequestInitChain | None = ..., + query: global___RequestQuery | None = ..., + check_tx: global___RequestCheckTx | None = ..., + commit: global___RequestCommit | None = ..., + list_snapshots: global___RequestListSnapshots | None = ..., + offer_snapshot: global___RequestOfferSnapshot | None = ..., + load_snapshot_chunk: global___RequestLoadSnapshotChunk | None = ..., + apply_snapshot_chunk: global___RequestApplySnapshotChunk | None = ..., + prepare_proposal: global___RequestPrepareProposal | None = ..., + process_proposal: global___RequestProcessProposal | None = ..., + extend_vote: global___RequestExtendVote | None = ..., + verify_vote_extension: global___RequestVerifyVoteExtension | None = ..., + finalize_block: global___RequestFinalizeBlock | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["apply_snapshot_chunk", b"apply_snapshot_chunk", "check_tx", b"check_tx", "commit", b"commit", "echo", b"echo", "extend_vote", b"extend_vote", "finalize_block", b"finalize_block", "flush", b"flush", "info", b"info", "init_chain", b"init_chain", "list_snapshots", b"list_snapshots", "load_snapshot_chunk", b"load_snapshot_chunk", "offer_snapshot", b"offer_snapshot", "prepare_proposal", b"prepare_proposal", "process_proposal", b"process_proposal", "query", b"query", "value", b"value", "verify_vote_extension", b"verify_vote_extension"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["apply_snapshot_chunk", b"apply_snapshot_chunk", "check_tx", b"check_tx", "commit", b"commit", "echo", b"echo", "extend_vote", b"extend_vote", "finalize_block", b"finalize_block", "flush", b"flush", "info", b"info", "init_chain", b"init_chain", "list_snapshots", b"list_snapshots", "load_snapshot_chunk", b"load_snapshot_chunk", "offer_snapshot", b"offer_snapshot", "prepare_proposal", b"prepare_proposal", "process_proposal", b"process_proposal", "query", b"query", "value", b"value", "verify_vote_extension", b"verify_vote_extension"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["value", b"value"]) -> typing.Literal["echo", "flush", "info", "init_chain", "query", "check_tx", "commit", "list_snapshots", "offer_snapshot", "load_snapshot_chunk", "apply_snapshot_chunk", "prepare_proposal", "process_proposal", "extend_vote", "verify_vote_extension", "finalize_block"] | None: ... + +global___Request = Request + +@typing.final +class RequestEcho(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + MESSAGE_FIELD_NUMBER: builtins.int + message: builtins.str + def __init__( + self, + *, + message: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["message", b"message"]) -> None: ... + +global___RequestEcho = RequestEcho + +@typing.final +class RequestFlush(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___RequestFlush = RequestFlush + +@typing.final +class RequestInfo(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VERSION_FIELD_NUMBER: builtins.int + BLOCK_VERSION_FIELD_NUMBER: builtins.int + P2P_VERSION_FIELD_NUMBER: builtins.int + ABCI_VERSION_FIELD_NUMBER: builtins.int + version: builtins.str + block_version: builtins.int + p2p_version: builtins.int + abci_version: builtins.str + def __init__( + self, + *, + version: builtins.str = ..., + block_version: builtins.int = ..., + p2p_version: builtins.int = ..., + abci_version: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["abci_version", b"abci_version", "block_version", b"block_version", "p2p_version", b"p2p_version", "version", b"version"]) -> None: ... + +global___RequestInfo = RequestInfo + +@typing.final +class RequestInitChain(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TIME_FIELD_NUMBER: builtins.int + CHAIN_ID_FIELD_NUMBER: builtins.int + CONSENSUS_PARAMS_FIELD_NUMBER: builtins.int + VALIDATORS_FIELD_NUMBER: builtins.int + APP_STATE_BYTES_FIELD_NUMBER: builtins.int + INITIAL_HEIGHT_FIELD_NUMBER: builtins.int + chain_id: builtins.str + app_state_bytes: builtins.bytes + initial_height: builtins.int + @property + def time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def consensus_params(self) -> tendermint.types.params_pb2.ConsensusParams: ... + @property + def validators(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ValidatorUpdate]: ... + def __init__( + self, + *, + time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + chain_id: builtins.str = ..., + consensus_params: tendermint.types.params_pb2.ConsensusParams | None = ..., + validators: collections.abc.Iterable[global___ValidatorUpdate] | None = ..., + app_state_bytes: builtins.bytes = ..., + initial_height: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["consensus_params", b"consensus_params", "time", b"time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["app_state_bytes", b"app_state_bytes", "chain_id", b"chain_id", "consensus_params", b"consensus_params", "initial_height", b"initial_height", "time", b"time", "validators", b"validators"]) -> None: ... + +global___RequestInitChain = RequestInitChain + +@typing.final +class RequestQuery(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + DATA_FIELD_NUMBER: builtins.int + PATH_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + PROVE_FIELD_NUMBER: builtins.int + data: builtins.bytes + path: builtins.str + height: builtins.int + prove: builtins.bool + def __init__( + self, + *, + data: builtins.bytes = ..., + path: builtins.str = ..., + height: builtins.int = ..., + prove: builtins.bool = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["data", b"data", "height", b"height", "path", b"path", "prove", b"prove"]) -> None: ... + +global___RequestQuery = RequestQuery + +@typing.final +class RequestCheckTx(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TX_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + tx: builtins.bytes + type: global___CheckTxType.ValueType + def __init__( + self, + *, + tx: builtins.bytes = ..., + type: global___CheckTxType.ValueType = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["tx", b"tx", "type", b"type"]) -> None: ... + +global___RequestCheckTx = RequestCheckTx + +@typing.final +class RequestCommit(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___RequestCommit = RequestCommit + +@typing.final +class RequestListSnapshots(google.protobuf.message.Message): + """lists available snapshots""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___RequestListSnapshots = RequestListSnapshots + +@typing.final +class RequestOfferSnapshot(google.protobuf.message.Message): + """offers a snapshot to the application""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + SNAPSHOT_FIELD_NUMBER: builtins.int + APP_HASH_FIELD_NUMBER: builtins.int + app_hash: builtins.bytes + """light client-verified app hash for snapshot height""" + @property + def snapshot(self) -> global___Snapshot: + """snapshot offered by peers""" + + def __init__( + self, + *, + snapshot: global___Snapshot | None = ..., + app_hash: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["snapshot", b"snapshot"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["app_hash", b"app_hash", "snapshot", b"snapshot"]) -> None: ... + +global___RequestOfferSnapshot = RequestOfferSnapshot + +@typing.final +class RequestLoadSnapshotChunk(google.protobuf.message.Message): + """loads a snapshot chunk""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + FORMAT_FIELD_NUMBER: builtins.int + CHUNK_FIELD_NUMBER: builtins.int + height: builtins.int + format: builtins.int + chunk: builtins.int + def __init__( + self, + *, + height: builtins.int = ..., + format: builtins.int = ..., + chunk: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["chunk", b"chunk", "format", b"format", "height", b"height"]) -> None: ... + +global___RequestLoadSnapshotChunk = RequestLoadSnapshotChunk + +@typing.final +class RequestApplySnapshotChunk(google.protobuf.message.Message): + """Applies a snapshot chunk""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + INDEX_FIELD_NUMBER: builtins.int + CHUNK_FIELD_NUMBER: builtins.int + SENDER_FIELD_NUMBER: builtins.int + index: builtins.int + chunk: builtins.bytes + sender: builtins.str + def __init__( + self, + *, + index: builtins.int = ..., + chunk: builtins.bytes = ..., + sender: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["chunk", b"chunk", "index", b"index", "sender", b"sender"]) -> None: ... + +global___RequestApplySnapshotChunk = RequestApplySnapshotChunk + +@typing.final +class RequestPrepareProposal(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + MAX_TX_BYTES_FIELD_NUMBER: builtins.int + TXS_FIELD_NUMBER: builtins.int + LOCAL_LAST_COMMIT_FIELD_NUMBER: builtins.int + MISBEHAVIOR_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + TIME_FIELD_NUMBER: builtins.int + NEXT_VALIDATORS_HASH_FIELD_NUMBER: builtins.int + PROPOSER_ADDRESS_FIELD_NUMBER: builtins.int + max_tx_bytes: builtins.int + """the modified transactions cannot exceed this size.""" + height: builtins.int + next_validators_hash: builtins.bytes + proposer_address: builtins.bytes + """address of the public key of the validator proposing the block.""" + @property + def txs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: + """txs is an array of transactions that will be included in a block, + sent to the app for possible modifications. + """ + + @property + def local_last_commit(self) -> global___ExtendedCommitInfo: ... + @property + def misbehavior(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Misbehavior]: ... + @property + def time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + max_tx_bytes: builtins.int = ..., + txs: collections.abc.Iterable[builtins.bytes] | None = ..., + local_last_commit: global___ExtendedCommitInfo | None = ..., + misbehavior: collections.abc.Iterable[global___Misbehavior] | None = ..., + height: builtins.int = ..., + time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + next_validators_hash: builtins.bytes = ..., + proposer_address: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["local_last_commit", b"local_last_commit", "time", b"time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["height", b"height", "local_last_commit", b"local_last_commit", "max_tx_bytes", b"max_tx_bytes", "misbehavior", b"misbehavior", "next_validators_hash", b"next_validators_hash", "proposer_address", b"proposer_address", "time", b"time", "txs", b"txs"]) -> None: ... + +global___RequestPrepareProposal = RequestPrepareProposal + +@typing.final +class RequestProcessProposal(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TXS_FIELD_NUMBER: builtins.int + PROPOSED_LAST_COMMIT_FIELD_NUMBER: builtins.int + MISBEHAVIOR_FIELD_NUMBER: builtins.int + HASH_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + TIME_FIELD_NUMBER: builtins.int + NEXT_VALIDATORS_HASH_FIELD_NUMBER: builtins.int + PROPOSER_ADDRESS_FIELD_NUMBER: builtins.int + hash: builtins.bytes + """hash is the merkle root hash of the fields of the proposed block.""" + height: builtins.int + next_validators_hash: builtins.bytes + proposer_address: builtins.bytes + """address of the public key of the original proposer of the block.""" + @property + def txs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... + @property + def proposed_last_commit(self) -> global___CommitInfo: ... + @property + def misbehavior(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Misbehavior]: ... + @property + def time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + txs: collections.abc.Iterable[builtins.bytes] | None = ..., + proposed_last_commit: global___CommitInfo | None = ..., + misbehavior: collections.abc.Iterable[global___Misbehavior] | None = ..., + hash: builtins.bytes = ..., + height: builtins.int = ..., + time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + next_validators_hash: builtins.bytes = ..., + proposer_address: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proposed_last_commit", b"proposed_last_commit", "time", b"time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["hash", b"hash", "height", b"height", "misbehavior", b"misbehavior", "next_validators_hash", b"next_validators_hash", "proposed_last_commit", b"proposed_last_commit", "proposer_address", b"proposer_address", "time", b"time", "txs", b"txs"]) -> None: ... + +global___RequestProcessProposal = RequestProcessProposal + +@typing.final +class RequestExtendVote(google.protobuf.message.Message): + """Extends a vote with application-injected data""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HASH_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + TIME_FIELD_NUMBER: builtins.int + TXS_FIELD_NUMBER: builtins.int + PROPOSED_LAST_COMMIT_FIELD_NUMBER: builtins.int + MISBEHAVIOR_FIELD_NUMBER: builtins.int + NEXT_VALIDATORS_HASH_FIELD_NUMBER: builtins.int + PROPOSER_ADDRESS_FIELD_NUMBER: builtins.int + hash: builtins.bytes + """the hash of the block that this vote may be referring to""" + height: builtins.int + """the height of the extended vote""" + next_validators_hash: builtins.bytes + proposer_address: builtins.bytes + """address of the public key of the original proposer of the block.""" + @property + def time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """info of the block that this vote may be referring to""" + + @property + def txs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... + @property + def proposed_last_commit(self) -> global___CommitInfo: ... + @property + def misbehavior(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Misbehavior]: ... + def __init__( + self, + *, + hash: builtins.bytes = ..., + height: builtins.int = ..., + time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + txs: collections.abc.Iterable[builtins.bytes] | None = ..., + proposed_last_commit: global___CommitInfo | None = ..., + misbehavior: collections.abc.Iterable[global___Misbehavior] | None = ..., + next_validators_hash: builtins.bytes = ..., + proposer_address: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proposed_last_commit", b"proposed_last_commit", "time", b"time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["hash", b"hash", "height", b"height", "misbehavior", b"misbehavior", "next_validators_hash", b"next_validators_hash", "proposed_last_commit", b"proposed_last_commit", "proposer_address", b"proposer_address", "time", b"time", "txs", b"txs"]) -> None: ... + +global___RequestExtendVote = RequestExtendVote + +@typing.final +class RequestVerifyVoteExtension(google.protobuf.message.Message): + """Verify the vote extension""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HASH_FIELD_NUMBER: builtins.int + VALIDATOR_ADDRESS_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + VOTE_EXTENSION_FIELD_NUMBER: builtins.int + hash: builtins.bytes + """the hash of the block that this received vote corresponds to""" + validator_address: builtins.bytes + """the validator that signed the vote extension""" + height: builtins.int + vote_extension: builtins.bytes + def __init__( + self, + *, + hash: builtins.bytes = ..., + validator_address: builtins.bytes = ..., + height: builtins.int = ..., + vote_extension: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["hash", b"hash", "height", b"height", "validator_address", b"validator_address", "vote_extension", b"vote_extension"]) -> None: ... + +global___RequestVerifyVoteExtension = RequestVerifyVoteExtension + +@typing.final +class RequestFinalizeBlock(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TXS_FIELD_NUMBER: builtins.int + DECIDED_LAST_COMMIT_FIELD_NUMBER: builtins.int + MISBEHAVIOR_FIELD_NUMBER: builtins.int + HASH_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + TIME_FIELD_NUMBER: builtins.int + NEXT_VALIDATORS_HASH_FIELD_NUMBER: builtins.int + PROPOSER_ADDRESS_FIELD_NUMBER: builtins.int + hash: builtins.bytes + """hash is the merkle root hash of the fields of the decided block.""" + height: builtins.int + next_validators_hash: builtins.bytes + proposer_address: builtins.bytes + """proposer_address is the address of the public key of the original proposer of the block.""" + @property + def txs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... + @property + def decided_last_commit(self) -> global___CommitInfo: ... + @property + def misbehavior(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Misbehavior]: ... + @property + def time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + txs: collections.abc.Iterable[builtins.bytes] | None = ..., + decided_last_commit: global___CommitInfo | None = ..., + misbehavior: collections.abc.Iterable[global___Misbehavior] | None = ..., + hash: builtins.bytes = ..., + height: builtins.int = ..., + time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + next_validators_hash: builtins.bytes = ..., + proposer_address: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["decided_last_commit", b"decided_last_commit", "time", b"time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["decided_last_commit", b"decided_last_commit", "hash", b"hash", "height", b"height", "misbehavior", b"misbehavior", "next_validators_hash", b"next_validators_hash", "proposer_address", b"proposer_address", "time", b"time", "txs", b"txs"]) -> None: ... + +global___RequestFinalizeBlock = RequestFinalizeBlock + +@typing.final +class Response(google.protobuf.message.Message): + """---------------------------------------- + Response types + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + EXCEPTION_FIELD_NUMBER: builtins.int + ECHO_FIELD_NUMBER: builtins.int + FLUSH_FIELD_NUMBER: builtins.int + INFO_FIELD_NUMBER: builtins.int + INIT_CHAIN_FIELD_NUMBER: builtins.int + QUERY_FIELD_NUMBER: builtins.int + CHECK_TX_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + LIST_SNAPSHOTS_FIELD_NUMBER: builtins.int + OFFER_SNAPSHOT_FIELD_NUMBER: builtins.int + LOAD_SNAPSHOT_CHUNK_FIELD_NUMBER: builtins.int + APPLY_SNAPSHOT_CHUNK_FIELD_NUMBER: builtins.int + PREPARE_PROPOSAL_FIELD_NUMBER: builtins.int + PROCESS_PROPOSAL_FIELD_NUMBER: builtins.int + EXTEND_VOTE_FIELD_NUMBER: builtins.int + VERIFY_VOTE_EXTENSION_FIELD_NUMBER: builtins.int + FINALIZE_BLOCK_FIELD_NUMBER: builtins.int + @property + def exception(self) -> global___ResponseException: ... + @property + def echo(self) -> global___ResponseEcho: ... + @property + def flush(self) -> global___ResponseFlush: ... + @property + def info(self) -> global___ResponseInfo: ... + @property + def init_chain(self) -> global___ResponseInitChain: ... + @property + def query(self) -> global___ResponseQuery: ... + @property + def check_tx(self) -> global___ResponseCheckTx: ... + @property + def commit(self) -> global___ResponseCommit: ... + @property + def list_snapshots(self) -> global___ResponseListSnapshots: ... + @property + def offer_snapshot(self) -> global___ResponseOfferSnapshot: ... + @property + def load_snapshot_chunk(self) -> global___ResponseLoadSnapshotChunk: ... + @property + def apply_snapshot_chunk(self) -> global___ResponseApplySnapshotChunk: ... + @property + def prepare_proposal(self) -> global___ResponsePrepareProposal: ... + @property + def process_proposal(self) -> global___ResponseProcessProposal: ... + @property + def extend_vote(self) -> global___ResponseExtendVote: ... + @property + def verify_vote_extension(self) -> global___ResponseVerifyVoteExtension: ... + @property + def finalize_block(self) -> global___ResponseFinalizeBlock: ... + def __init__( + self, + *, + exception: global___ResponseException | None = ..., + echo: global___ResponseEcho | None = ..., + flush: global___ResponseFlush | None = ..., + info: global___ResponseInfo | None = ..., + init_chain: global___ResponseInitChain | None = ..., + query: global___ResponseQuery | None = ..., + check_tx: global___ResponseCheckTx | None = ..., + commit: global___ResponseCommit | None = ..., + list_snapshots: global___ResponseListSnapshots | None = ..., + offer_snapshot: global___ResponseOfferSnapshot | None = ..., + load_snapshot_chunk: global___ResponseLoadSnapshotChunk | None = ..., + apply_snapshot_chunk: global___ResponseApplySnapshotChunk | None = ..., + prepare_proposal: global___ResponsePrepareProposal | None = ..., + process_proposal: global___ResponseProcessProposal | None = ..., + extend_vote: global___ResponseExtendVote | None = ..., + verify_vote_extension: global___ResponseVerifyVoteExtension | None = ..., + finalize_block: global___ResponseFinalizeBlock | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["apply_snapshot_chunk", b"apply_snapshot_chunk", "check_tx", b"check_tx", "commit", b"commit", "echo", b"echo", "exception", b"exception", "extend_vote", b"extend_vote", "finalize_block", b"finalize_block", "flush", b"flush", "info", b"info", "init_chain", b"init_chain", "list_snapshots", b"list_snapshots", "load_snapshot_chunk", b"load_snapshot_chunk", "offer_snapshot", b"offer_snapshot", "prepare_proposal", b"prepare_proposal", "process_proposal", b"process_proposal", "query", b"query", "value", b"value", "verify_vote_extension", b"verify_vote_extension"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["apply_snapshot_chunk", b"apply_snapshot_chunk", "check_tx", b"check_tx", "commit", b"commit", "echo", b"echo", "exception", b"exception", "extend_vote", b"extend_vote", "finalize_block", b"finalize_block", "flush", b"flush", "info", b"info", "init_chain", b"init_chain", "list_snapshots", b"list_snapshots", "load_snapshot_chunk", b"load_snapshot_chunk", "offer_snapshot", b"offer_snapshot", "prepare_proposal", b"prepare_proposal", "process_proposal", b"process_proposal", "query", b"query", "value", b"value", "verify_vote_extension", b"verify_vote_extension"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["value", b"value"]) -> typing.Literal["exception", "echo", "flush", "info", "init_chain", "query", "check_tx", "commit", "list_snapshots", "offer_snapshot", "load_snapshot_chunk", "apply_snapshot_chunk", "prepare_proposal", "process_proposal", "extend_vote", "verify_vote_extension", "finalize_block"] | None: ... + +global___Response = Response + +@typing.final +class ResponseException(google.protobuf.message.Message): + """nondeterministic""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ERROR_FIELD_NUMBER: builtins.int + error: builtins.str + def __init__( + self, + *, + error: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... + +global___ResponseException = ResponseException + +@typing.final +class ResponseEcho(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + MESSAGE_FIELD_NUMBER: builtins.int + message: builtins.str + def __init__( + self, + *, + message: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["message", b"message"]) -> None: ... + +global___ResponseEcho = ResponseEcho + +@typing.final +class ResponseFlush(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___ResponseFlush = ResponseFlush + +@typing.final +class ResponseInfo(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + DATA_FIELD_NUMBER: builtins.int + VERSION_FIELD_NUMBER: builtins.int + APP_VERSION_FIELD_NUMBER: builtins.int + LAST_BLOCK_HEIGHT_FIELD_NUMBER: builtins.int + LAST_BLOCK_APP_HASH_FIELD_NUMBER: builtins.int + data: builtins.str + version: builtins.str + app_version: builtins.int + last_block_height: builtins.int + last_block_app_hash: builtins.bytes + def __init__( + self, + *, + data: builtins.str = ..., + version: builtins.str = ..., + app_version: builtins.int = ..., + last_block_height: builtins.int = ..., + last_block_app_hash: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["app_version", b"app_version", "data", b"data", "last_block_app_hash", b"last_block_app_hash", "last_block_height", b"last_block_height", "version", b"version"]) -> None: ... + +global___ResponseInfo = ResponseInfo + +@typing.final +class ResponseInitChain(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CONSENSUS_PARAMS_FIELD_NUMBER: builtins.int + VALIDATORS_FIELD_NUMBER: builtins.int + APP_HASH_FIELD_NUMBER: builtins.int + app_hash: builtins.bytes + @property + def consensus_params(self) -> tendermint.types.params_pb2.ConsensusParams: ... + @property + def validators(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ValidatorUpdate]: ... + def __init__( + self, + *, + consensus_params: tendermint.types.params_pb2.ConsensusParams | None = ..., + validators: collections.abc.Iterable[global___ValidatorUpdate] | None = ..., + app_hash: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["consensus_params", b"consensus_params"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["app_hash", b"app_hash", "consensus_params", b"consensus_params", "validators", b"validators"]) -> None: ... + +global___ResponseInitChain = ResponseInitChain + +@typing.final +class ResponseQuery(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CODE_FIELD_NUMBER: builtins.int + LOG_FIELD_NUMBER: builtins.int + INFO_FIELD_NUMBER: builtins.int + INDEX_FIELD_NUMBER: builtins.int + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + PROOF_OPS_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + CODESPACE_FIELD_NUMBER: builtins.int + code: builtins.int + log: builtins.str + """bytes data = 2; // use "value" instead. + nondeterministic + """ + info: builtins.str + """nondeterministic""" + index: builtins.int + key: builtins.bytes + value: builtins.bytes + height: builtins.int + codespace: builtins.str + @property + def proof_ops(self) -> tendermint.crypto.proof_pb2.ProofOps: ... + def __init__( + self, + *, + code: builtins.int = ..., + log: builtins.str = ..., + info: builtins.str = ..., + index: builtins.int = ..., + key: builtins.bytes = ..., + value: builtins.bytes = ..., + proof_ops: tendermint.crypto.proof_pb2.ProofOps | None = ..., + height: builtins.int = ..., + codespace: builtins.str = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proof_ops", b"proof_ops"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["code", b"code", "codespace", b"codespace", "height", b"height", "index", b"index", "info", b"info", "key", b"key", "log", b"log", "proof_ops", b"proof_ops", "value", b"value"]) -> None: ... + +global___ResponseQuery = ResponseQuery + +@typing.final +class ResponseCheckTx(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CODE_FIELD_NUMBER: builtins.int + DATA_FIELD_NUMBER: builtins.int + LOG_FIELD_NUMBER: builtins.int + INFO_FIELD_NUMBER: builtins.int + GAS_WANTED_FIELD_NUMBER: builtins.int + GAS_USED_FIELD_NUMBER: builtins.int + EVENTS_FIELD_NUMBER: builtins.int + CODESPACE_FIELD_NUMBER: builtins.int + code: builtins.int + data: builtins.bytes + log: builtins.str + """nondeterministic""" + info: builtins.str + """nondeterministic""" + gas_wanted: builtins.int + gas_used: builtins.int + codespace: builtins.str + @property + def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Event]: ... + def __init__( + self, + *, + code: builtins.int = ..., + data: builtins.bytes = ..., + log: builtins.str = ..., + info: builtins.str = ..., + gas_wanted: builtins.int = ..., + gas_used: builtins.int = ..., + events: collections.abc.Iterable[global___Event] | None = ..., + codespace: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["code", b"code", "codespace", b"codespace", "data", b"data", "events", b"events", "gas_used", b"gas_used", "gas_wanted", b"gas_wanted", "info", b"info", "log", b"log"]) -> None: ... + +global___ResponseCheckTx = ResponseCheckTx + +@typing.final +class ResponseCommit(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + RETAIN_HEIGHT_FIELD_NUMBER: builtins.int + retain_height: builtins.int + def __init__( + self, + *, + retain_height: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["retain_height", b"retain_height"]) -> None: ... + +global___ResponseCommit = ResponseCommit + +@typing.final +class ResponseListSnapshots(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + SNAPSHOTS_FIELD_NUMBER: builtins.int + @property + def snapshots(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Snapshot]: ... + def __init__( + self, + *, + snapshots: collections.abc.Iterable[global___Snapshot] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["snapshots", b"snapshots"]) -> None: ... + +global___ResponseListSnapshots = ResponseListSnapshots + +@typing.final +class ResponseOfferSnapshot(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + class _Result: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + + class _ResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ResponseOfferSnapshot._Result.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + UNKNOWN: ResponseOfferSnapshot._Result.ValueType # 0 + """Unknown result, abort all snapshot restoration""" + ACCEPT: ResponseOfferSnapshot._Result.ValueType # 1 + """Snapshot accepted, apply chunks""" + ABORT: ResponseOfferSnapshot._Result.ValueType # 2 + """Abort all snapshot restoration""" + REJECT: ResponseOfferSnapshot._Result.ValueType # 3 + """Reject this specific snapshot, try others""" + REJECT_FORMAT: ResponseOfferSnapshot._Result.ValueType # 4 + """Reject all snapshots of this format, try others""" + REJECT_SENDER: ResponseOfferSnapshot._Result.ValueType # 5 + """Reject all snapshots from the sender(s), try others""" + + class Result(_Result, metaclass=_ResultEnumTypeWrapper): ... + UNKNOWN: ResponseOfferSnapshot.Result.ValueType # 0 + """Unknown result, abort all snapshot restoration""" + ACCEPT: ResponseOfferSnapshot.Result.ValueType # 1 + """Snapshot accepted, apply chunks""" + ABORT: ResponseOfferSnapshot.Result.ValueType # 2 + """Abort all snapshot restoration""" + REJECT: ResponseOfferSnapshot.Result.ValueType # 3 + """Reject this specific snapshot, try others""" + REJECT_FORMAT: ResponseOfferSnapshot.Result.ValueType # 4 + """Reject all snapshots of this format, try others""" + REJECT_SENDER: ResponseOfferSnapshot.Result.ValueType # 5 + """Reject all snapshots from the sender(s), try others""" + + RESULT_FIELD_NUMBER: builtins.int + result: global___ResponseOfferSnapshot.Result.ValueType + def __init__( + self, + *, + result: global___ResponseOfferSnapshot.Result.ValueType = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... + +global___ResponseOfferSnapshot = ResponseOfferSnapshot + +@typing.final +class ResponseLoadSnapshotChunk(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CHUNK_FIELD_NUMBER: builtins.int + chunk: builtins.bytes + def __init__( + self, + *, + chunk: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["chunk", b"chunk"]) -> None: ... + +global___ResponseLoadSnapshotChunk = ResponseLoadSnapshotChunk + +@typing.final +class ResponseApplySnapshotChunk(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + class _Result: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + + class _ResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ResponseApplySnapshotChunk._Result.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + UNKNOWN: ResponseApplySnapshotChunk._Result.ValueType # 0 + """Unknown result, abort all snapshot restoration""" + ACCEPT: ResponseApplySnapshotChunk._Result.ValueType # 1 + """Chunk successfully accepted""" + ABORT: ResponseApplySnapshotChunk._Result.ValueType # 2 + """Abort all snapshot restoration""" + RETRY: ResponseApplySnapshotChunk._Result.ValueType # 3 + """Retry chunk (combine with refetch and reject)""" + RETRY_SNAPSHOT: ResponseApplySnapshotChunk._Result.ValueType # 4 + """Retry snapshot (combine with refetch and reject)""" + REJECT_SNAPSHOT: ResponseApplySnapshotChunk._Result.ValueType # 5 + """Reject this snapshot, try others""" + + class Result(_Result, metaclass=_ResultEnumTypeWrapper): ... + UNKNOWN: ResponseApplySnapshotChunk.Result.ValueType # 0 + """Unknown result, abort all snapshot restoration""" + ACCEPT: ResponseApplySnapshotChunk.Result.ValueType # 1 + """Chunk successfully accepted""" + ABORT: ResponseApplySnapshotChunk.Result.ValueType # 2 + """Abort all snapshot restoration""" + RETRY: ResponseApplySnapshotChunk.Result.ValueType # 3 + """Retry chunk (combine with refetch and reject)""" + RETRY_SNAPSHOT: ResponseApplySnapshotChunk.Result.ValueType # 4 + """Retry snapshot (combine with refetch and reject)""" + REJECT_SNAPSHOT: ResponseApplySnapshotChunk.Result.ValueType # 5 + """Reject this snapshot, try others""" + + RESULT_FIELD_NUMBER: builtins.int + REFETCH_CHUNKS_FIELD_NUMBER: builtins.int + REJECT_SENDERS_FIELD_NUMBER: builtins.int + result: global___ResponseApplySnapshotChunk.Result.ValueType + @property + def refetch_chunks(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: + """Chunks to refetch and reapply""" + + @property + def reject_senders(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """Chunk senders to reject and ban""" + + def __init__( + self, + *, + result: global___ResponseApplySnapshotChunk.Result.ValueType = ..., + refetch_chunks: collections.abc.Iterable[builtins.int] | None = ..., + reject_senders: collections.abc.Iterable[builtins.str] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["refetch_chunks", b"refetch_chunks", "reject_senders", b"reject_senders", "result", b"result"]) -> None: ... + +global___ResponseApplySnapshotChunk = ResponseApplySnapshotChunk + +@typing.final +class ResponsePrepareProposal(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TXS_FIELD_NUMBER: builtins.int + @property + def txs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... + def __init__( + self, + *, + txs: collections.abc.Iterable[builtins.bytes] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["txs", b"txs"]) -> None: ... + +global___ResponsePrepareProposal = ResponsePrepareProposal + +@typing.final +class ResponseProcessProposal(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + class _ProposalStatus: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + + class _ProposalStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ResponseProcessProposal._ProposalStatus.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + UNKNOWN: ResponseProcessProposal._ProposalStatus.ValueType # 0 + ACCEPT: ResponseProcessProposal._ProposalStatus.ValueType # 1 + REJECT: ResponseProcessProposal._ProposalStatus.ValueType # 2 + + class ProposalStatus(_ProposalStatus, metaclass=_ProposalStatusEnumTypeWrapper): ... + UNKNOWN: ResponseProcessProposal.ProposalStatus.ValueType # 0 + ACCEPT: ResponseProcessProposal.ProposalStatus.ValueType # 1 + REJECT: ResponseProcessProposal.ProposalStatus.ValueType # 2 + + STATUS_FIELD_NUMBER: builtins.int + status: global___ResponseProcessProposal.ProposalStatus.ValueType + def __init__( + self, + *, + status: global___ResponseProcessProposal.ProposalStatus.ValueType = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["status", b"status"]) -> None: ... + +global___ResponseProcessProposal = ResponseProcessProposal + +@typing.final +class ResponseExtendVote(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VOTE_EXTENSION_FIELD_NUMBER: builtins.int + vote_extension: builtins.bytes + def __init__( + self, + *, + vote_extension: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["vote_extension", b"vote_extension"]) -> None: ... + +global___ResponseExtendVote = ResponseExtendVote + +@typing.final +class ResponseVerifyVoteExtension(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + class _VerifyStatus: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + + class _VerifyStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ResponseVerifyVoteExtension._VerifyStatus.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + UNKNOWN: ResponseVerifyVoteExtension._VerifyStatus.ValueType # 0 + ACCEPT: ResponseVerifyVoteExtension._VerifyStatus.ValueType # 1 + REJECT: ResponseVerifyVoteExtension._VerifyStatus.ValueType # 2 + """Rejecting the vote extension will reject the entire precommit by the sender. + Incorrectly implementing this thus has liveness implications as it may affect + CometBFT's ability to receive 2/3+ valid votes to finalize the block. + Honest nodes should never be rejected. + """ + + class VerifyStatus(_VerifyStatus, metaclass=_VerifyStatusEnumTypeWrapper): ... + UNKNOWN: ResponseVerifyVoteExtension.VerifyStatus.ValueType # 0 + ACCEPT: ResponseVerifyVoteExtension.VerifyStatus.ValueType # 1 + REJECT: ResponseVerifyVoteExtension.VerifyStatus.ValueType # 2 + """Rejecting the vote extension will reject the entire precommit by the sender. + Incorrectly implementing this thus has liveness implications as it may affect + CometBFT's ability to receive 2/3+ valid votes to finalize the block. + Honest nodes should never be rejected. + """ + + STATUS_FIELD_NUMBER: builtins.int + status: global___ResponseVerifyVoteExtension.VerifyStatus.ValueType + def __init__( + self, + *, + status: global___ResponseVerifyVoteExtension.VerifyStatus.ValueType = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["status", b"status"]) -> None: ... + +global___ResponseVerifyVoteExtension = ResponseVerifyVoteExtension + +@typing.final +class ResponseFinalizeBlock(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + EVENTS_FIELD_NUMBER: builtins.int + TX_RESULTS_FIELD_NUMBER: builtins.int + VALIDATOR_UPDATES_FIELD_NUMBER: builtins.int + CONSENSUS_PARAM_UPDATES_FIELD_NUMBER: builtins.int + APP_HASH_FIELD_NUMBER: builtins.int + app_hash: builtins.bytes + """app_hash is the hash of the applications' state which is used to confirm that execution of the transactions was deterministic. It is up to the application to decide which algorithm to use.""" + @property + def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Event]: + """set of block events emmitted as part of executing the block""" + + @property + def tx_results(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExecTxResult]: + """the result of executing each transaction including the events + the particular transction emitted. This should match the order + of the transactions delivered in the block itself + """ + + @property + def validator_updates(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ValidatorUpdate]: + """a list of updates to the validator set. These will reflect the validator set at current height + 2.""" + + @property + def consensus_param_updates(self) -> tendermint.types.params_pb2.ConsensusParams: + """updates to the consensus params, if any.""" + + def __init__( + self, + *, + events: collections.abc.Iterable[global___Event] | None = ..., + tx_results: collections.abc.Iterable[global___ExecTxResult] | None = ..., + validator_updates: collections.abc.Iterable[global___ValidatorUpdate] | None = ..., + consensus_param_updates: tendermint.types.params_pb2.ConsensusParams | None = ..., + app_hash: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["consensus_param_updates", b"consensus_param_updates"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["app_hash", b"app_hash", "consensus_param_updates", b"consensus_param_updates", "events", b"events", "tx_results", b"tx_results", "validator_updates", b"validator_updates"]) -> None: ... + +global___ResponseFinalizeBlock = ResponseFinalizeBlock + +@typing.final +class CommitInfo(google.protobuf.message.Message): + """---------------------------------------- + Misc. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ROUND_FIELD_NUMBER: builtins.int + VOTES_FIELD_NUMBER: builtins.int + round: builtins.int + @property + def votes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VoteInfo]: ... + def __init__( + self, + *, + round: builtins.int = ..., + votes: collections.abc.Iterable[global___VoteInfo] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["round", b"round", "votes", b"votes"]) -> None: ... + +global___CommitInfo = CommitInfo + +@typing.final +class ExtendedCommitInfo(google.protobuf.message.Message): + """ExtendedCommitInfo is similar to CommitInfo except that it is only used in + the PrepareProposal request such that CometBFT can provide vote extensions + to the application. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ROUND_FIELD_NUMBER: builtins.int + VOTES_FIELD_NUMBER: builtins.int + round: builtins.int + """The round at which the block proposer decided in the previous height.""" + @property + def votes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExtendedVoteInfo]: + """List of validators' addresses in the last validator set with their voting + information, including vote extensions. + """ + + def __init__( + self, + *, + round: builtins.int = ..., + votes: collections.abc.Iterable[global___ExtendedVoteInfo] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["round", b"round", "votes", b"votes"]) -> None: ... + +global___ExtendedCommitInfo = ExtendedCommitInfo + +@typing.final +class Event(google.protobuf.message.Message): + """Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. + Later, transactions may be queried using these events. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TYPE_FIELD_NUMBER: builtins.int + ATTRIBUTES_FIELD_NUMBER: builtins.int + type: builtins.str + @property + def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EventAttribute]: ... + def __init__( + self, + *, + type: builtins.str = ..., + attributes: collections.abc.Iterable[global___EventAttribute] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "type", b"type"]) -> None: ... + +global___Event = Event + +@typing.final +class EventAttribute(google.protobuf.message.Message): + """EventAttribute is a single key-value pair, associated with an event.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + INDEX_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str + index: builtins.bool + """nondeterministic""" + def __init__( + self, + *, + key: builtins.str = ..., + value: builtins.str = ..., + index: builtins.bool = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["index", b"index", "key", b"key", "value", b"value"]) -> None: ... + +global___EventAttribute = EventAttribute + +@typing.final +class ExecTxResult(google.protobuf.message.Message): + """ExecTxResult contains results of executing one individual transaction. + + * Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CODE_FIELD_NUMBER: builtins.int + DATA_FIELD_NUMBER: builtins.int + LOG_FIELD_NUMBER: builtins.int + INFO_FIELD_NUMBER: builtins.int + GAS_WANTED_FIELD_NUMBER: builtins.int + GAS_USED_FIELD_NUMBER: builtins.int + EVENTS_FIELD_NUMBER: builtins.int + CODESPACE_FIELD_NUMBER: builtins.int + code: builtins.int + data: builtins.bytes + log: builtins.str + """nondeterministic""" + info: builtins.str + """nondeterministic""" + gas_wanted: builtins.int + gas_used: builtins.int + codespace: builtins.str + @property + def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Event]: + """nondeterministic""" + + def __init__( + self, + *, + code: builtins.int = ..., + data: builtins.bytes = ..., + log: builtins.str = ..., + info: builtins.str = ..., + gas_wanted: builtins.int = ..., + gas_used: builtins.int = ..., + events: collections.abc.Iterable[global___Event] | None = ..., + codespace: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["code", b"code", "codespace", b"codespace", "data", b"data", "events", b"events", "gas_used", b"gas_used", "gas_wanted", b"gas_wanted", "info", b"info", "log", b"log"]) -> None: ... + +global___ExecTxResult = ExecTxResult + +@typing.final +class TxResult(google.protobuf.message.Message): + """TxResult contains results of executing the transaction. + + One usage is indexing transaction results. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + INDEX_FIELD_NUMBER: builtins.int + TX_FIELD_NUMBER: builtins.int + RESULT_FIELD_NUMBER: builtins.int + height: builtins.int + index: builtins.int + tx: builtins.bytes + @property + def result(self) -> global___ExecTxResult: ... + def __init__( + self, + *, + height: builtins.int = ..., + index: builtins.int = ..., + tx: builtins.bytes = ..., + result: global___ExecTxResult | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["result", b"result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["height", b"height", "index", b"index", "result", b"result", "tx", b"tx"]) -> None: ... + +global___TxResult = TxResult + +@typing.final +class Validator(google.protobuf.message.Message): + """---------------------------------------- + Blockchain Types + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ADDRESS_FIELD_NUMBER: builtins.int + POWER_FIELD_NUMBER: builtins.int + address: builtins.bytes + """The first 20 bytes of SHA256(public key)""" + power: builtins.int + """PubKey pub_key = 2 [(gogoproto.nullable)=false]; + The voting power + """ + def __init__( + self, + *, + address: builtins.bytes = ..., + power: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["address", b"address", "power", b"power"]) -> None: ... + +global___Validator = Validator + +@typing.final +class ValidatorUpdate(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PUB_KEY_FIELD_NUMBER: builtins.int + POWER_FIELD_NUMBER: builtins.int + power: builtins.int + @property + def pub_key(self) -> tendermint.crypto.keys_pb2.PublicKey: ... + def __init__( + self, + *, + pub_key: tendermint.crypto.keys_pb2.PublicKey | None = ..., + power: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["pub_key", b"pub_key"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["power", b"power", "pub_key", b"pub_key"]) -> None: ... + +global___ValidatorUpdate = ValidatorUpdate + +@typing.final +class VoteInfo(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VALIDATOR_FIELD_NUMBER: builtins.int + BLOCK_ID_FLAG_FIELD_NUMBER: builtins.int + block_id_flag: tendermint.types.validator_pb2.BlockIDFlag.ValueType + @property + def validator(self) -> global___Validator: ... + def __init__( + self, + *, + validator: global___Validator | None = ..., + block_id_flag: tendermint.types.validator_pb2.BlockIDFlag.ValueType = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["validator", b"validator"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id_flag", b"block_id_flag", "validator", b"validator"]) -> None: ... + +global___VoteInfo = VoteInfo + +@typing.final +class ExtendedVoteInfo(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VALIDATOR_FIELD_NUMBER: builtins.int + VOTE_EXTENSION_FIELD_NUMBER: builtins.int + EXTENSION_SIGNATURE_FIELD_NUMBER: builtins.int + BLOCK_ID_FLAG_FIELD_NUMBER: builtins.int + vote_extension: builtins.bytes + """Non-deterministic extension provided by the sending validator's application.""" + extension_signature: builtins.bytes + """Vote extension signature created by CometBFT""" + block_id_flag: tendermint.types.validator_pb2.BlockIDFlag.ValueType + """block_id_flag indicates whether the validator voted for a block, nil, or did not vote at all""" + @property + def validator(self) -> global___Validator: + """The validator that sent the vote.""" + + def __init__( + self, + *, + validator: global___Validator | None = ..., + vote_extension: builtins.bytes = ..., + extension_signature: builtins.bytes = ..., + block_id_flag: tendermint.types.validator_pb2.BlockIDFlag.ValueType = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["validator", b"validator"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id_flag", b"block_id_flag", "extension_signature", b"extension_signature", "validator", b"validator", "vote_extension", b"vote_extension"]) -> None: ... + +global___ExtendedVoteInfo = ExtendedVoteInfo + +@typing.final +class Misbehavior(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TYPE_FIELD_NUMBER: builtins.int + VALIDATOR_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + TIME_FIELD_NUMBER: builtins.int + TOTAL_VOTING_POWER_FIELD_NUMBER: builtins.int + type: global___MisbehaviorType.ValueType + height: builtins.int + """The height when the offense occurred""" + total_voting_power: builtins.int + """Total voting power of the validator set in case the ABCI application does + not store historical validators. + https://github.com/tendermint/tendermint/issues/4581 + """ + @property + def validator(self) -> global___Validator: + """The offending validator""" + + @property + def time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The corresponding time where the offense occurred""" + + def __init__( + self, + *, + type: global___MisbehaviorType.ValueType = ..., + validator: global___Validator | None = ..., + height: builtins.int = ..., + time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + total_voting_power: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["time", b"time", "validator", b"validator"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["height", b"height", "time", b"time", "total_voting_power", b"total_voting_power", "type", b"type", "validator", b"validator"]) -> None: ... + +global___Misbehavior = Misbehavior + +@typing.final +class Snapshot(google.protobuf.message.Message): + """---------------------------------------- + State Sync Types + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + FORMAT_FIELD_NUMBER: builtins.int + CHUNKS_FIELD_NUMBER: builtins.int + HASH_FIELD_NUMBER: builtins.int + METADATA_FIELD_NUMBER: builtins.int + height: builtins.int + """The height at which the snapshot was taken""" + format: builtins.int + """The application-specific snapshot format""" + chunks: builtins.int + """Number of chunks in the snapshot""" + hash: builtins.bytes + """Arbitrary snapshot hash, equal only if identical""" + metadata: builtins.bytes + """Arbitrary application metadata""" + def __init__( + self, + *, + height: builtins.int = ..., + format: builtins.int = ..., + chunks: builtins.int = ..., + hash: builtins.bytes = ..., + metadata: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["chunks", b"chunks", "format", b"format", "hash", b"hash", "height", b"height", "metadata", b"metadata"]) -> None: ... + +global___Snapshot = Snapshot diff --git a/src/poktroll_clients/proto/tendermint/blocksync/types_pb2.py b/src/poktroll_clients/proto/tendermint/blocksync/types_pb2.py new file mode 100644 index 0000000..6da0d37 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/blocksync/types_pb2.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/blocksync/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/blocksync/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 +from poktroll_clients.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/blocksync/types.proto\x12\x14tendermint.blocksync\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"&\n\x0c\x42lockRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\")\n\x0fNoBlockResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"\x7f\n\rBlockResponse\x12-\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12?\n\next_commit\x18\x02 \x01(\x0b\x32 .tendermint.types.ExtendedCommitR\textCommit\"\x0f\n\rStatusRequest\"<\n\x0eStatusResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\x03R\x04\x62\x61se\"\x9d\x03\n\x07Message\x12I\n\rblock_request\x18\x01 \x01(\x0b\x32\".tendermint.blocksync.BlockRequestH\x00R\x0c\x62lockRequest\x12S\n\x11no_block_response\x18\x02 \x01(\x0b\x32%.tendermint.blocksync.NoBlockResponseH\x00R\x0fnoBlockResponse\x12L\n\x0e\x62lock_response\x18\x03 \x01(\x0b\x32#.tendermint.blocksync.BlockResponseH\x00R\rblockResponse\x12L\n\x0estatus_request\x18\x04 \x01(\x0b\x32#.tendermint.blocksync.StatusRequestH\x00R\rstatusRequest\x12O\n\x0fstatus_response\x18\x05 \x01(\x0b\x32$.tendermint.blocksync.StatusResponseH\x00R\x0estatusResponseB\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/blocksyncb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.blocksync.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/blocksync' + _globals['_BLOCKREQUEST']._serialized_start=118 + _globals['_BLOCKREQUEST']._serialized_end=156 + _globals['_NOBLOCKRESPONSE']._serialized_start=158 + _globals['_NOBLOCKRESPONSE']._serialized_end=199 + _globals['_BLOCKRESPONSE']._serialized_start=201 + _globals['_BLOCKRESPONSE']._serialized_end=328 + _globals['_STATUSREQUEST']._serialized_start=330 + _globals['_STATUSREQUEST']._serialized_end=345 + _globals['_STATUSRESPONSE']._serialized_start=347 + _globals['_STATUSRESPONSE']._serialized_end=407 + _globals['_MESSAGE']._serialized_start=410 + _globals['_MESSAGE']._serialized_end=823 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/blocksync/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/blocksync/types_pb2.pyi new file mode 100644 index 0000000..3d1a721 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/blocksync/types_pb2.pyi @@ -0,0 +1,136 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import tendermint.types.block_pb2 +import tendermint.types.types_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class BlockRequest(google.protobuf.message.Message): + """BlockRequest requests a block for a specific height""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + height: builtins.int + def __init__( + self, + *, + height: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["height", b"height"]) -> None: ... + +global___BlockRequest = BlockRequest + +@typing.final +class NoBlockResponse(google.protobuf.message.Message): + """NoBlockResponse informs the node that the peer does not have block at the requested height""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + height: builtins.int + def __init__( + self, + *, + height: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["height", b"height"]) -> None: ... + +global___NoBlockResponse = NoBlockResponse + +@typing.final +class BlockResponse(google.protobuf.message.Message): + """BlockResponse returns block to the requested""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BLOCK_FIELD_NUMBER: builtins.int + EXT_COMMIT_FIELD_NUMBER: builtins.int + @property + def block(self) -> tendermint.types.block_pb2.Block: ... + @property + def ext_commit(self) -> tendermint.types.types_pb2.ExtendedCommit: ... + def __init__( + self, + *, + block: tendermint.types.block_pb2.Block | None = ..., + ext_commit: tendermint.types.types_pb2.ExtendedCommit | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block", b"block", "ext_commit", b"ext_commit"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block", b"block", "ext_commit", b"ext_commit"]) -> None: ... + +global___BlockResponse = BlockResponse + +@typing.final +class StatusRequest(google.protobuf.message.Message): + """StatusRequest requests the status of a peer.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___StatusRequest = StatusRequest + +@typing.final +class StatusResponse(google.protobuf.message.Message): + """StatusResponse is a peer response to inform their status.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + BASE_FIELD_NUMBER: builtins.int + height: builtins.int + base: builtins.int + def __init__( + self, + *, + height: builtins.int = ..., + base: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["base", b"base", "height", b"height"]) -> None: ... + +global___StatusResponse = StatusResponse + +@typing.final +class Message(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BLOCK_REQUEST_FIELD_NUMBER: builtins.int + NO_BLOCK_RESPONSE_FIELD_NUMBER: builtins.int + BLOCK_RESPONSE_FIELD_NUMBER: builtins.int + STATUS_REQUEST_FIELD_NUMBER: builtins.int + STATUS_RESPONSE_FIELD_NUMBER: builtins.int + @property + def block_request(self) -> global___BlockRequest: ... + @property + def no_block_response(self) -> global___NoBlockResponse: ... + @property + def block_response(self) -> global___BlockResponse: ... + @property + def status_request(self) -> global___StatusRequest: ... + @property + def status_response(self) -> global___StatusResponse: ... + def __init__( + self, + *, + block_request: global___BlockRequest | None = ..., + no_block_response: global___NoBlockResponse | None = ..., + block_response: global___BlockResponse | None = ..., + status_request: global___StatusRequest | None = ..., + status_response: global___StatusResponse | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_request", b"block_request", "block_response", b"block_response", "no_block_response", b"no_block_response", "status_request", b"status_request", "status_response", b"status_response", "sum", b"sum"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_request", b"block_request", "block_response", b"block_response", "no_block_response", b"no_block_response", "status_request", b"status_request", "status_response", b"status_response", "sum", b"sum"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["block_request", "no_block_response", "block_response", "status_request", "status_response"] | None: ... + +global___Message = Message diff --git a/src/poktroll_clients/proto/tendermint/consensus/types_pb2.py b/src/poktroll_clients/proto/tendermint/consensus/types_pb2.py new file mode 100644 index 0000000..5ca6f12 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/consensus/types_pb2.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/consensus/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/consensus/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from poktroll_clients.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from poktroll_clients.proto.tendermint.libs.bits import types_pb2 as tendermint_dot_libs_dot_bits_dot_types__pb2 + + +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\"\xb5\x01\n\x0cNewRoundStep\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x12\n\x04step\x18\x03 \x01(\rR\x04step\x12\x37\n\x18seconds_since_start_time\x18\x04 \x01(\x03R\x15secondsSinceStartTime\x12*\n\x11last_commit_round\x18\x05 \x01(\x05R\x0flastCommitRound\"\xf5\x01\n\rNewValidBlock\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12X\n\x15\x62lock_part_set_header\x18\x03 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00R\x12\x62lockPartSetHeader\x12?\n\x0b\x62lock_parts\x18\x04 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayR\nblockParts\x12\x1b\n\tis_commit\x18\x05 \x01(\x08R\x08isCommit\"H\n\x08Proposal\x12<\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00R\x08proposal\"\x9c\x01\n\x0bProposalPOL\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12,\n\x12proposal_pol_round\x18\x02 \x01(\x05R\x10proposalPolRound\x12G\n\x0cproposal_pol\x18\x03 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00R\x0bproposalPol\"k\n\tBlockPart\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x30\n\x04part\x18\x03 \x01(\x0b\x32\x16.tendermint.types.PartB\x04\xc8\xde\x1f\x00R\x04part\"2\n\x04Vote\x12*\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x04vote\"\x82\x01\n\x07HasVote\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x33\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x14\n\x05index\x18\x04 \x01(\x05R\x05index\"\xb8\x01\n\x0cVoteSetMaj23\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x33\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x45\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\"\xf3\x01\n\x0bVoteSetBits\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x33\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x45\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12:\n\x05votes\x18\x05 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00R\x05votes\"\xf6\x04\n\x07Message\x12J\n\x0enew_round_step\x18\x01 \x01(\x0b\x32\".tendermint.consensus.NewRoundStepH\x00R\x0cnewRoundStep\x12M\n\x0fnew_valid_block\x18\x02 \x01(\x0b\x32#.tendermint.consensus.NewValidBlockH\x00R\rnewValidBlock\x12<\n\x08proposal\x18\x03 \x01(\x0b\x32\x1e.tendermint.consensus.ProposalH\x00R\x08proposal\x12\x46\n\x0cproposal_pol\x18\x04 \x01(\x0b\x32!.tendermint.consensus.ProposalPOLH\x00R\x0bproposalPol\x12@\n\nblock_part\x18\x05 \x01(\x0b\x32\x1f.tendermint.consensus.BlockPartH\x00R\tblockPart\x12\x30\n\x04vote\x18\x06 \x01(\x0b\x32\x1a.tendermint.consensus.VoteH\x00R\x04vote\x12:\n\x08has_vote\x18\x07 \x01(\x0b\x32\x1d.tendermint.consensus.HasVoteH\x00R\x07hasVote\x12J\n\x0evote_set_maj23\x18\x08 \x01(\x0b\x32\".tendermint.consensus.VoteSetMaj23H\x00R\x0cvoteSetMaj23\x12G\n\rvote_set_bits\x18\t \x01(\x0b\x32!.tendermint.consensus.VoteSetBitsH\x00R\x0bvoteSetBitsB\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/consensus' + _globals['_NEWVALIDBLOCK'].fields_by_name['block_part_set_header']._loaded_options = None + _globals['_NEWVALIDBLOCK'].fields_by_name['block_part_set_header']._serialized_options = b'\310\336\037\000' + _globals['_PROPOSAL'].fields_by_name['proposal']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['proposal']._serialized_options = b'\310\336\037\000' + _globals['_PROPOSALPOL'].fields_by_name['proposal_pol']._loaded_options = None + _globals['_PROPOSALPOL'].fields_by_name['proposal_pol']._serialized_options = b'\310\336\037\000' + _globals['_BLOCKPART'].fields_by_name['part']._loaded_options = None + _globals['_BLOCKPART'].fields_by_name['part']._serialized_options = b'\310\336\037\000' + _globals['_VOTESETMAJ23'].fields_by_name['block_id']._loaded_options = None + _globals['_VOTESETMAJ23'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_VOTESETBITS'].fields_by_name['block_id']._loaded_options = None + _globals['_VOTESETBITS'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_VOTESETBITS'].fields_by_name['votes']._loaded_options = None + _globals['_VOTESETBITS'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' + _globals['_NEWROUNDSTEP']._serialized_start=145 + _globals['_NEWROUNDSTEP']._serialized_end=326 + _globals['_NEWVALIDBLOCK']._serialized_start=329 + _globals['_NEWVALIDBLOCK']._serialized_end=574 + _globals['_PROPOSAL']._serialized_start=576 + _globals['_PROPOSAL']._serialized_end=648 + _globals['_PROPOSALPOL']._serialized_start=651 + _globals['_PROPOSALPOL']._serialized_end=807 + _globals['_BLOCKPART']._serialized_start=809 + _globals['_BLOCKPART']._serialized_end=916 + _globals['_VOTE']._serialized_start=918 + _globals['_VOTE']._serialized_end=968 + _globals['_HASVOTE']._serialized_start=971 + _globals['_HASVOTE']._serialized_end=1101 + _globals['_VOTESETMAJ23']._serialized_start=1104 + _globals['_VOTESETMAJ23']._serialized_end=1288 + _globals['_VOTESETBITS']._serialized_start=1291 + _globals['_VOTESETBITS']._serialized_end=1534 + _globals['_MESSAGE']._serialized_start=1537 + _globals['_MESSAGE']._serialized_end=2167 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/consensus/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/consensus/types_pb2.pyi new file mode 100644 index 0000000..360da04 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/consensus/types_pb2.pyi @@ -0,0 +1,303 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import tendermint.libs.bits.types_pb2 +import tendermint.types.types_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class NewRoundStep(google.protobuf.message.Message): + """NewRoundStep is sent for every step taken in the ConsensusState. + For every height/round/step transition + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + STEP_FIELD_NUMBER: builtins.int + SECONDS_SINCE_START_TIME_FIELD_NUMBER: builtins.int + LAST_COMMIT_ROUND_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + step: builtins.int + seconds_since_start_time: builtins.int + last_commit_round: builtins.int + def __init__( + self, + *, + height: builtins.int = ..., + round: builtins.int = ..., + step: builtins.int = ..., + seconds_since_start_time: builtins.int = ..., + last_commit_round: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["height", b"height", "last_commit_round", b"last_commit_round", "round", b"round", "seconds_since_start_time", b"seconds_since_start_time", "step", b"step"]) -> None: ... + +global___NewRoundStep = NewRoundStep + +@typing.final +class NewValidBlock(google.protobuf.message.Message): + """NewValidBlock is sent when a validator observes a valid block B in some round r, + i.e., there is a Proposal for block B and 2/3+ prevotes for the block B in the round r. + In case the block is also committed, then IsCommit flag is set to true. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + BLOCK_PART_SET_HEADER_FIELD_NUMBER: builtins.int + BLOCK_PARTS_FIELD_NUMBER: builtins.int + IS_COMMIT_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + is_commit: builtins.bool + @property + def block_part_set_header(self) -> tendermint.types.types_pb2.PartSetHeader: ... + @property + def block_parts(self) -> tendermint.libs.bits.types_pb2.BitArray: ... + def __init__( + self, + *, + height: builtins.int = ..., + round: builtins.int = ..., + block_part_set_header: tendermint.types.types_pb2.PartSetHeader | None = ..., + block_parts: tendermint.libs.bits.types_pb2.BitArray | None = ..., + is_commit: builtins.bool = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_part_set_header", b"block_part_set_header", "block_parts", b"block_parts"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_part_set_header", b"block_part_set_header", "block_parts", b"block_parts", "height", b"height", "is_commit", b"is_commit", "round", b"round"]) -> None: ... + +global___NewValidBlock = NewValidBlock + +@typing.final +class Proposal(google.protobuf.message.Message): + """Proposal is sent when a new block is proposed.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PROPOSAL_FIELD_NUMBER: builtins.int + @property + def proposal(self) -> tendermint.types.types_pb2.Proposal: ... + def __init__( + self, + *, + proposal: tendermint.types.types_pb2.Proposal | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proposal", b"proposal"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["proposal", b"proposal"]) -> None: ... + +global___Proposal = Proposal + +@typing.final +class ProposalPOL(google.protobuf.message.Message): + """ProposalPOL is sent when a previous proposal is re-proposed.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + PROPOSAL_POL_ROUND_FIELD_NUMBER: builtins.int + PROPOSAL_POL_FIELD_NUMBER: builtins.int + height: builtins.int + proposal_pol_round: builtins.int + @property + def proposal_pol(self) -> tendermint.libs.bits.types_pb2.BitArray: ... + def __init__( + self, + *, + height: builtins.int = ..., + proposal_pol_round: builtins.int = ..., + proposal_pol: tendermint.libs.bits.types_pb2.BitArray | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proposal_pol", b"proposal_pol"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["height", b"height", "proposal_pol", b"proposal_pol", "proposal_pol_round", b"proposal_pol_round"]) -> None: ... + +global___ProposalPOL = ProposalPOL + +@typing.final +class BlockPart(google.protobuf.message.Message): + """BlockPart is sent when gossipping a piece of the proposed block.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + PART_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + @property + def part(self) -> tendermint.types.types_pb2.Part: ... + def __init__( + self, + *, + height: builtins.int = ..., + round: builtins.int = ..., + part: tendermint.types.types_pb2.Part | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["part", b"part"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["height", b"height", "part", b"part", "round", b"round"]) -> None: ... + +global___BlockPart = BlockPart + +@typing.final +class Vote(google.protobuf.message.Message): + """Vote is sent when voting for a proposal (or lack thereof).""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VOTE_FIELD_NUMBER: builtins.int + @property + def vote(self) -> tendermint.types.types_pb2.Vote: ... + def __init__( + self, + *, + vote: tendermint.types.types_pb2.Vote | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["vote", b"vote"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["vote", b"vote"]) -> None: ... + +global___Vote = Vote + +@typing.final +class HasVote(google.protobuf.message.Message): + """HasVote is sent to indicate that a particular vote has been received.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + INDEX_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + type: tendermint.types.types_pb2.SignedMsgType.ValueType + index: builtins.int + def __init__( + self, + *, + height: builtins.int = ..., + round: builtins.int = ..., + type: tendermint.types.types_pb2.SignedMsgType.ValueType = ..., + index: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["height", b"height", "index", b"index", "round", b"round", "type", b"type"]) -> None: ... + +global___HasVote = HasVote + +@typing.final +class VoteSetMaj23(google.protobuf.message.Message): + """VoteSetMaj23 is sent to indicate that a given BlockID has seen +2/3 votes.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + BLOCK_ID_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + type: tendermint.types.types_pb2.SignedMsgType.ValueType + @property + def block_id(self) -> tendermint.types.types_pb2.BlockID: ... + def __init__( + self, + *, + height: builtins.int = ..., + round: builtins.int = ..., + type: tendermint.types.types_pb2.SignedMsgType.ValueType = ..., + block_id: tendermint.types.types_pb2.BlockID | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_id", b"block_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id", b"block_id", "height", b"height", "round", b"round", "type", b"type"]) -> None: ... + +global___VoteSetMaj23 = VoteSetMaj23 + +@typing.final +class VoteSetBits(google.protobuf.message.Message): + """VoteSetBits is sent to communicate the bit-array of votes seen for the BlockID.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + BLOCK_ID_FIELD_NUMBER: builtins.int + VOTES_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + type: tendermint.types.types_pb2.SignedMsgType.ValueType + @property + def block_id(self) -> tendermint.types.types_pb2.BlockID: ... + @property + def votes(self) -> tendermint.libs.bits.types_pb2.BitArray: ... + def __init__( + self, + *, + height: builtins.int = ..., + round: builtins.int = ..., + type: tendermint.types.types_pb2.SignedMsgType.ValueType = ..., + block_id: tendermint.types.types_pb2.BlockID | None = ..., + votes: tendermint.libs.bits.types_pb2.BitArray | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_id", b"block_id", "votes", b"votes"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id", b"block_id", "height", b"height", "round", b"round", "type", b"type", "votes", b"votes"]) -> None: ... + +global___VoteSetBits = VoteSetBits + +@typing.final +class Message(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + NEW_ROUND_STEP_FIELD_NUMBER: builtins.int + NEW_VALID_BLOCK_FIELD_NUMBER: builtins.int + PROPOSAL_FIELD_NUMBER: builtins.int + PROPOSAL_POL_FIELD_NUMBER: builtins.int + BLOCK_PART_FIELD_NUMBER: builtins.int + VOTE_FIELD_NUMBER: builtins.int + HAS_VOTE_FIELD_NUMBER: builtins.int + VOTE_SET_MAJ23_FIELD_NUMBER: builtins.int + VOTE_SET_BITS_FIELD_NUMBER: builtins.int + @property + def new_round_step(self) -> global___NewRoundStep: ... + @property + def new_valid_block(self) -> global___NewValidBlock: ... + @property + def proposal(self) -> global___Proposal: ... + @property + def proposal_pol(self) -> global___ProposalPOL: ... + @property + def block_part(self) -> global___BlockPart: ... + @property + def vote(self) -> global___Vote: ... + @property + def has_vote(self) -> global___HasVote: ... + @property + def vote_set_maj23(self) -> global___VoteSetMaj23: ... + @property + def vote_set_bits(self) -> global___VoteSetBits: ... + def __init__( + self, + *, + new_round_step: global___NewRoundStep | None = ..., + new_valid_block: global___NewValidBlock | None = ..., + proposal: global___Proposal | None = ..., + proposal_pol: global___ProposalPOL | None = ..., + block_part: global___BlockPart | None = ..., + vote: global___Vote | None = ..., + has_vote: global___HasVote | None = ..., + vote_set_maj23: global___VoteSetMaj23 | None = ..., + vote_set_bits: global___VoteSetBits | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_part", b"block_part", "has_vote", b"has_vote", "new_round_step", b"new_round_step", "new_valid_block", b"new_valid_block", "proposal", b"proposal", "proposal_pol", b"proposal_pol", "sum", b"sum", "vote", b"vote", "vote_set_bits", b"vote_set_bits", "vote_set_maj23", b"vote_set_maj23"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_part", b"block_part", "has_vote", b"has_vote", "new_round_step", b"new_round_step", "new_valid_block", b"new_valid_block", "proposal", b"proposal", "proposal_pol", b"proposal_pol", "sum", b"sum", "vote", b"vote", "vote_set_bits", b"vote_set_bits", "vote_set_maj23", b"vote_set_maj23"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["new_round_step", "new_valid_block", "proposal", "proposal_pol", "block_part", "vote", "has_vote", "vote_set_maj23", "vote_set_bits"] | None: ... + +global___Message = Message diff --git a/src/poktroll_clients/proto/tendermint/consensus/wal_pb2.py b/src/poktroll_clients/proto/tendermint/consensus/wal_pb2.py new file mode 100644 index 0000000..336d71b --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/consensus/wal_pb2.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/consensus/wal.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/consensus/wal.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from poktroll_clients.proto.tendermint.consensus import types_pb2 as tendermint_dot_consensus_dot_types__pb2 +from poktroll_clients.proto.tendermint.types import events_pb2 as tendermint_dot_types_dot_events__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +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\"e\n\x07MsgInfo\x12\x35\n\x03msg\x18\x01 \x01(\x0b\x32\x1d.tendermint.consensus.MessageB\x04\xc8\xde\x1f\x00R\x03msg\x12#\n\x07peer_id\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06PeerIDR\x06peerId\"\x90\x01\n\x0bTimeoutInfo\x12?\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x08\x64uration\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x12\n\x04step\x18\x04 \x01(\rR\x04step\"#\n\tEndHeight\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"\xb7\x02\n\nWALMessage\x12\\\n\x16\x65vent_data_round_state\x18\x01 \x01(\x0b\x32%.tendermint.types.EventDataRoundStateH\x00R\x13\x65ventDataRoundState\x12:\n\x08msg_info\x18\x02 \x01(\x0b\x32\x1d.tendermint.consensus.MsgInfoH\x00R\x07msgInfo\x12\x46\n\x0ctimeout_info\x18\x03 \x01(\x0b\x32!.tendermint.consensus.TimeoutInfoH\x00R\x0btimeoutInfo\x12@\n\nend_height\x18\x04 \x01(\x0b\x32\x1f.tendermint.consensus.EndHeightH\x00R\tendHeightB\x05\n\x03sum\"\x7f\n\x0fTimedWALMessage\x12\x38\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x32\n\x03msg\x18\x02 \x01(\x0b\x32 .tendermint.consensus.WALMessageR\x03msgB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.consensus.wal_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/consensus' + _globals['_MSGINFO'].fields_by_name['msg']._loaded_options = None + _globals['_MSGINFO'].fields_by_name['msg']._serialized_options = b'\310\336\037\000' + _globals['_MSGINFO'].fields_by_name['peer_id']._loaded_options = None + _globals['_MSGINFO'].fields_by_name['peer_id']._serialized_options = b'\342\336\037\006PeerID' + _globals['_TIMEOUTINFO'].fields_by_name['duration']._loaded_options = None + _globals['_TIMEOUTINFO'].fields_by_name['duration']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_TIMEDWALMESSAGE'].fields_by_name['time']._loaded_options = None + _globals['_TIMEDWALMESSAGE'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_MSGINFO']._serialized_start=208 + _globals['_MSGINFO']._serialized_end=309 + _globals['_TIMEOUTINFO']._serialized_start=312 + _globals['_TIMEOUTINFO']._serialized_end=456 + _globals['_ENDHEIGHT']._serialized_start=458 + _globals['_ENDHEIGHT']._serialized_end=493 + _globals['_WALMESSAGE']._serialized_start=496 + _globals['_WALMESSAGE']._serialized_end=807 + _globals['_TIMEDWALMESSAGE']._serialized_start=809 + _globals['_TIMEDWALMESSAGE']._serialized_end=936 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/consensus/wal_pb2.pyi b/src/poktroll_clients/proto/tendermint/consensus/wal_pb2.pyi new file mode 100644 index 0000000..37f4b06 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/consensus/wal_pb2.pyi @@ -0,0 +1,137 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.duration_pb2 +import google.protobuf.message +import google.protobuf.timestamp_pb2 +import tendermint.consensus.types_pb2 +import tendermint.types.events_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class MsgInfo(google.protobuf.message.Message): + """MsgInfo are msgs from the reactor which may update the state""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + MSG_FIELD_NUMBER: builtins.int + PEER_ID_FIELD_NUMBER: builtins.int + peer_id: builtins.str + @property + def msg(self) -> tendermint.consensus.types_pb2.Message: ... + def __init__( + self, + *, + msg: tendermint.consensus.types_pb2.Message | None = ..., + peer_id: builtins.str = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["msg", b"msg"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["msg", b"msg", "peer_id", b"peer_id"]) -> None: ... + +global___MsgInfo = MsgInfo + +@typing.final +class TimeoutInfo(google.protobuf.message.Message): + """TimeoutInfo internally generated messages which may update the state""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + DURATION_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + STEP_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + step: builtins.int + @property + def duration(self) -> google.protobuf.duration_pb2.Duration: ... + def __init__( + self, + *, + duration: google.protobuf.duration_pb2.Duration | None = ..., + height: builtins.int = ..., + round: builtins.int = ..., + step: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["duration", b"duration"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["duration", b"duration", "height", b"height", "round", b"round", "step", b"step"]) -> None: ... + +global___TimeoutInfo = TimeoutInfo + +@typing.final +class EndHeight(google.protobuf.message.Message): + """EndHeight marks the end of the given height inside WAL. + @internal used by scripts/wal2json util. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + height: builtins.int + def __init__( + self, + *, + height: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["height", b"height"]) -> None: ... + +global___EndHeight = EndHeight + +@typing.final +class WALMessage(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + EVENT_DATA_ROUND_STATE_FIELD_NUMBER: builtins.int + MSG_INFO_FIELD_NUMBER: builtins.int + TIMEOUT_INFO_FIELD_NUMBER: builtins.int + END_HEIGHT_FIELD_NUMBER: builtins.int + @property + def event_data_round_state(self) -> tendermint.types.events_pb2.EventDataRoundState: ... + @property + def msg_info(self) -> global___MsgInfo: ... + @property + def timeout_info(self) -> global___TimeoutInfo: ... + @property + def end_height(self) -> global___EndHeight: ... + def __init__( + self, + *, + event_data_round_state: tendermint.types.events_pb2.EventDataRoundState | None = ..., + msg_info: global___MsgInfo | None = ..., + timeout_info: global___TimeoutInfo | None = ..., + end_height: global___EndHeight | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["end_height", b"end_height", "event_data_round_state", b"event_data_round_state", "msg_info", b"msg_info", "sum", b"sum", "timeout_info", b"timeout_info"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["end_height", b"end_height", "event_data_round_state", b"event_data_round_state", "msg_info", b"msg_info", "sum", b"sum", "timeout_info", b"timeout_info"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["event_data_round_state", "msg_info", "timeout_info", "end_height"] | None: ... + +global___WALMessage = WALMessage + +@typing.final +class TimedWALMessage(google.protobuf.message.Message): + """TimedWALMessage wraps WALMessage and adds Time for debugging purposes.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TIME_FIELD_NUMBER: builtins.int + MSG_FIELD_NUMBER: builtins.int + @property + def time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def msg(self) -> global___WALMessage: ... + def __init__( + self, + *, + time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + msg: global___WALMessage | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["msg", b"msg", "time", b"time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["msg", b"msg", "time", b"time"]) -> None: ... + +global___TimedWALMessage = TimedWALMessage diff --git a/src/poktroll_clients/proto/tendermint/crypto/keys_pb2.py b/src/poktroll_clients/proto/tendermint/crypto/keys_pb2.py new file mode 100644 index 0000000..f5cb143 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/crypto/keys_pb2.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/crypto/keys.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/crypto/keys.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.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\"X\n\tPublicKey\x12\x1a\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00R\x07\x65\x64\x32\x35\x35\x31\x39\x12\x1e\n\tsecp256k1\x18\x02 \x01(\x0cH\x00R\tsecp256k1:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB6Z4github.com/cometbft/cometbft/proto/tendermint/cryptob\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z4github.com/cometbft/cometbft/proto/tendermint/crypto' + _globals['_PUBLICKEY']._loaded_options = None + _globals['_PUBLICKEY']._serialized_options = b'\350\240\037\001\350\241\037\001' + _globals['_PUBLICKEY']._serialized_start=73 + _globals['_PUBLICKEY']._serialized_end=161 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/crypto/keys_pb2.pyi b/src/poktroll_clients/proto/tendermint/crypto/keys_pb2.pyi new file mode 100644 index 0000000..bf266fe --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/crypto/keys_pb2.pyi @@ -0,0 +1,33 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class PublicKey(google.protobuf.message.Message): + """PublicKey defines the keys available for use with Validators""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ED25519_FIELD_NUMBER: builtins.int + SECP256K1_FIELD_NUMBER: builtins.int + ed25519: builtins.bytes + secp256k1: builtins.bytes + def __init__( + self, + *, + ed25519: builtins.bytes = ..., + secp256k1: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["ed25519", b"ed25519", "secp256k1", b"secp256k1", "sum", b"sum"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["ed25519", b"ed25519", "secp256k1", b"secp256k1", "sum", b"sum"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["ed25519", "secp256k1"] | None: ... + +global___PublicKey = PublicKey diff --git a/src/poktroll_clients/proto/tendermint/crypto/proof_pb2.py b/src/poktroll_clients/proto/tendermint/crypto/proof_pb2.py new file mode 100644 index 0000000..e4fe340 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/crypto/proof_pb2.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/crypto/proof.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/crypto/proof.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.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\"f\n\x05Proof\x12\x14\n\x05total\x18\x01 \x01(\x03R\x05total\x12\x14\n\x05index\x18\x02 \x01(\x03R\x05index\x12\x1b\n\tleaf_hash\x18\x03 \x01(\x0cR\x08leafHash\x12\x14\n\x05\x61unts\x18\x04 \x03(\x0cR\x05\x61unts\"K\n\x07ValueOp\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12.\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof\"J\n\x08\x44ominoOp\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x16\n\x06output\x18\x03 \x01(\tR\x06output\"C\n\x07ProofOp\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\x0cR\x03key\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\">\n\x08ProofOps\x12\x32\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00R\x03opsB6Z4github.com/cometbft/cometbft/proto/tendermint/cryptob\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.proof_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z4github.com/cometbft/cometbft/proto/tendermint/crypto' + _globals['_PROOFOPS'].fields_by_name['ops']._loaded_options = None + _globals['_PROOFOPS'].fields_by_name['ops']._serialized_options = b'\310\336\037\000' + _globals['_PROOF']._serialized_start=74 + _globals['_PROOF']._serialized_end=176 + _globals['_VALUEOP']._serialized_start=178 + _globals['_VALUEOP']._serialized_end=253 + _globals['_DOMINOOP']._serialized_start=255 + _globals['_DOMINOOP']._serialized_end=329 + _globals['_PROOFOP']._serialized_start=331 + _globals['_PROOFOP']._serialized_end=398 + _globals['_PROOFOPS']._serialized_start=400 + _globals['_PROOFOPS']._serialized_end=462 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/crypto/proof_pb2.pyi b/src/poktroll_clients/proto/tendermint/crypto/proof_pb2.pyi new file mode 100644 index 0000000..9dada43 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/crypto/proof_pb2.pyi @@ -0,0 +1,126 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class Proof(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TOTAL_FIELD_NUMBER: builtins.int + INDEX_FIELD_NUMBER: builtins.int + LEAF_HASH_FIELD_NUMBER: builtins.int + AUNTS_FIELD_NUMBER: builtins.int + total: builtins.int + index: builtins.int + leaf_hash: builtins.bytes + @property + def aunts(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... + def __init__( + self, + *, + total: builtins.int = ..., + index: builtins.int = ..., + leaf_hash: builtins.bytes = ..., + aunts: collections.abc.Iterable[builtins.bytes] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["aunts", b"aunts", "index", b"index", "leaf_hash", b"leaf_hash", "total", b"total"]) -> None: ... + +global___Proof = Proof + +@typing.final +class ValueOp(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + KEY_FIELD_NUMBER: builtins.int + PROOF_FIELD_NUMBER: builtins.int + key: builtins.bytes + """Encoded in ProofOp.Key.""" + @property + def proof(self) -> global___Proof: + """To encode in ProofOp.Data""" + + def __init__( + self, + *, + key: builtins.bytes = ..., + proof: global___Proof | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proof", b"proof"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["key", b"key", "proof", b"proof"]) -> None: ... + +global___ValueOp = ValueOp + +@typing.final +class DominoOp(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + KEY_FIELD_NUMBER: builtins.int + INPUT_FIELD_NUMBER: builtins.int + OUTPUT_FIELD_NUMBER: builtins.int + key: builtins.str + input: builtins.str + output: builtins.str + def __init__( + self, + *, + key: builtins.str = ..., + input: builtins.str = ..., + output: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["input", b"input", "key", b"key", "output", b"output"]) -> None: ... + +global___DominoOp = DominoOp + +@typing.final +class ProofOp(google.protobuf.message.Message): + """ProofOp defines an operation used for calculating Merkle root + The data could be arbitrary format, providing nessecary data + for example neighbouring node hash + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TYPE_FIELD_NUMBER: builtins.int + KEY_FIELD_NUMBER: builtins.int + DATA_FIELD_NUMBER: builtins.int + type: builtins.str + key: builtins.bytes + data: builtins.bytes + def __init__( + self, + *, + type: builtins.str = ..., + key: builtins.bytes = ..., + data: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["data", b"data", "key", b"key", "type", b"type"]) -> None: ... + +global___ProofOp = ProofOp + +@typing.final +class ProofOps(google.protobuf.message.Message): + """ProofOps is Merkle proof defined by the list of ProofOps""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + OPS_FIELD_NUMBER: builtins.int + @property + def ops(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ProofOp]: ... + def __init__( + self, + *, + ops: collections.abc.Iterable[global___ProofOp] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["ops", b"ops"]) -> None: ... + +global___ProofOps = ProofOps diff --git a/src/poktroll_clients/proto/tendermint/libs/bits/types_pb2.py b/src/poktroll_clients/proto/tendermint/libs/bits/types_pb2.py new file mode 100644 index 0000000..452aa4b --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/libs/bits/types_pb2.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/libs/bits/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/libs/bits/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/libs/bits/types.proto\x12\x14tendermint.libs.bits\"4\n\x08\x42itArray\x12\x12\n\x04\x62its\x18\x01 \x01(\x03R\x04\x62its\x12\x14\n\x05\x65lems\x18\x02 \x03(\x04R\x05\x65lemsB9Z7github.com/cometbft/cometbft/proto/tendermint/libs/bitsb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits' + _globals['_BITARRAY']._serialized_start=58 + _globals['_BITARRAY']._serialized_end=110 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/libs/bits/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/libs/bits/types_pb2.pyi new file mode 100644 index 0000000..ea72b81 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/libs/bits/types_pb2.pyi @@ -0,0 +1,32 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class BitArray(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BITS_FIELD_NUMBER: builtins.int + ELEMS_FIELD_NUMBER: builtins.int + bits: builtins.int + @property + def elems(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... + def __init__( + self, + *, + bits: builtins.int = ..., + elems: collections.abc.Iterable[builtins.int] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["bits", b"bits", "elems", b"elems"]) -> None: ... + +global___BitArray = BitArray diff --git a/src/poktroll_clients/proto/tendermint/mempool/types_pb2.py b/src/poktroll_clients/proto/tendermint/mempool/types_pb2.py new file mode 100644 index 0000000..649a63b --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/mempool/types_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/mempool/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/mempool/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/mempool/types.proto\x12\x12tendermint.mempool\"\x17\n\x03Txs\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"=\n\x07Message\x12+\n\x03txs\x18\x01 \x01(\x0b\x32\x17.tendermint.mempool.TxsH\x00R\x03txsB\x05\n\x03sumB7Z5github.com/cometbft/cometbft/proto/tendermint/mempoolb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.mempool.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/mempool' + _globals['_TXS']._serialized_start=54 + _globals['_TXS']._serialized_end=77 + _globals['_MESSAGE']._serialized_start=79 + _globals['_MESSAGE']._serialized_end=140 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/mempool/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/mempool/types_pb2.pyi new file mode 100644 index 0000000..8ca6d36 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/mempool/types_pb2.pyi @@ -0,0 +1,47 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class Txs(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TXS_FIELD_NUMBER: builtins.int + @property + def txs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... + def __init__( + self, + *, + txs: collections.abc.Iterable[builtins.bytes] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["txs", b"txs"]) -> None: ... + +global___Txs = Txs + +@typing.final +class Message(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TXS_FIELD_NUMBER: builtins.int + @property + def txs(self) -> global___Txs: ... + def __init__( + self, + *, + txs: global___Txs | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["sum", b"sum", "txs", b"txs"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["sum", b"sum", "txs", b"txs"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["txs"] | None: ... + +global___Message = Message diff --git a/src/poktroll_clients/proto/tendermint/p2p/conn_pb2.py b/src/poktroll_clients/proto/tendermint/p2p/conn_pb2.py new file mode 100644 index 0000000..cd75379 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/p2p/conn_pb2.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/p2p/conn.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/p2p/conn.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from poktroll_clients.proto.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\"h\n\tPacketMsg\x12,\n\nchannel_id\x18\x01 \x01(\x05\x42\r\xe2\xde\x1f\tChannelIDR\tchannelId\x12\x19\n\x03\x65of\x18\x02 \x01(\x08\x42\x07\xe2\xde\x1f\x03\x45OFR\x03\x65of\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\"\xc9\x01\n\x06Packet\x12=\n\x0bpacket_ping\x18\x01 \x01(\x0b\x32\x1a.tendermint.p2p.PacketPingH\x00R\npacketPing\x12=\n\x0bpacket_pong\x18\x02 \x01(\x0b\x32\x1a.tendermint.p2p.PacketPongH\x00R\npacketPong\x12:\n\npacket_msg\x18\x03 \x01(\x0b\x32\x19.tendermint.p2p.PacketMsgH\x00R\tpacketMsgB\x05\n\x03sum\"_\n\x0e\x41uthSigMessage\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12\x10\n\x03sig\x18\x02 \x01(\x0cR\x03sigB3Z1github.com/cometbft/cometbft/proto/tendermint/p2pb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.conn_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' + _globals['_PACKETMSG'].fields_by_name['channel_id']._loaded_options = None + _globals['_PACKETMSG'].fields_by_name['channel_id']._serialized_options = b'\342\336\037\tChannelID' + _globals['_PACKETMSG'].fields_by_name['eof']._loaded_options = None + _globals['_PACKETMSG'].fields_by_name['eof']._serialized_options = b'\342\336\037\003EOF' + _globals['_AUTHSIGMESSAGE'].fields_by_name['pub_key']._loaded_options = None + _globals['_AUTHSIGMESSAGE'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' + _globals['_PACKETPING']._serialized_start=97 + _globals['_PACKETPING']._serialized_end=109 + _globals['_PACKETPONG']._serialized_start=111 + _globals['_PACKETPONG']._serialized_end=123 + _globals['_PACKETMSG']._serialized_start=125 + _globals['_PACKETMSG']._serialized_end=229 + _globals['_PACKET']._serialized_start=232 + _globals['_PACKET']._serialized_end=433 + _globals['_AUTHSIGMESSAGE']._serialized_start=435 + _globals['_AUTHSIGMESSAGE']._serialized_end=530 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/p2p/conn_pb2.pyi b/src/poktroll_clients/proto/tendermint/p2p/conn_pb2.pyi new file mode 100644 index 0000000..2e3ffde --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/p2p/conn_pb2.pyi @@ -0,0 +1,99 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import tendermint.crypto.keys_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class PacketPing(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___PacketPing = PacketPing + +@typing.final +class PacketPong(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___PacketPong = PacketPong + +@typing.final +class PacketMsg(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CHANNEL_ID_FIELD_NUMBER: builtins.int + EOF_FIELD_NUMBER: builtins.int + DATA_FIELD_NUMBER: builtins.int + channel_id: builtins.int + eof: builtins.bool + data: builtins.bytes + def __init__( + self, + *, + channel_id: builtins.int = ..., + eof: builtins.bool = ..., + data: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "data", b"data", "eof", b"eof"]) -> None: ... + +global___PacketMsg = PacketMsg + +@typing.final +class Packet(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PACKET_PING_FIELD_NUMBER: builtins.int + PACKET_PONG_FIELD_NUMBER: builtins.int + PACKET_MSG_FIELD_NUMBER: builtins.int + @property + def packet_ping(self) -> global___PacketPing: ... + @property + def packet_pong(self) -> global___PacketPong: ... + @property + def packet_msg(self) -> global___PacketMsg: ... + def __init__( + self, + *, + packet_ping: global___PacketPing | None = ..., + packet_pong: global___PacketPong | None = ..., + packet_msg: global___PacketMsg | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["packet_msg", b"packet_msg", "packet_ping", b"packet_ping", "packet_pong", b"packet_pong", "sum", b"sum"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["packet_msg", b"packet_msg", "packet_ping", b"packet_ping", "packet_pong", b"packet_pong", "sum", b"sum"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["packet_ping", "packet_pong", "packet_msg"] | None: ... + +global___Packet = Packet + +@typing.final +class AuthSigMessage(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PUB_KEY_FIELD_NUMBER: builtins.int + SIG_FIELD_NUMBER: builtins.int + sig: builtins.bytes + @property + def pub_key(self) -> tendermint.crypto.keys_pb2.PublicKey: ... + def __init__( + self, + *, + pub_key: tendermint.crypto.keys_pb2.PublicKey | None = ..., + sig: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["pub_key", b"pub_key"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["pub_key", b"pub_key", "sig", b"sig"]) -> None: ... + +global___AuthSigMessage = AuthSigMessage diff --git a/src/poktroll_clients/proto/tendermint/p2p/pex_pb2.py b/src/poktroll_clients/proto/tendermint/p2p/pex_pb2.py new file mode 100644 index 0000000..b8c4731 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/p2p/pex_pb2.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/p2p/pex.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/p2p/pex.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.tendermint.p2p import types_pb2 as tendermint_dot_p2p_dot_types__pb2 +from poktroll_clients.proto.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\"B\n\x08PexAddrs\x12\x36\n\x05\x61\x64\x64rs\x18\x01 \x03(\x0b\x32\x1a.tendermint.p2p.NetAddressB\x04\xc8\xde\x1f\x00R\x05\x61\x64\x64rs\"\x88\x01\n\x07Message\x12=\n\x0bpex_request\x18\x01 \x01(\x0b\x32\x1a.tendermint.p2p.PexRequestH\x00R\npexRequest\x12\x37\n\tpex_addrs\x18\x02 \x01(\x0b\x32\x18.tendermint.p2p.PexAddrsH\x00R\x08pexAddrsB\x05\n\x03sumB3Z1github.com/cometbft/cometbft/proto/tendermint/p2pb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.pex_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' + _globals['_PEXADDRS'].fields_by_name['addrs']._loaded_options = None + _globals['_PEXADDRS'].fields_by_name['addrs']._serialized_options = b'\310\336\037\000' + _globals['_PEXREQUEST']._serialized_start=94 + _globals['_PEXREQUEST']._serialized_end=106 + _globals['_PEXADDRS']._serialized_start=108 + _globals['_PEXADDRS']._serialized_end=174 + _globals['_MESSAGE']._serialized_start=177 + _globals['_MESSAGE']._serialized_end=313 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/p2p/pex_pb2.pyi b/src/poktroll_clients/proto/tendermint/p2p/pex_pb2.pyi new file mode 100644 index 0000000..b921c02 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/p2p/pex_pb2.pyi @@ -0,0 +1,62 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import tendermint.p2p.types_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class PexRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___PexRequest = PexRequest + +@typing.final +class PexAddrs(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ADDRS_FIELD_NUMBER: builtins.int + @property + def addrs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tendermint.p2p.types_pb2.NetAddress]: ... + def __init__( + self, + *, + addrs: collections.abc.Iterable[tendermint.p2p.types_pb2.NetAddress] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["addrs", b"addrs"]) -> None: ... + +global___PexAddrs = PexAddrs + +@typing.final +class Message(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PEX_REQUEST_FIELD_NUMBER: builtins.int + PEX_ADDRS_FIELD_NUMBER: builtins.int + @property + def pex_request(self) -> global___PexRequest: ... + @property + def pex_addrs(self) -> global___PexAddrs: ... + def __init__( + self, + *, + pex_request: global___PexRequest | None = ..., + pex_addrs: global___PexAddrs | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["pex_addrs", b"pex_addrs", "pex_request", b"pex_request", "sum", b"sum"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["pex_addrs", b"pex_addrs", "pex_request", b"pex_request", "sum", b"sum"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["pex_request", "pex_addrs"] | None: ... + +global___Message = Message diff --git a/src/poktroll_clients/proto/tendermint/p2p/types_pb2.py b/src/poktroll_clients/proto/tendermint/p2p/types_pb2.py new file mode 100644 index 0000000..0b90b44 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/p2p/types_pb2.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/p2p/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/p2p/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.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\"P\n\nNetAddress\x12\x16\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02IDR\x02id\x12\x16\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IPR\x02ip\x12\x12\n\x04port\x18\x03 \x01(\rR\x04port\"T\n\x0fProtocolVersion\x12\x19\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2PR\x03p2p\x12\x14\n\x05\x62lock\x18\x02 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x03 \x01(\x04R\x03\x61pp\"\xeb\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12P\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00R\x0fprotocolVersion\x12\x39\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeIDR\rdefaultNodeId\x12\x1f\n\x0blisten_addr\x18\x03 \x01(\tR\nlistenAddr\x12\x18\n\x07network\x18\x04 \x01(\tR\x07network\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x1a\n\x08\x63hannels\x18\x06 \x01(\x0cR\x08\x63hannels\x12\x18\n\x07moniker\x18\x07 \x01(\tR\x07moniker\x12@\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00R\x05other\"b\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x19\n\x08tx_index\x18\x01 \x01(\tR\x07txIndex\x12/\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressR\nrpcAddressB3Z1github.com/cometbft/cometbft/proto/tendermint/p2pb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z1github.com/cometbft/cometbft/proto/tendermint/p2p' + _globals['_NETADDRESS'].fields_by_name['id']._loaded_options = None + _globals['_NETADDRESS'].fields_by_name['id']._serialized_options = b'\342\336\037\002ID' + _globals['_NETADDRESS'].fields_by_name['ip']._loaded_options = None + _globals['_NETADDRESS'].fields_by_name['ip']._serialized_options = b'\342\336\037\002IP' + _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._loaded_options = None + _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._serialized_options = b'\342\336\037\003P2P' + _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._loaded_options = None + _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._serialized_options = b'\310\336\037\000' + _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._loaded_options = None + _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._serialized_options = b'\342\336\037\rDefaultNodeID' + _globals['_DEFAULTNODEINFO'].fields_by_name['other']._loaded_options = None + _globals['_DEFAULTNODEINFO'].fields_by_name['other']._serialized_options = b'\310\336\037\000' + _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._loaded_options = None + _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._serialized_options = b'\342\336\037\nRPCAddress' + _globals['_NETADDRESS']._serialized_start=68 + _globals['_NETADDRESS']._serialized_end=148 + _globals['_PROTOCOLVERSION']._serialized_start=150 + _globals['_PROTOCOLVERSION']._serialized_end=234 + _globals['_DEFAULTNODEINFO']._serialized_start=237 + _globals['_DEFAULTNODEINFO']._serialized_end=600 + _globals['_DEFAULTNODEINFOOTHER']._serialized_start=602 + _globals['_DEFAULTNODEINFOOTHER']._serialized_end=700 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/p2p/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/p2p/types_pb2.pyi new file mode 100644 index 0000000..97c6ab0 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/p2p/types_pb2.pyi @@ -0,0 +1,110 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class NetAddress(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ID_FIELD_NUMBER: builtins.int + IP_FIELD_NUMBER: builtins.int + PORT_FIELD_NUMBER: builtins.int + id: builtins.str + ip: builtins.str + port: builtins.int + def __init__( + self, + *, + id: builtins.str = ..., + ip: builtins.str = ..., + port: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["id", b"id", "ip", b"ip", "port", b"port"]) -> None: ... + +global___NetAddress = NetAddress + +@typing.final +class ProtocolVersion(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + P2P_FIELD_NUMBER: builtins.int + BLOCK_FIELD_NUMBER: builtins.int + APP_FIELD_NUMBER: builtins.int + p2p: builtins.int + block: builtins.int + app: builtins.int + def __init__( + self, + *, + p2p: builtins.int = ..., + block: builtins.int = ..., + app: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["app", b"app", "block", b"block", "p2p", b"p2p"]) -> None: ... + +global___ProtocolVersion = ProtocolVersion + +@typing.final +class DefaultNodeInfo(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PROTOCOL_VERSION_FIELD_NUMBER: builtins.int + DEFAULT_NODE_ID_FIELD_NUMBER: builtins.int + LISTEN_ADDR_FIELD_NUMBER: builtins.int + NETWORK_FIELD_NUMBER: builtins.int + VERSION_FIELD_NUMBER: builtins.int + CHANNELS_FIELD_NUMBER: builtins.int + MONIKER_FIELD_NUMBER: builtins.int + OTHER_FIELD_NUMBER: builtins.int + default_node_id: builtins.str + listen_addr: builtins.str + network: builtins.str + version: builtins.str + channels: builtins.bytes + moniker: builtins.str + @property + def protocol_version(self) -> global___ProtocolVersion: ... + @property + def other(self) -> global___DefaultNodeInfoOther: ... + def __init__( + self, + *, + protocol_version: global___ProtocolVersion | None = ..., + default_node_id: builtins.str = ..., + listen_addr: builtins.str = ..., + network: builtins.str = ..., + version: builtins.str = ..., + channels: builtins.bytes = ..., + moniker: builtins.str = ..., + other: global___DefaultNodeInfoOther | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["other", b"other", "protocol_version", b"protocol_version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["channels", b"channels", "default_node_id", b"default_node_id", "listen_addr", b"listen_addr", "moniker", b"moniker", "network", b"network", "other", b"other", "protocol_version", b"protocol_version", "version", b"version"]) -> None: ... + +global___DefaultNodeInfo = DefaultNodeInfo + +@typing.final +class DefaultNodeInfoOther(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TX_INDEX_FIELD_NUMBER: builtins.int + RPC_ADDRESS_FIELD_NUMBER: builtins.int + tx_index: builtins.str + rpc_address: builtins.str + def __init__( + self, + *, + tx_index: builtins.str = ..., + rpc_address: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["rpc_address", b"rpc_address", "tx_index", b"tx_index"]) -> None: ... + +global___DefaultNodeInfoOther = DefaultNodeInfoOther diff --git a/src/poktroll_clients/proto/tendermint/privval/types_pb2.py b/src/poktroll_clients/proto/tendermint/privval/types_pb2.py new file mode 100644 index 0000000..e7a2b2e --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/privval/types_pb2.py @@ -0,0 +1,66 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/privval/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/privval/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 +from poktroll_clients.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from poktroll_clients.proto.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\"I\n\x11RemoteSignerError\x12\x12\n\x04\x63ode\x18\x01 \x01(\x05R\x04\x63ode\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"*\n\rPubKeyRequest\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\"\x8a\x01\n\x0ePubKeyResponse\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12;\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerErrorR\x05\x65rror\"X\n\x0fSignVoteRequest\x12*\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x04vote\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\"\x83\x01\n\x12SignedVoteResponse\x12\x30\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteB\x04\xc8\xde\x1f\x00R\x04vote\x12;\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerErrorR\x05\x65rror\"h\n\x13SignProposalRequest\x12\x36\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalR\x08proposal\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\"\x93\x01\n\x16SignedProposalResponse\x12<\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00R\x08proposal\x12;\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerErrorR\x05\x65rror\"\r\n\x0bPingRequest\"\x0e\n\x0cPingResponse\"\xb2\x05\n\x07Message\x12K\n\x0fpub_key_request\x18\x01 \x01(\x0b\x32!.tendermint.privval.PubKeyRequestH\x00R\rpubKeyRequest\x12N\n\x10pub_key_response\x18\x02 \x01(\x0b\x32\".tendermint.privval.PubKeyResponseH\x00R\x0epubKeyResponse\x12Q\n\x11sign_vote_request\x18\x03 \x01(\x0b\x32#.tendermint.privval.SignVoteRequestH\x00R\x0fsignVoteRequest\x12Z\n\x14signed_vote_response\x18\x04 \x01(\x0b\x32&.tendermint.privval.SignedVoteResponseH\x00R\x12signedVoteResponse\x12]\n\x15sign_proposal_request\x18\x05 \x01(\x0b\x32\'.tendermint.privval.SignProposalRequestH\x00R\x13signProposalRequest\x12\x66\n\x18signed_proposal_response\x18\x06 \x01(\x0b\x32*.tendermint.privval.SignedProposalResponseH\x00R\x16signedProposalResponse\x12\x44\n\x0cping_request\x18\x07 \x01(\x0b\x32\x1f.tendermint.privval.PingRequestH\x00R\x0bpingRequest\x12G\n\rping_response\x18\x08 \x01(\x0b\x32 .tendermint.privval.PingResponseH\x00R\x0cpingResponseB\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') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.privval.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/privval' + _globals['_PUBKEYRESPONSE'].fields_by_name['pub_key']._loaded_options = None + _globals['_PUBKEYRESPONSE'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' + _globals['_SIGNEDVOTERESPONSE'].fields_by_name['vote']._loaded_options = None + _globals['_SIGNEDVOTERESPONSE'].fields_by_name['vote']._serialized_options = b'\310\336\037\000' + _globals['_SIGNEDPROPOSALRESPONSE'].fields_by_name['proposal']._loaded_options = None + _globals['_SIGNEDPROPOSALRESPONSE'].fields_by_name['proposal']._serialized_options = b'\310\336\037\000' + _globals['_ERRORS']._serialized_start=1601 + _globals['_ERRORS']._serialized_end=1769 + _globals['_REMOTESIGNERERROR']._serialized_start=136 + _globals['_REMOTESIGNERERROR']._serialized_end=209 + _globals['_PUBKEYREQUEST']._serialized_start=211 + _globals['_PUBKEYREQUEST']._serialized_end=253 + _globals['_PUBKEYRESPONSE']._serialized_start=256 + _globals['_PUBKEYRESPONSE']._serialized_end=394 + _globals['_SIGNVOTEREQUEST']._serialized_start=396 + _globals['_SIGNVOTEREQUEST']._serialized_end=484 + _globals['_SIGNEDVOTERESPONSE']._serialized_start=487 + _globals['_SIGNEDVOTERESPONSE']._serialized_end=618 + _globals['_SIGNPROPOSALREQUEST']._serialized_start=620 + _globals['_SIGNPROPOSALREQUEST']._serialized_end=724 + _globals['_SIGNEDPROPOSALRESPONSE']._serialized_start=727 + _globals['_SIGNEDPROPOSALRESPONSE']._serialized_end=874 + _globals['_PINGREQUEST']._serialized_start=876 + _globals['_PINGREQUEST']._serialized_end=889 + _globals['_PINGRESPONSE']._serialized_start=891 + _globals['_PINGRESPONSE']._serialized_end=905 + _globals['_MESSAGE']._serialized_start=908 + _globals['_MESSAGE']._serialized_end=1598 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/privval/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/privval/types_pb2.pyi new file mode 100644 index 0000000..1557d97 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/privval/types_pb2.pyi @@ -0,0 +1,261 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message +import sys +import tendermint.crypto.keys_pb2 +import tendermint.types.types_pb2 +import typing + +if sys.version_info >= (3, 10): + import typing as typing_extensions +else: + import typing_extensions + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +class _Errors: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + +class _ErrorsEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Errors.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + ERRORS_UNKNOWN: _Errors.ValueType # 0 + ERRORS_UNEXPECTED_RESPONSE: _Errors.ValueType # 1 + ERRORS_NO_CONNECTION: _Errors.ValueType # 2 + ERRORS_CONNECTION_TIMEOUT: _Errors.ValueType # 3 + ERRORS_READ_TIMEOUT: _Errors.ValueType # 4 + ERRORS_WRITE_TIMEOUT: _Errors.ValueType # 5 + +class Errors(_Errors, metaclass=_ErrorsEnumTypeWrapper): ... + +ERRORS_UNKNOWN: Errors.ValueType # 0 +ERRORS_UNEXPECTED_RESPONSE: Errors.ValueType # 1 +ERRORS_NO_CONNECTION: Errors.ValueType # 2 +ERRORS_CONNECTION_TIMEOUT: Errors.ValueType # 3 +ERRORS_READ_TIMEOUT: Errors.ValueType # 4 +ERRORS_WRITE_TIMEOUT: Errors.ValueType # 5 +global___Errors = Errors + +@typing.final +class RemoteSignerError(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CODE_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + code: builtins.int + description: builtins.str + def __init__( + self, + *, + code: builtins.int = ..., + description: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["code", b"code", "description", b"description"]) -> None: ... + +global___RemoteSignerError = RemoteSignerError + +@typing.final +class PubKeyRequest(google.protobuf.message.Message): + """PubKeyRequest requests the consensus public key from the remote signer.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CHAIN_ID_FIELD_NUMBER: builtins.int + chain_id: builtins.str + def __init__( + self, + *, + chain_id: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["chain_id", b"chain_id"]) -> None: ... + +global___PubKeyRequest = PubKeyRequest + +@typing.final +class PubKeyResponse(google.protobuf.message.Message): + """PubKeyResponse is a response message containing the public key.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PUB_KEY_FIELD_NUMBER: builtins.int + ERROR_FIELD_NUMBER: builtins.int + @property + def pub_key(self) -> tendermint.crypto.keys_pb2.PublicKey: ... + @property + def error(self) -> global___RemoteSignerError: ... + def __init__( + self, + *, + pub_key: tendermint.crypto.keys_pb2.PublicKey | None = ..., + error: global___RemoteSignerError | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["error", b"error", "pub_key", b"pub_key"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["error", b"error", "pub_key", b"pub_key"]) -> None: ... + +global___PubKeyResponse = PubKeyResponse + +@typing.final +class SignVoteRequest(google.protobuf.message.Message): + """SignVoteRequest is a request to sign a vote""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VOTE_FIELD_NUMBER: builtins.int + CHAIN_ID_FIELD_NUMBER: builtins.int + chain_id: builtins.str + @property + def vote(self) -> tendermint.types.types_pb2.Vote: ... + def __init__( + self, + *, + vote: tendermint.types.types_pb2.Vote | None = ..., + chain_id: builtins.str = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["vote", b"vote"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["chain_id", b"chain_id", "vote", b"vote"]) -> None: ... + +global___SignVoteRequest = SignVoteRequest + +@typing.final +class SignedVoteResponse(google.protobuf.message.Message): + """SignedVoteResponse is a response containing a signed vote or an error""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VOTE_FIELD_NUMBER: builtins.int + ERROR_FIELD_NUMBER: builtins.int + @property + def vote(self) -> tendermint.types.types_pb2.Vote: ... + @property + def error(self) -> global___RemoteSignerError: ... + def __init__( + self, + *, + vote: tendermint.types.types_pb2.Vote | None = ..., + error: global___RemoteSignerError | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["error", b"error", "vote", b"vote"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["error", b"error", "vote", b"vote"]) -> None: ... + +global___SignedVoteResponse = SignedVoteResponse + +@typing.final +class SignProposalRequest(google.protobuf.message.Message): + """SignProposalRequest is a request to sign a proposal""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PROPOSAL_FIELD_NUMBER: builtins.int + CHAIN_ID_FIELD_NUMBER: builtins.int + chain_id: builtins.str + @property + def proposal(self) -> tendermint.types.types_pb2.Proposal: ... + def __init__( + self, + *, + proposal: tendermint.types.types_pb2.Proposal | None = ..., + chain_id: builtins.str = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proposal", b"proposal"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["chain_id", b"chain_id", "proposal", b"proposal"]) -> None: ... + +global___SignProposalRequest = SignProposalRequest + +@typing.final +class SignedProposalResponse(google.protobuf.message.Message): + """SignedProposalResponse is response containing a signed proposal or an error""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PROPOSAL_FIELD_NUMBER: builtins.int + ERROR_FIELD_NUMBER: builtins.int + @property + def proposal(self) -> tendermint.types.types_pb2.Proposal: ... + @property + def error(self) -> global___RemoteSignerError: ... + def __init__( + self, + *, + proposal: tendermint.types.types_pb2.Proposal | None = ..., + error: global___RemoteSignerError | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["error", b"error", "proposal", b"proposal"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["error", b"error", "proposal", b"proposal"]) -> None: ... + +global___SignedProposalResponse = SignedProposalResponse + +@typing.final +class PingRequest(google.protobuf.message.Message): + """PingRequest is a request to confirm that the connection is alive.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___PingRequest = PingRequest + +@typing.final +class PingResponse(google.protobuf.message.Message): + """PingResponse is a response to confirm that the connection is alive.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___PingResponse = PingResponse + +@typing.final +class Message(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PUB_KEY_REQUEST_FIELD_NUMBER: builtins.int + PUB_KEY_RESPONSE_FIELD_NUMBER: builtins.int + SIGN_VOTE_REQUEST_FIELD_NUMBER: builtins.int + SIGNED_VOTE_RESPONSE_FIELD_NUMBER: builtins.int + SIGN_PROPOSAL_REQUEST_FIELD_NUMBER: builtins.int + SIGNED_PROPOSAL_RESPONSE_FIELD_NUMBER: builtins.int + PING_REQUEST_FIELD_NUMBER: builtins.int + PING_RESPONSE_FIELD_NUMBER: builtins.int + @property + def pub_key_request(self) -> global___PubKeyRequest: ... + @property + def pub_key_response(self) -> global___PubKeyResponse: ... + @property + def sign_vote_request(self) -> global___SignVoteRequest: ... + @property + def signed_vote_response(self) -> global___SignedVoteResponse: ... + @property + def sign_proposal_request(self) -> global___SignProposalRequest: ... + @property + def signed_proposal_response(self) -> global___SignedProposalResponse: ... + @property + def ping_request(self) -> global___PingRequest: ... + @property + def ping_response(self) -> global___PingResponse: ... + def __init__( + self, + *, + pub_key_request: global___PubKeyRequest | None = ..., + pub_key_response: global___PubKeyResponse | None = ..., + sign_vote_request: global___SignVoteRequest | None = ..., + signed_vote_response: global___SignedVoteResponse | None = ..., + sign_proposal_request: global___SignProposalRequest | None = ..., + signed_proposal_response: global___SignedProposalResponse | None = ..., + ping_request: global___PingRequest | None = ..., + ping_response: global___PingResponse | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["ping_request", b"ping_request", "ping_response", b"ping_response", "pub_key_request", b"pub_key_request", "pub_key_response", b"pub_key_response", "sign_proposal_request", b"sign_proposal_request", "sign_vote_request", b"sign_vote_request", "signed_proposal_response", b"signed_proposal_response", "signed_vote_response", b"signed_vote_response", "sum", b"sum"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["ping_request", b"ping_request", "ping_response", b"ping_response", "pub_key_request", b"pub_key_request", "pub_key_response", b"pub_key_response", "sign_proposal_request", b"sign_proposal_request", "sign_vote_request", b"sign_vote_request", "signed_proposal_response", b"signed_proposal_response", "signed_vote_response", b"signed_vote_response", "sum", b"sum"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["pub_key_request", "pub_key_response", "sign_vote_request", "signed_vote_response", "sign_proposal_request", "signed_proposal_response", "ping_request", "ping_response"] | None: ... + +global___Message = Message diff --git a/src/poktroll_clients/proto/tendermint/rpc/grpc/types_pb2.py b/src/poktroll_clients/proto/tendermint/rpc/grpc/types_pb2.py new file mode 100644 index 0000000..a469a0e --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/rpc/grpc/types_pb2.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/rpc/grpc/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/rpc/grpc/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.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\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\"\x0e\n\x0cResponsePing\"\x8e\x01\n\x13ResponseBroadcastTx\x12;\n\x08\x63heck_tx\x18\x01 \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxR\x07\x63heckTx\x12:\n\ttx_result\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultR\x08txResult2\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.ResponseBroadcastTxB0Z.github.com/cometbft/cometbft/rpc/grpc;coregrpcb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.rpc.grpc.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z.github.com/cometbft/cometbft/rpc/grpc;coregrpc' + _globals['_REQUESTPING']._serialized_start=85 + _globals['_REQUESTPING']._serialized_end=98 + _globals['_REQUESTBROADCASTTX']._serialized_start=100 + _globals['_REQUESTBROADCASTTX']._serialized_end=136 + _globals['_RESPONSEPING']._serialized_start=138 + _globals['_RESPONSEPING']._serialized_end=152 + _globals['_RESPONSEBROADCASTTX']._serialized_start=155 + _globals['_RESPONSEBROADCASTTX']._serialized_end=297 + _globals['_BROADCASTAPI']._serialized_start=300 + _globals['_BROADCASTAPI']._serialized_end=489 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/rpc/grpc/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/rpc/grpc/types_pb2.pyi new file mode 100644 index 0000000..bebd085 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/rpc/grpc/types_pb2.pyi @@ -0,0 +1,76 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import tendermint.abci.types_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class RequestPing(google.protobuf.message.Message): + """---------------------------------------- + Request types + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___RequestPing = RequestPing + +@typing.final +class RequestBroadcastTx(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TX_FIELD_NUMBER: builtins.int + tx: builtins.bytes + def __init__( + self, + *, + tx: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["tx", b"tx"]) -> None: ... + +global___RequestBroadcastTx = RequestBroadcastTx + +@typing.final +class ResponsePing(google.protobuf.message.Message): + """---------------------------------------- + Response types + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___ResponsePing = ResponsePing + +@typing.final +class ResponseBroadcastTx(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CHECK_TX_FIELD_NUMBER: builtins.int + TX_RESULT_FIELD_NUMBER: builtins.int + @property + def check_tx(self) -> tendermint.abci.types_pb2.ResponseCheckTx: ... + @property + def tx_result(self) -> tendermint.abci.types_pb2.ExecTxResult: ... + def __init__( + self, + *, + check_tx: tendermint.abci.types_pb2.ResponseCheckTx | None = ..., + tx_result: tendermint.abci.types_pb2.ExecTxResult | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["check_tx", b"check_tx", "tx_result", b"tx_result"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["check_tx", b"check_tx", "tx_result", b"tx_result"]) -> None: ... + +global___ResponseBroadcastTx = ResponseBroadcastTx diff --git a/src/poktroll_clients/proto/tendermint/state/types_pb2.py b/src/poktroll_clients/proto/tendermint/state/types_pb2.py new file mode 100644 index 0000000..e94f7c5 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/state/types_pb2.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/state/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/state/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from poktroll_clients.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 +from poktroll_clients.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from poktroll_clients.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 +from poktroll_clients.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 +from poktroll_clients.proto.tendermint.version import types_pb2 as tendermint_dot_version_dot_types__pb2 +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\"\xdd\x01\n\x13LegacyABCIResponses\x12>\n\x0b\x64\x65liver_txs\x18\x01 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResultR\ndeliverTxs\x12?\n\tend_block\x18\x02 \x01(\x0b\x32\".tendermint.state.ResponseEndBlockR\x08\x65ndBlock\x12\x45\n\x0b\x62\x65gin_block\x18\x03 \x01(\x0b\x32$.tendermint.state.ResponseBeginBlockR\nbeginBlock\"^\n\x12ResponseBeginBlock\x12H\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\"\x8c\x02\n\x10ResponseEndBlock\x12S\n\x11validator_updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\x10validatorUpdates\x12Y\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x15\x63onsensusParamUpdates\x12H\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\"\x85\x01\n\x0eValidatorsInfo\x12\x43\n\rvalidator_set\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\x12.\n\x13last_height_changed\x18\x02 \x01(\x03R\x11lastHeightChanged\"\x99\x01\n\x13\x43onsensusParamsInfo\x12R\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusParams\x12.\n\x13last_height_changed\x18\x02 \x01(\x03R\x11lastHeightChanged\"\xe6\x01\n\x11\x41\x42\x43IResponsesInfo\x12Y\n\x15legacy_abci_responses\x18\x01 \x01(\x0b\x32%.tendermint.state.LegacyABCIResponsesR\x13legacyAbciResponses\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12^\n\x17response_finalize_block\x18\x03 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x15responseFinalizeBlock\"h\n\x07Version\x12\x41\n\tconsensus\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00R\tconsensus\x12\x1a\n\x08software\x18\x02 \x01(\tR\x08software\"\xe1\x06\n\x05State\x12\x39\n\x07version\x18\x01 \x01(\x0b\x32\x19.tendermint.state.VersionB\x04\xc8\xde\x1f\x00R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12%\n\x0einitial_height\x18\x0e \x01(\x03R\rinitialHeight\x12*\n\x11last_block_height\x18\x03 \x01(\x03R\x0flastBlockHeight\x12R\n\rlast_block_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x13\xc8\xde\x1f\x00\xe2\xde\x1f\x0bLastBlockIDR\x0blastBlockId\x12L\n\x0flast_block_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\rlastBlockTime\x12G\n\x0fnext_validators\x18\x06 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0enextValidators\x12>\n\nvalidators\x18\x07 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\nvalidators\x12G\n\x0flast_validators\x18\x08 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0elastValidators\x12\x43\n\x1elast_height_validators_changed\x18\t \x01(\x03R\x1blastHeightValidatorsChanged\x12R\n\x10\x63onsensus_params\x18\n \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusParams\x12N\n$last_height_consensus_params_changed\x18\x0b \x01(\x03R lastHeightConsensusParamsChanged\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12\x19\n\x08\x61pp_hash\x18\r \x01(\x0cR\x07\x61ppHashB5Z3github.com/cometbft/cometbft/proto/tendermint/stateb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.state.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/state' + _globals['_RESPONSEBEGINBLOCK'].fields_by_name['events']._loaded_options = None + _globals['_RESPONSEBEGINBLOCK'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_RESPONSEENDBLOCK'].fields_by_name['validator_updates']._loaded_options = None + _globals['_RESPONSEENDBLOCK'].fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _globals['_RESPONSEENDBLOCK'].fields_by_name['events']._loaded_options = None + _globals['_RESPONSEENDBLOCK'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_CONSENSUSPARAMSINFO'].fields_by_name['consensus_params']._loaded_options = None + _globals['_CONSENSUSPARAMSINFO'].fields_by_name['consensus_params']._serialized_options = b'\310\336\037\000' + _globals['_VERSION'].fields_by_name['consensus']._loaded_options = None + _globals['_VERSION'].fields_by_name['consensus']._serialized_options = b'\310\336\037\000' + _globals['_STATE'].fields_by_name['version']._loaded_options = None + _globals['_STATE'].fields_by_name['version']._serialized_options = b'\310\336\037\000' + _globals['_STATE'].fields_by_name['chain_id']._loaded_options = None + _globals['_STATE'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' + _globals['_STATE'].fields_by_name['last_block_id']._loaded_options = None + _globals['_STATE'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000\342\336\037\013LastBlockID' + _globals['_STATE'].fields_by_name['last_block_time']._loaded_options = None + _globals['_STATE'].fields_by_name['last_block_time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_STATE'].fields_by_name['consensus_params']._loaded_options = None + _globals['_STATE'].fields_by_name['consensus_params']._serialized_options = b'\310\336\037\000' + _globals['_LEGACYABCIRESPONSES']._serialized_start=262 + _globals['_LEGACYABCIRESPONSES']._serialized_end=483 + _globals['_RESPONSEBEGINBLOCK']._serialized_start=485 + _globals['_RESPONSEBEGINBLOCK']._serialized_end=579 + _globals['_RESPONSEENDBLOCK']._serialized_start=582 + _globals['_RESPONSEENDBLOCK']._serialized_end=850 + _globals['_VALIDATORSINFO']._serialized_start=853 + _globals['_VALIDATORSINFO']._serialized_end=986 + _globals['_CONSENSUSPARAMSINFO']._serialized_start=989 + _globals['_CONSENSUSPARAMSINFO']._serialized_end=1142 + _globals['_ABCIRESPONSESINFO']._serialized_start=1145 + _globals['_ABCIRESPONSESINFO']._serialized_end=1375 + _globals['_VERSION']._serialized_start=1377 + _globals['_VERSION']._serialized_end=1481 + _globals['_STATE']._serialized_start=1484 + _globals['_STATE']._serialized_end=2349 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/state/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/state/types_pb2.pyi new file mode 100644 index 0000000..e5392df --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/state/types_pb2.pyi @@ -0,0 +1,261 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 +import tendermint.abci.types_pb2 +import tendermint.types.params_pb2 +import tendermint.types.types_pb2 +import tendermint.types.validator_pb2 +import tendermint.version.types_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class LegacyABCIResponses(google.protobuf.message.Message): + """LegacyABCIResponses retains the responses + of the legacy ABCI calls during block processing. + Note ReponseDeliverTx is renamed to ExecTxResult but they are semantically the same + Kept for backwards compatibility for versions prior to v0.38 + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + DELIVER_TXS_FIELD_NUMBER: builtins.int + END_BLOCK_FIELD_NUMBER: builtins.int + BEGIN_BLOCK_FIELD_NUMBER: builtins.int + @property + def deliver_txs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tendermint.abci.types_pb2.ExecTxResult]: ... + @property + def end_block(self) -> global___ResponseEndBlock: ... + @property + def begin_block(self) -> global___ResponseBeginBlock: ... + def __init__( + self, + *, + deliver_txs: collections.abc.Iterable[tendermint.abci.types_pb2.ExecTxResult] | None = ..., + end_block: global___ResponseEndBlock | None = ..., + begin_block: global___ResponseBeginBlock | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["begin_block", b"begin_block", "end_block", b"end_block"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["begin_block", b"begin_block", "deliver_txs", b"deliver_txs", "end_block", b"end_block"]) -> None: ... + +global___LegacyABCIResponses = LegacyABCIResponses + +@typing.final +class ResponseBeginBlock(google.protobuf.message.Message): + """ResponseBeginBlock is kept for backwards compatibility for versions prior to v0.38""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + EVENTS_FIELD_NUMBER: builtins.int + @property + def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tendermint.abci.types_pb2.Event]: ... + def __init__( + self, + *, + events: collections.abc.Iterable[tendermint.abci.types_pb2.Event] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["events", b"events"]) -> None: ... + +global___ResponseBeginBlock = ResponseBeginBlock + +@typing.final +class ResponseEndBlock(google.protobuf.message.Message): + """ResponseEndBlock is kept for backwards compatibility for versions prior to v0.38""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VALIDATOR_UPDATES_FIELD_NUMBER: builtins.int + CONSENSUS_PARAM_UPDATES_FIELD_NUMBER: builtins.int + EVENTS_FIELD_NUMBER: builtins.int + @property + def validator_updates(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tendermint.abci.types_pb2.ValidatorUpdate]: ... + @property + def consensus_param_updates(self) -> tendermint.types.params_pb2.ConsensusParams: ... + @property + def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tendermint.abci.types_pb2.Event]: ... + def __init__( + self, + *, + validator_updates: collections.abc.Iterable[tendermint.abci.types_pb2.ValidatorUpdate] | None = ..., + consensus_param_updates: tendermint.types.params_pb2.ConsensusParams | None = ..., + events: collections.abc.Iterable[tendermint.abci.types_pb2.Event] | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["consensus_param_updates", b"consensus_param_updates"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["consensus_param_updates", b"consensus_param_updates", "events", b"events", "validator_updates", b"validator_updates"]) -> None: ... + +global___ResponseEndBlock = ResponseEndBlock + +@typing.final +class ValidatorsInfo(google.protobuf.message.Message): + """ValidatorsInfo represents the latest validator set, or the last height it changed""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VALIDATOR_SET_FIELD_NUMBER: builtins.int + LAST_HEIGHT_CHANGED_FIELD_NUMBER: builtins.int + last_height_changed: builtins.int + @property + def validator_set(self) -> tendermint.types.validator_pb2.ValidatorSet: ... + def __init__( + self, + *, + validator_set: tendermint.types.validator_pb2.ValidatorSet | None = ..., + last_height_changed: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["validator_set", b"validator_set"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["last_height_changed", b"last_height_changed", "validator_set", b"validator_set"]) -> None: ... + +global___ValidatorsInfo = ValidatorsInfo + +@typing.final +class ConsensusParamsInfo(google.protobuf.message.Message): + """ConsensusParamsInfo represents the latest consensus params, or the last height it changed""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CONSENSUS_PARAMS_FIELD_NUMBER: builtins.int + LAST_HEIGHT_CHANGED_FIELD_NUMBER: builtins.int + last_height_changed: builtins.int + @property + def consensus_params(self) -> tendermint.types.params_pb2.ConsensusParams: ... + def __init__( + self, + *, + consensus_params: tendermint.types.params_pb2.ConsensusParams | None = ..., + last_height_changed: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["consensus_params", b"consensus_params"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["consensus_params", b"consensus_params", "last_height_changed", b"last_height_changed"]) -> None: ... + +global___ConsensusParamsInfo = ConsensusParamsInfo + +@typing.final +class ABCIResponsesInfo(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + LEGACY_ABCI_RESPONSES_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + RESPONSE_FINALIZE_BLOCK_FIELD_NUMBER: builtins.int + height: builtins.int + @property + def legacy_abci_responses(self) -> global___LegacyABCIResponses: ... + @property + def response_finalize_block(self) -> tendermint.abci.types_pb2.ResponseFinalizeBlock: ... + def __init__( + self, + *, + legacy_abci_responses: global___LegacyABCIResponses | None = ..., + height: builtins.int = ..., + response_finalize_block: tendermint.abci.types_pb2.ResponseFinalizeBlock | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["legacy_abci_responses", b"legacy_abci_responses", "response_finalize_block", b"response_finalize_block"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["height", b"height", "legacy_abci_responses", b"legacy_abci_responses", "response_finalize_block", b"response_finalize_block"]) -> None: ... + +global___ABCIResponsesInfo = ABCIResponsesInfo + +@typing.final +class Version(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CONSENSUS_FIELD_NUMBER: builtins.int + SOFTWARE_FIELD_NUMBER: builtins.int + software: builtins.str + @property + def consensus(self) -> tendermint.version.types_pb2.Consensus: ... + def __init__( + self, + *, + consensus: tendermint.version.types_pb2.Consensus | None = ..., + software: builtins.str = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["consensus", b"consensus"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["consensus", b"consensus", "software", b"software"]) -> None: ... + +global___Version = Version + +@typing.final +class State(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VERSION_FIELD_NUMBER: builtins.int + CHAIN_ID_FIELD_NUMBER: builtins.int + INITIAL_HEIGHT_FIELD_NUMBER: builtins.int + LAST_BLOCK_HEIGHT_FIELD_NUMBER: builtins.int + LAST_BLOCK_ID_FIELD_NUMBER: builtins.int + LAST_BLOCK_TIME_FIELD_NUMBER: builtins.int + NEXT_VALIDATORS_FIELD_NUMBER: builtins.int + VALIDATORS_FIELD_NUMBER: builtins.int + LAST_VALIDATORS_FIELD_NUMBER: builtins.int + LAST_HEIGHT_VALIDATORS_CHANGED_FIELD_NUMBER: builtins.int + CONSENSUS_PARAMS_FIELD_NUMBER: builtins.int + LAST_HEIGHT_CONSENSUS_PARAMS_CHANGED_FIELD_NUMBER: builtins.int + LAST_RESULTS_HASH_FIELD_NUMBER: builtins.int + APP_HASH_FIELD_NUMBER: builtins.int + chain_id: builtins.str + """immutable""" + initial_height: builtins.int + last_block_height: builtins.int + """LastBlockHeight=0 at genesis (ie. block(H=0) does not exist)""" + last_height_validators_changed: builtins.int + last_height_consensus_params_changed: builtins.int + last_results_hash: builtins.bytes + """Merkle root of the results from executing prev block""" + app_hash: builtins.bytes + """the latest AppHash we've received from calling abci.Commit()""" + @property + def version(self) -> global___Version: ... + @property + def last_block_id(self) -> tendermint.types.types_pb2.BlockID: ... + @property + def last_block_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def next_validators(self) -> tendermint.types.validator_pb2.ValidatorSet: + """LastValidators is used to validate block.LastCommit. + Validators are persisted to the database separately every time they change, + so we can query for historical validator sets. + Note that if s.LastBlockHeight causes a valset change, + we set s.LastHeightValidatorsChanged = s.LastBlockHeight + 1 + 1 + Extra +1 due to nextValSet delay. + """ + + @property + def validators(self) -> tendermint.types.validator_pb2.ValidatorSet: ... + @property + def last_validators(self) -> tendermint.types.validator_pb2.ValidatorSet: ... + @property + def consensus_params(self) -> tendermint.types.params_pb2.ConsensusParams: + """Consensus parameters used for validating blocks. + Changes returned by EndBlock and updated after Commit. + """ + + def __init__( + self, + *, + version: global___Version | None = ..., + chain_id: builtins.str = ..., + initial_height: builtins.int = ..., + last_block_height: builtins.int = ..., + last_block_id: tendermint.types.types_pb2.BlockID | None = ..., + last_block_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + next_validators: tendermint.types.validator_pb2.ValidatorSet | None = ..., + validators: tendermint.types.validator_pb2.ValidatorSet | None = ..., + last_validators: tendermint.types.validator_pb2.ValidatorSet | None = ..., + last_height_validators_changed: builtins.int = ..., + consensus_params: tendermint.types.params_pb2.ConsensusParams | None = ..., + last_height_consensus_params_changed: builtins.int = ..., + last_results_hash: builtins.bytes = ..., + app_hash: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["consensus_params", b"consensus_params", "last_block_id", b"last_block_id", "last_block_time", b"last_block_time", "last_validators", b"last_validators", "next_validators", b"next_validators", "validators", b"validators", "version", b"version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["app_hash", b"app_hash", "chain_id", b"chain_id", "consensus_params", b"consensus_params", "initial_height", b"initial_height", "last_block_height", b"last_block_height", "last_block_id", b"last_block_id", "last_block_time", b"last_block_time", "last_height_consensus_params_changed", b"last_height_consensus_params_changed", "last_height_validators_changed", b"last_height_validators_changed", "last_results_hash", b"last_results_hash", "last_validators", b"last_validators", "next_validators", b"next_validators", "validators", b"validators", "version", b"version"]) -> None: ... + +global___State = State diff --git a/src/poktroll_clients/proto/tendermint/statesync/types_pb2.py b/src/poktroll_clients/proto/tendermint/statesync/types_pb2.py new file mode 100644 index 0000000..2f4fa20 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/statesync/types_pb2.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/statesync/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/statesync/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/statesync/types.proto\x12\x14tendermint.statesync\"\xda\x02\n\x07Message\x12U\n\x11snapshots_request\x18\x01 \x01(\x0b\x32&.tendermint.statesync.SnapshotsRequestH\x00R\x10snapshotsRequest\x12X\n\x12snapshots_response\x18\x02 \x01(\x0b\x32\'.tendermint.statesync.SnapshotsResponseH\x00R\x11snapshotsResponse\x12I\n\rchunk_request\x18\x03 \x01(\x0b\x32\".tendermint.statesync.ChunkRequestH\x00R\x0c\x63hunkRequest\x12L\n\x0e\x63hunk_response\x18\x04 \x01(\x0b\x32#.tendermint.statesync.ChunkResponseH\x00R\rchunkResponseB\x05\n\x03sum\"\x12\n\x10SnapshotsRequest\"\x8b\x01\n\x11SnapshotsResponse\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x1a\n\x08metadata\x18\x05 \x01(\x0cR\x08metadata\"T\n\x0c\x43hunkRequest\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x14\n\x05index\x18\x03 \x01(\rR\x05index\"\x85\x01\n\rChunkResponse\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x14\n\x05index\x18\x03 \x01(\rR\x05index\x12\x14\n\x05\x63hunk\x18\x04 \x01(\x0cR\x05\x63hunk\x12\x18\n\x07missing\x18\x05 \x01(\x08R\x07missingB9Z7github.com/cometbft/cometbft/proto/tendermint/statesyncb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.statesync.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/statesync' + _globals['_MESSAGE']._serialized_start=59 + _globals['_MESSAGE']._serialized_end=405 + _globals['_SNAPSHOTSREQUEST']._serialized_start=407 + _globals['_SNAPSHOTSREQUEST']._serialized_end=425 + _globals['_SNAPSHOTSRESPONSE']._serialized_start=428 + _globals['_SNAPSHOTSRESPONSE']._serialized_end=567 + _globals['_CHUNKREQUEST']._serialized_start=569 + _globals['_CHUNKREQUEST']._serialized_end=653 + _globals['_CHUNKRESPONSE']._serialized_start=656 + _globals['_CHUNKRESPONSE']._serialized_end=789 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/statesync/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/statesync/types_pb2.pyi new file mode 100644 index 0000000..db972b9 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/statesync/types_pb2.pyi @@ -0,0 +1,126 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class Message(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + SNAPSHOTS_REQUEST_FIELD_NUMBER: builtins.int + SNAPSHOTS_RESPONSE_FIELD_NUMBER: builtins.int + CHUNK_REQUEST_FIELD_NUMBER: builtins.int + CHUNK_RESPONSE_FIELD_NUMBER: builtins.int + @property + def snapshots_request(self) -> global___SnapshotsRequest: ... + @property + def snapshots_response(self) -> global___SnapshotsResponse: ... + @property + def chunk_request(self) -> global___ChunkRequest: ... + @property + def chunk_response(self) -> global___ChunkResponse: ... + def __init__( + self, + *, + snapshots_request: global___SnapshotsRequest | None = ..., + snapshots_response: global___SnapshotsResponse | None = ..., + chunk_request: global___ChunkRequest | None = ..., + chunk_response: global___ChunkResponse | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["chunk_request", b"chunk_request", "chunk_response", b"chunk_response", "snapshots_request", b"snapshots_request", "snapshots_response", b"snapshots_response", "sum", b"sum"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["chunk_request", b"chunk_request", "chunk_response", b"chunk_response", "snapshots_request", b"snapshots_request", "snapshots_response", b"snapshots_response", "sum", b"sum"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["snapshots_request", "snapshots_response", "chunk_request", "chunk_response"] | None: ... + +global___Message = Message + +@typing.final +class SnapshotsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__( + self, + ) -> None: ... + +global___SnapshotsRequest = SnapshotsRequest + +@typing.final +class SnapshotsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + FORMAT_FIELD_NUMBER: builtins.int + CHUNKS_FIELD_NUMBER: builtins.int + HASH_FIELD_NUMBER: builtins.int + METADATA_FIELD_NUMBER: builtins.int + height: builtins.int + format: builtins.int + chunks: builtins.int + hash: builtins.bytes + metadata: builtins.bytes + def __init__( + self, + *, + height: builtins.int = ..., + format: builtins.int = ..., + chunks: builtins.int = ..., + hash: builtins.bytes = ..., + metadata: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["chunks", b"chunks", "format", b"format", "hash", b"hash", "height", b"height", "metadata", b"metadata"]) -> None: ... + +global___SnapshotsResponse = SnapshotsResponse + +@typing.final +class ChunkRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + FORMAT_FIELD_NUMBER: builtins.int + INDEX_FIELD_NUMBER: builtins.int + height: builtins.int + format: builtins.int + index: builtins.int + def __init__( + self, + *, + height: builtins.int = ..., + format: builtins.int = ..., + index: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["format", b"format", "height", b"height", "index", b"index"]) -> None: ... + +global___ChunkRequest = ChunkRequest + +@typing.final +class ChunkResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + FORMAT_FIELD_NUMBER: builtins.int + INDEX_FIELD_NUMBER: builtins.int + CHUNK_FIELD_NUMBER: builtins.int + MISSING_FIELD_NUMBER: builtins.int + height: builtins.int + format: builtins.int + index: builtins.int + chunk: builtins.bytes + missing: builtins.bool + def __init__( + self, + *, + height: builtins.int = ..., + format: builtins.int = ..., + index: builtins.int = ..., + chunk: builtins.bytes = ..., + missing: builtins.bool = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["chunk", b"chunk", "format", b"format", "height", b"height", "index", b"index", "missing", b"missing"]) -> None: ... + +global___ChunkResponse = ChunkResponse diff --git a/src/poktroll_clients/proto/tendermint/store/types_pb2.py b/src/poktroll_clients/proto/tendermint/store/types_pb2.py new file mode 100644 index 0000000..3cd2821 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/store/types_pb2.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/store/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/store/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/store/types.proto\x12\x10tendermint.store\"=\n\x0f\x42lockStoreState\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\x03R\x04\x62\x61se\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06heightB5Z3github.com/cometbft/cometbft/proto/tendermint/storeb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.store.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/store' + _globals['_BLOCKSTORESTATE']._serialized_start=50 + _globals['_BLOCKSTORESTATE']._serialized_end=111 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/store/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/store/types_pb2.pyi new file mode 100644 index 0000000..26acb6e --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/store/types_pb2.pyi @@ -0,0 +1,29 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class BlockStoreState(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BASE_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + base: builtins.int + height: builtins.int + def __init__( + self, + *, + base: builtins.int = ..., + height: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["base", b"base", "height", b"height"]) -> None: ... + +global___BlockStoreState = BlockStoreState diff --git a/src/poktroll_clients/proto/tendermint/types/block_pb2.py b/src/poktroll_clients/proto/tendermint/types/block_pb2.py new file mode 100644 index 0000000..f9d5359 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/block_pb2.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/types/block.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/types/block.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from poktroll_clients.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from poktroll_clients.proto.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\"\xee\x01\n\x05\x42lock\x12\x36\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta\x12@\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommitB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.block_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' + _globals['_BLOCK'].fields_by_name['header']._loaded_options = None + _globals['_BLOCK'].fields_by_name['header']._serialized_options = b'\310\336\037\000' + _globals['_BLOCK'].fields_by_name['data']._loaded_options = None + _globals['_BLOCK'].fields_by_name['data']._serialized_options = b'\310\336\037\000' + _globals['_BLOCK'].fields_by_name['evidence']._loaded_options = None + _globals['_BLOCK'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' + _globals['_BLOCK']._serialized_start=136 + _globals['_BLOCK']._serialized_end=374 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/types/block_pb2.pyi b/src/poktroll_clients/proto/tendermint/types/block_pb2.pyi new file mode 100644 index 0000000..ab24f05 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/block_pb2.pyi @@ -0,0 +1,42 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import tendermint.types.evidence_pb2 +import tendermint.types.types_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class Block(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEADER_FIELD_NUMBER: builtins.int + DATA_FIELD_NUMBER: builtins.int + EVIDENCE_FIELD_NUMBER: builtins.int + LAST_COMMIT_FIELD_NUMBER: builtins.int + @property + def header(self) -> tendermint.types.types_pb2.Header: ... + @property + def data(self) -> tendermint.types.types_pb2.Data: ... + @property + def evidence(self) -> tendermint.types.evidence_pb2.EvidenceList: ... + @property + def last_commit(self) -> tendermint.types.types_pb2.Commit: ... + def __init__( + self, + *, + header: tendermint.types.types_pb2.Header | None = ..., + data: tendermint.types.types_pb2.Data | None = ..., + evidence: tendermint.types.evidence_pb2.EvidenceList | None = ..., + last_commit: tendermint.types.types_pb2.Commit | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["data", b"data", "evidence", b"evidence", "header", b"header", "last_commit", b"last_commit"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["data", b"data", "evidence", b"evidence", "header", b"header", "last_commit", b"last_commit"]) -> None: ... + +global___Block = Block diff --git a/src/poktroll_clients/proto/tendermint/types/canonical_pb2.py b/src/poktroll_clients/proto/tendermint/types/canonical_pb2.py new file mode 100644 index 0000000..8fba958 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/canonical_pb2.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/types/canonical.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/types/canonical.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from poktroll_clients.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +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\"~\n\x10\x43\x61nonicalBlockID\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12V\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32(.tendermint.types.CanonicalPartSetHeaderB\x04\xc8\xde\x1f\x00R\rpartSetHeader\"B\n\x16\x43\x61nonicalPartSetHeader\x12\x14\n\x05total\x18\x01 \x01(\rR\x05total\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\"\xd9\x02\n\x11\x43\x61nonicalProposal\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x10R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x10R\x05round\x12)\n\tpol_round\x18\x04 \x01(\x03\x42\x0c\xe2\xde\x1f\x08POLRoundR\x08polRound\x12J\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12&\n\x08\x63hain_id\x18\x07 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\"\xaa\x02\n\rCanonicalVote\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x10R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x10R\x05round\x12J\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12&\n\x08\x63hain_id\x18\x06 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\"\x7f\n\x16\x43\x61nonicalVoteExtension\x12\x1c\n\textension\x18\x01 \x01(\x0cR\textension\x12\x16\n\x06height\x18\x02 \x01(\x10R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x10R\x05round\x12\x19\n\x08\x63hain_id\x18\x04 \x01(\tR\x07\x63hainIdB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.canonical_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' + _globals['_CANONICALBLOCKID'].fields_by_name['part_set_header']._loaded_options = None + _globals['_CANONICALBLOCKID'].fields_by_name['part_set_header']._serialized_options = b'\310\336\037\000' + _globals['_CANONICALPROPOSAL'].fields_by_name['pol_round']._loaded_options = None + _globals['_CANONICALPROPOSAL'].fields_by_name['pol_round']._serialized_options = b'\342\336\037\010POLRound' + _globals['_CANONICALPROPOSAL'].fields_by_name['block_id']._loaded_options = None + _globals['_CANONICALPROPOSAL'].fields_by_name['block_id']._serialized_options = b'\342\336\037\007BlockID' + _globals['_CANONICALPROPOSAL'].fields_by_name['timestamp']._loaded_options = None + _globals['_CANONICALPROPOSAL'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_CANONICALPROPOSAL'].fields_by_name['chain_id']._loaded_options = None + _globals['_CANONICALPROPOSAL'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' + _globals['_CANONICALVOTE'].fields_by_name['block_id']._loaded_options = None + _globals['_CANONICALVOTE'].fields_by_name['block_id']._serialized_options = b'\342\336\037\007BlockID' + _globals['_CANONICALVOTE'].fields_by_name['timestamp']._loaded_options = None + _globals['_CANONICALVOTE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_CANONICALVOTE'].fields_by_name['chain_id']._loaded_options = None + _globals['_CANONICALVOTE'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' + _globals['_CANONICALBLOCKID']._serialized_start=139 + _globals['_CANONICALBLOCKID']._serialized_end=265 + _globals['_CANONICALPARTSETHEADER']._serialized_start=267 + _globals['_CANONICALPARTSETHEADER']._serialized_end=333 + _globals['_CANONICALPROPOSAL']._serialized_start=336 + _globals['_CANONICALPROPOSAL']._serialized_end=681 + _globals['_CANONICALVOTE']._serialized_start=684 + _globals['_CANONICALVOTE']._serialized_end=982 + _globals['_CANONICALVOTEEXTENSION']._serialized_start=984 + _globals['_CANONICALVOTEEXTENSION']._serialized_end=1111 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/types/canonical_pb2.pyi b/src/poktroll_clients/proto/tendermint/types/canonical_pb2.pyi new file mode 100644 index 0000000..049cb02 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/canonical_pb2.pyi @@ -0,0 +1,154 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import google.protobuf.timestamp_pb2 +import tendermint.types.types_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class CanonicalBlockID(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HASH_FIELD_NUMBER: builtins.int + PART_SET_HEADER_FIELD_NUMBER: builtins.int + hash: builtins.bytes + @property + def part_set_header(self) -> global___CanonicalPartSetHeader: ... + def __init__( + self, + *, + hash: builtins.bytes = ..., + part_set_header: global___CanonicalPartSetHeader | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["part_set_header", b"part_set_header"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["hash", b"hash", "part_set_header", b"part_set_header"]) -> None: ... + +global___CanonicalBlockID = CanonicalBlockID + +@typing.final +class CanonicalPartSetHeader(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TOTAL_FIELD_NUMBER: builtins.int + HASH_FIELD_NUMBER: builtins.int + total: builtins.int + hash: builtins.bytes + def __init__( + self, + *, + total: builtins.int = ..., + hash: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["hash", b"hash", "total", b"total"]) -> None: ... + +global___CanonicalPartSetHeader = CanonicalPartSetHeader + +@typing.final +class CanonicalProposal(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TYPE_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + POL_ROUND_FIELD_NUMBER: builtins.int + BLOCK_ID_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_NUMBER: builtins.int + CHAIN_ID_FIELD_NUMBER: builtins.int + type: tendermint.types.types_pb2.SignedMsgType.ValueType + """type alias for byte""" + height: builtins.int + """canonicalization requires fixed size encoding here""" + round: builtins.int + """canonicalization requires fixed size encoding here""" + pol_round: builtins.int + chain_id: builtins.str + @property + def block_id(self) -> global___CanonicalBlockID: ... + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + type: tendermint.types.types_pb2.SignedMsgType.ValueType = ..., + height: builtins.int = ..., + round: builtins.int = ..., + pol_round: builtins.int = ..., + block_id: global___CanonicalBlockID | None = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + chain_id: builtins.str = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_id", b"block_id", "timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id", b"block_id", "chain_id", b"chain_id", "height", b"height", "pol_round", b"pol_round", "round", b"round", "timestamp", b"timestamp", "type", b"type"]) -> None: ... + +global___CanonicalProposal = CanonicalProposal + +@typing.final +class CanonicalVote(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TYPE_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + BLOCK_ID_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_NUMBER: builtins.int + CHAIN_ID_FIELD_NUMBER: builtins.int + type: tendermint.types.types_pb2.SignedMsgType.ValueType + """type alias for byte""" + height: builtins.int + """canonicalization requires fixed size encoding here""" + round: builtins.int + """canonicalization requires fixed size encoding here""" + chain_id: builtins.str + @property + def block_id(self) -> global___CanonicalBlockID: ... + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + type: tendermint.types.types_pb2.SignedMsgType.ValueType = ..., + height: builtins.int = ..., + round: builtins.int = ..., + block_id: global___CanonicalBlockID | None = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + chain_id: builtins.str = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_id", b"block_id", "timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id", b"block_id", "chain_id", b"chain_id", "height", b"height", "round", b"round", "timestamp", b"timestamp", "type", b"type"]) -> None: ... + +global___CanonicalVote = CanonicalVote + +@typing.final +class CanonicalVoteExtension(google.protobuf.message.Message): + """CanonicalVoteExtension provides us a way to serialize a vote extension from + a particular validator such that we can sign over those serialized bytes. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + EXTENSION_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + CHAIN_ID_FIELD_NUMBER: builtins.int + extension: builtins.bytes + height: builtins.int + round: builtins.int + chain_id: builtins.str + def __init__( + self, + *, + extension: builtins.bytes = ..., + height: builtins.int = ..., + round: builtins.int = ..., + chain_id: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["chain_id", b"chain_id", "extension", b"extension", "height", b"height", "round", b"round"]) -> None: ... + +global___CanonicalVoteExtension = CanonicalVoteExtension diff --git a/src/poktroll_clients/proto/tendermint/types/events_pb2.py b/src/poktroll_clients/proto/tendermint/types/events_pb2.py new file mode 100644 index 0000000..763bfd4 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/events_pb2.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/types/events.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/types/events.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/events.proto\x12\x10tendermint.types\"W\n\x13\x45ventDataRoundState\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x12\n\x04step\x18\x03 \x01(\tR\x04stepB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.events_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' + _globals['_EVENTDATAROUNDSTATE']._serialized_start=51 + _globals['_EVENTDATAROUNDSTATE']._serialized_end=138 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/types/events_pb2.pyi b/src/poktroll_clients/proto/tendermint/types/events_pb2.pyi new file mode 100644 index 0000000..8864547 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/events_pb2.pyi @@ -0,0 +1,32 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class EventDataRoundState(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + STEP_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + step: builtins.str + def __init__( + self, + *, + height: builtins.int = ..., + round: builtins.int = ..., + step: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["height", b"height", "round", b"round", "step", b"step"]) -> None: ... + +global___EventDataRoundState = EventDataRoundState diff --git a/src/poktroll_clients/proto/tendermint/types/evidence_pb2.py b/src/poktroll_clients/proto/tendermint/types/evidence_pb2.py new file mode 100644 index 0000000..9b94ad8 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/evidence_pb2.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/types/evidence.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/types/evidence.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from poktroll_clients.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from poktroll_clients.proto.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\"\xe4\x01\n\x08\x45vidence\x12\x61\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00R\x15\x64uplicateVoteEvidence\x12n\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00R\x19lightClientAttackEvidenceB\x05\n\x03sum\"\x90\x02\n\x15\x44uplicateVoteEvidence\x12-\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteA\x12-\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteB\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\x12\'\n\x0fvalidator_power\x18\x04 \x01(\x03R\x0evalidatorPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"\xcd\x02\n\x19LightClientAttackEvidence\x12I\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlockR\x10\x63onflictingBlock\x12#\n\rcommon_height\x18\x02 \x01(\x03R\x0c\x63ommonHeight\x12N\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\x13\x62yzantineValidators\x12,\n\x12total_voting_power\x18\x04 \x01(\x03R\x10totalVotingPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"L\n\x0c\x45videnceList\x12<\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00R\x08\x65videnceB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.evidence_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' + _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._loaded_options = None + _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._loaded_options = None + _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EVIDENCELIST'].fields_by_name['evidence']._loaded_options = None + _globals['_EVIDENCELIST'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' + _globals['_EVIDENCE']._serialized_start=173 + _globals['_EVIDENCE']._serialized_end=401 + _globals['_DUPLICATEVOTEEVIDENCE']._serialized_start=404 + _globals['_DUPLICATEVOTEEVIDENCE']._serialized_end=676 + _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_start=679 + _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_end=1012 + _globals['_EVIDENCELIST']._serialized_start=1014 + _globals['_EVIDENCELIST']._serialized_end=1090 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/types/evidence_pb2.pyi b/src/poktroll_clients/proto/tendermint/types/evidence_pb2.pyi new file mode 100644 index 0000000..9a766e6 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/evidence_pb2.pyi @@ -0,0 +1,120 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 +import tendermint.types.types_pb2 +import tendermint.types.validator_pb2 +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class Evidence(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + DUPLICATE_VOTE_EVIDENCE_FIELD_NUMBER: builtins.int + LIGHT_CLIENT_ATTACK_EVIDENCE_FIELD_NUMBER: builtins.int + @property + def duplicate_vote_evidence(self) -> global___DuplicateVoteEvidence: ... + @property + def light_client_attack_evidence(self) -> global___LightClientAttackEvidence: ... + def __init__( + self, + *, + duplicate_vote_evidence: global___DuplicateVoteEvidence | None = ..., + light_client_attack_evidence: global___LightClientAttackEvidence | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["duplicate_vote_evidence", b"duplicate_vote_evidence", "light_client_attack_evidence", b"light_client_attack_evidence", "sum", b"sum"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["duplicate_vote_evidence", b"duplicate_vote_evidence", "light_client_attack_evidence", b"light_client_attack_evidence", "sum", b"sum"]) -> None: ... + def WhichOneof(self, oneof_group: typing.Literal["sum", b"sum"]) -> typing.Literal["duplicate_vote_evidence", "light_client_attack_evidence"] | None: ... + +global___Evidence = Evidence + +@typing.final +class DuplicateVoteEvidence(google.protobuf.message.Message): + """DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VOTE_A_FIELD_NUMBER: builtins.int + VOTE_B_FIELD_NUMBER: builtins.int + TOTAL_VOTING_POWER_FIELD_NUMBER: builtins.int + VALIDATOR_POWER_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_NUMBER: builtins.int + total_voting_power: builtins.int + validator_power: builtins.int + @property + def vote_a(self) -> tendermint.types.types_pb2.Vote: ... + @property + def vote_b(self) -> tendermint.types.types_pb2.Vote: ... + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + vote_a: tendermint.types.types_pb2.Vote | None = ..., + vote_b: tendermint.types.types_pb2.Vote | None = ..., + total_voting_power: builtins.int = ..., + validator_power: builtins.int = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["timestamp", b"timestamp", "vote_a", b"vote_a", "vote_b", b"vote_b"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["timestamp", b"timestamp", "total_voting_power", b"total_voting_power", "validator_power", b"validator_power", "vote_a", b"vote_a", "vote_b", b"vote_b"]) -> None: ... + +global___DuplicateVoteEvidence = DuplicateVoteEvidence + +@typing.final +class LightClientAttackEvidence(google.protobuf.message.Message): + """LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CONFLICTING_BLOCK_FIELD_NUMBER: builtins.int + COMMON_HEIGHT_FIELD_NUMBER: builtins.int + BYZANTINE_VALIDATORS_FIELD_NUMBER: builtins.int + TOTAL_VOTING_POWER_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_NUMBER: builtins.int + common_height: builtins.int + total_voting_power: builtins.int + @property + def conflicting_block(self) -> tendermint.types.types_pb2.LightBlock: ... + @property + def byzantine_validators(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tendermint.types.validator_pb2.Validator]: ... + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + conflicting_block: tendermint.types.types_pb2.LightBlock | None = ..., + common_height: builtins.int = ..., + byzantine_validators: collections.abc.Iterable[tendermint.types.validator_pb2.Validator] | None = ..., + total_voting_power: builtins.int = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["conflicting_block", b"conflicting_block", "timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["byzantine_validators", b"byzantine_validators", "common_height", b"common_height", "conflicting_block", b"conflicting_block", "timestamp", b"timestamp", "total_voting_power", b"total_voting_power"]) -> None: ... + +global___LightClientAttackEvidence = LightClientAttackEvidence + +@typing.final +class EvidenceList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + EVIDENCE_FIELD_NUMBER: builtins.int + @property + def evidence(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Evidence]: ... + def __init__( + self, + *, + evidence: collections.abc.Iterable[global___Evidence] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["evidence", b"evidence"]) -> None: ... + +global___EvidenceList = EvidenceList diff --git a/src/poktroll_clients/proto/tendermint/types/params_pb2.py b/src/poktroll_clients/proto/tendermint/types/params_pb2.py new file mode 100644 index 0000000..19f44e1 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/params_pb2.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/types/params.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/types/params.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +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\"\xb2\x02\n\x0f\x43onsensusParams\x12\x33\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x39\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsR\x07version\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i\"I\n\x0b\x42lockParams\x12\x1b\n\tmax_bytes\x18\x01 \x01(\x03R\x08maxBytes\x12\x17\n\x07max_gas\x18\x02 \x01(\x03R\x06maxGasJ\x04\x08\x03\x10\x04\"\xa9\x01\n\x0e\x45videnceParams\x12+\n\x12max_age_num_blocks\x18\x01 \x01(\x03R\x0fmaxAgeNumBlocks\x12M\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0emaxAgeDuration\x12\x1b\n\tmax_bytes\x18\x03 \x01(\x03R\x08maxBytes\"?\n\x0fValidatorParams\x12\"\n\rpub_key_types\x18\x01 \x03(\tR\x0bpubKeyTypes:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"+\n\rVersionParams\x12\x10\n\x03\x61pp\x18\x01 \x01(\x04R\x03\x61pp:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"Z\n\x0cHashedParams\x12&\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03R\rblockMaxBytes\x12\"\n\rblock_max_gas\x18\x02 \x01(\x03R\x0b\x62lockMaxGas\"O\n\nABCIParams\x12\x41\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03R\x1avoteExtensionsEnableHeightB9Z3github.com/cometbft/cometbft/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.params_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types\250\342\036\001' + _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._loaded_options = None + _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_VALIDATORPARAMS']._loaded_options = None + _globals['_VALIDATORPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' + _globals['_VERSIONPARAMS']._loaded_options = None + _globals['_VERSIONPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' + _globals['_CONSENSUSPARAMS']._serialized_start=106 + _globals['_CONSENSUSPARAMS']._serialized_end=412 + _globals['_BLOCKPARAMS']._serialized_start=414 + _globals['_BLOCKPARAMS']._serialized_end=487 + _globals['_EVIDENCEPARAMS']._serialized_start=490 + _globals['_EVIDENCEPARAMS']._serialized_end=659 + _globals['_VALIDATORPARAMS']._serialized_start=661 + _globals['_VALIDATORPARAMS']._serialized_end=724 + _globals['_VERSIONPARAMS']._serialized_start=726 + _globals['_VERSIONPARAMS']._serialized_end=769 + _globals['_HASHEDPARAMS']._serialized_start=771 + _globals['_HASHEDPARAMS']._serialized_end=861 + _globals['_ABCIPARAMS']._serialized_start=863 + _globals['_ABCIPARAMS']._serialized_end=942 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/types/params_pb2.pyi b/src/poktroll_clients/proto/tendermint/types/params_pb2.pyi new file mode 100644 index 0000000..2a2a0cb --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/params_pb2.pyi @@ -0,0 +1,205 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.duration_pb2 +import google.protobuf.internal.containers +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class ConsensusParams(google.protobuf.message.Message): + """ConsensusParams contains consensus critical parameters that determine the + validity of blocks. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BLOCK_FIELD_NUMBER: builtins.int + EVIDENCE_FIELD_NUMBER: builtins.int + VALIDATOR_FIELD_NUMBER: builtins.int + VERSION_FIELD_NUMBER: builtins.int + ABCI_FIELD_NUMBER: builtins.int + @property + def block(self) -> global___BlockParams: ... + @property + def evidence(self) -> global___EvidenceParams: ... + @property + def validator(self) -> global___ValidatorParams: ... + @property + def version(self) -> global___VersionParams: ... + @property + def abci(self) -> global___ABCIParams: ... + def __init__( + self, + *, + block: global___BlockParams | None = ..., + evidence: global___EvidenceParams | None = ..., + validator: global___ValidatorParams | None = ..., + version: global___VersionParams | None = ..., + abci: global___ABCIParams | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["abci", b"abci", "block", b"block", "evidence", b"evidence", "validator", b"validator", "version", b"version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["abci", b"abci", "block", b"block", "evidence", b"evidence", "validator", b"validator", "version", b"version"]) -> None: ... + +global___ConsensusParams = ConsensusParams + +@typing.final +class BlockParams(google.protobuf.message.Message): + """BlockParams contains limits on the block size.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + MAX_BYTES_FIELD_NUMBER: builtins.int + MAX_GAS_FIELD_NUMBER: builtins.int + max_bytes: builtins.int + """Max block size, in bytes. + Note: must be greater than 0 + """ + max_gas: builtins.int + """Max gas per block. + Note: must be greater or equal to -1 + """ + def __init__( + self, + *, + max_bytes: builtins.int = ..., + max_gas: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["max_bytes", b"max_bytes", "max_gas", b"max_gas"]) -> None: ... + +global___BlockParams = BlockParams + +@typing.final +class EvidenceParams(google.protobuf.message.Message): + """EvidenceParams determine how we handle evidence of malfeasance.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + MAX_AGE_NUM_BLOCKS_FIELD_NUMBER: builtins.int + MAX_AGE_DURATION_FIELD_NUMBER: builtins.int + MAX_BYTES_FIELD_NUMBER: builtins.int + max_age_num_blocks: builtins.int + """Max age of evidence, in blocks. + + The basic formula for calculating this is: MaxAgeDuration / {average block + time}. + """ + max_bytes: builtins.int + """This sets the maximum size of total evidence in bytes that can be committed in a single block. + and should fall comfortably under the max block bytes. + Default is 1048576 or 1MB + """ + @property + def max_age_duration(self) -> google.protobuf.duration_pb2.Duration: + """Max age of evidence, in time. + + It should correspond with an app's "unbonding period" or other similar + mechanism for handling [Nothing-At-Stake + attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). + """ + + def __init__( + self, + *, + max_age_num_blocks: builtins.int = ..., + max_age_duration: google.protobuf.duration_pb2.Duration | None = ..., + max_bytes: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["max_age_duration", b"max_age_duration"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["max_age_duration", b"max_age_duration", "max_age_num_blocks", b"max_age_num_blocks", "max_bytes", b"max_bytes"]) -> None: ... + +global___EvidenceParams = EvidenceParams + +@typing.final +class ValidatorParams(google.protobuf.message.Message): + """ValidatorParams restrict the public key types validators can use. + NOTE: uses ABCI pubkey naming, not Amino names. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PUB_KEY_TYPES_FIELD_NUMBER: builtins.int + @property + def pub_key_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + def __init__( + self, + *, + pub_key_types: collections.abc.Iterable[builtins.str] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["pub_key_types", b"pub_key_types"]) -> None: ... + +global___ValidatorParams = ValidatorParams + +@typing.final +class VersionParams(google.protobuf.message.Message): + """VersionParams contains the ABCI application version.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + APP_FIELD_NUMBER: builtins.int + app: builtins.int + def __init__( + self, + *, + app: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["app", b"app"]) -> None: ... + +global___VersionParams = VersionParams + +@typing.final +class HashedParams(google.protobuf.message.Message): + """HashedParams is a subset of ConsensusParams. + + It is hashed into the Header.ConsensusHash. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BLOCK_MAX_BYTES_FIELD_NUMBER: builtins.int + BLOCK_MAX_GAS_FIELD_NUMBER: builtins.int + block_max_bytes: builtins.int + block_max_gas: builtins.int + def __init__( + self, + *, + block_max_bytes: builtins.int = ..., + block_max_gas: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["block_max_bytes", b"block_max_bytes", "block_max_gas", b"block_max_gas"]) -> None: ... + +global___HashedParams = HashedParams + +@typing.final +class ABCIParams(google.protobuf.message.Message): + """ABCIParams configure functionality specific to the Application Blockchain Interface.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VOTE_EXTENSIONS_ENABLE_HEIGHT_FIELD_NUMBER: builtins.int + vote_extensions_enable_height: builtins.int + """vote_extensions_enable_height configures the first height during which + vote extensions will be enabled. During this specified height, and for all + subsequent heights, precommit messages that do not contain valid extension data + will be considered invalid. Prior to this height, vote extensions will not + be used or accepted by validators on the network. + + Once enabled, vote extensions will be created by the application in ExtendVote, + passed to the application for validation in VerifyVoteExtension and given + to the application to use when proposing a block during PrepareProposal. + """ + def __init__( + self, + *, + vote_extensions_enable_height: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["vote_extensions_enable_height", b"vote_extensions_enable_height"]) -> None: ... + +global___ABCIParams = ABCIParams diff --git a/src/poktroll_clients/proto/tendermint/types/types_pb2.py b/src/poktroll_clients/proto/tendermint/types/types_pb2.py new file mode 100644 index 0000000..925c736 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/types_pb2.py @@ -0,0 +1,118 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/types/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/types/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from poktroll_clients.proto.tendermint.crypto import proof_pb2 as tendermint_dot_crypto_dot_proof__pb2 +from poktroll_clients.proto.tendermint.version import types_pb2 as tendermint_dot_version_dot_types__pb2 +from poktroll_clients.proto.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\"9\n\rPartSetHeader\x12\x14\n\x05total\x18\x01 \x01(\rR\x05total\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\"h\n\x04Part\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x62ytes\x18\x02 \x01(\x0cR\x05\x62ytes\x12\x34\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00R\x05proof\"l\n\x07\x42lockID\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12M\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00R\rpartSetHeader\"\xe6\x04\n\x06Header\x12=\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x43\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\x0cR\x0fproposerAddress\"\x18\n\x04\x44\x61ta\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xb7\x03\n\x04Vote\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12+\n\x11validator_address\x18\x06 \x01(\x0cR\x10validatorAddress\x12\'\n\x0fvalidator_index\x18\x07 \x01(\x05R\x0evalidatorIndex\x12\x1c\n\tsignature\x18\x08 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\t \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\n \x01(\x0cR\x12\x65xtensionSignature\"\xc0\x01\n\x06\x43ommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x41\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00R\nsignatures\"\xdd\x01\n\tCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\"\xe1\x01\n\x0e\x45xtendedCommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12Z\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00R\x12\x65xtendedSignatures\"\xb4\x02\n\x11\x45xtendedCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\x05 \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\x06 \x01(\x0cR\x12\x65xtensionSignature\"\xb3\x02\n\x08Proposal\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x1b\n\tpol_round\x18\x04 \x01(\x05R\x08polRound\x12\x45\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x07 \x01(\x0cR\tsignature\"r\n\x0cSignedHeader\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderR\x06header\x12\x30\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.CommitR\x06\x63ommit\"\x96\x01\n\nLightBlock\x12\x43\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderR\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\"\xc2\x01\n\tBlockMeta\x12\x45\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x1d\n\nblock_size\x18\x02 \x01(\x03R\tblockSize\x12\x36\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x17\n\x07num_txs\x18\x04 \x01(\x03R\x06numTxs\"j\n\x07TxProof\x12\x1b\n\troot_hash\x18\x01 \x01(\x0cR\x08rootHash\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12.\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof*\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\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' + _globals['_SIGNEDMSGTYPE']._loaded_options = None + _globals['_SIGNEDMSGTYPE']._serialized_options = b'\210\243\036\000\250\244\036\001' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \013UnknownType' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._serialized_options = b'\212\235 \013PrevoteType' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._serialized_options = b'\212\235 \rPrecommitType' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._serialized_options = b'\212\235 \014ProposalType' + _globals['_PART'].fields_by_name['proof']._loaded_options = None + _globals['_PART'].fields_by_name['proof']._serialized_options = b'\310\336\037\000' + _globals['_BLOCKID'].fields_by_name['part_set_header']._loaded_options = None + _globals['_BLOCKID'].fields_by_name['part_set_header']._serialized_options = b'\310\336\037\000' + _globals['_HEADER'].fields_by_name['version']._loaded_options = None + _globals['_HEADER'].fields_by_name['version']._serialized_options = b'\310\336\037\000' + _globals['_HEADER'].fields_by_name['chain_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' + _globals['_HEADER'].fields_by_name['time']._loaded_options = None + _globals['_HEADER'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_HEADER'].fields_by_name['last_block_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000' + _globals['_VOTE'].fields_by_name['block_id']._loaded_options = None + _globals['_VOTE'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_VOTE'].fields_by_name['timestamp']._loaded_options = None + _globals['_VOTE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_COMMIT'].fields_by_name['block_id']._loaded_options = None + _globals['_COMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_COMMIT'].fields_by_name['signatures']._loaded_options = None + _globals['_COMMIT'].fields_by_name['signatures']._serialized_options = b'\310\336\037\000' + _globals['_COMMITSIG'].fields_by_name['timestamp']._loaded_options = None + _globals['_COMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._loaded_options = None + _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._loaded_options = None + _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._serialized_options = b'\310\336\037\000' + _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._loaded_options = None + _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['block_id']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_PROPOSAL'].fields_by_name['timestamp']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_BLOCKMETA'].fields_by_name['block_id']._loaded_options = None + _globals['_BLOCKMETA'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_BLOCKMETA'].fields_by_name['header']._loaded_options = None + _globals['_BLOCKMETA'].fields_by_name['header']._serialized_options = b'\310\336\037\000' + _globals['_SIGNEDMSGTYPE']._serialized_start=3405 + _globals['_SIGNEDMSGTYPE']._serialized_end=3620 + _globals['_PARTSETHEADER']._serialized_start=202 + _globals['_PARTSETHEADER']._serialized_end=259 + _globals['_PART']._serialized_start=261 + _globals['_PART']._serialized_end=365 + _globals['_BLOCKID']._serialized_start=367 + _globals['_BLOCKID']._serialized_end=475 + _globals['_HEADER']._serialized_start=478 + _globals['_HEADER']._serialized_end=1092 + _globals['_DATA']._serialized_start=1094 + _globals['_DATA']._serialized_end=1118 + _globals['_VOTE']._serialized_start=1121 + _globals['_VOTE']._serialized_end=1560 + _globals['_COMMIT']._serialized_start=1563 + _globals['_COMMIT']._serialized_end=1755 + _globals['_COMMITSIG']._serialized_start=1758 + _globals['_COMMITSIG']._serialized_end=1979 + _globals['_EXTENDEDCOMMIT']._serialized_start=1982 + _globals['_EXTENDEDCOMMIT']._serialized_end=2207 + _globals['_EXTENDEDCOMMITSIG']._serialized_start=2210 + _globals['_EXTENDEDCOMMITSIG']._serialized_end=2518 + _globals['_PROPOSAL']._serialized_start=2521 + _globals['_PROPOSAL']._serialized_end=2828 + _globals['_SIGNEDHEADER']._serialized_start=2830 + _globals['_SIGNEDHEADER']._serialized_end=2944 + _globals['_LIGHTBLOCK']._serialized_start=2947 + _globals['_LIGHTBLOCK']._serialized_end=3097 + _globals['_BLOCKMETA']._serialized_start=3100 + _globals['_BLOCKMETA']._serialized_end=3294 + _globals['_TXPROOF']._serialized_start=3296 + _globals['_TXPROOF']._serialized_end=3402 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/types/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/types/types_pb2.pyi new file mode 100644 index 0000000..3a30a8e --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/types_pb2.pyi @@ -0,0 +1,532 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message +import google.protobuf.timestamp_pb2 +import sys +import tendermint.crypto.proof_pb2 +import tendermint.types.validator_pb2 +import tendermint.version.types_pb2 +import typing + +if sys.version_info >= (3, 10): + import typing as typing_extensions +else: + import typing_extensions + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +class _SignedMsgType: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + +class _SignedMsgTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_SignedMsgType.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + SIGNED_MSG_TYPE_UNKNOWN: _SignedMsgType.ValueType # 0 + SIGNED_MSG_TYPE_PREVOTE: _SignedMsgType.ValueType # 1 + """Votes""" + SIGNED_MSG_TYPE_PRECOMMIT: _SignedMsgType.ValueType # 2 + SIGNED_MSG_TYPE_PROPOSAL: _SignedMsgType.ValueType # 32 + """Proposals""" + +class SignedMsgType(_SignedMsgType, metaclass=_SignedMsgTypeEnumTypeWrapper): + """SignedMsgType is a type of signed message in the consensus.""" + +SIGNED_MSG_TYPE_UNKNOWN: SignedMsgType.ValueType # 0 +SIGNED_MSG_TYPE_PREVOTE: SignedMsgType.ValueType # 1 +"""Votes""" +SIGNED_MSG_TYPE_PRECOMMIT: SignedMsgType.ValueType # 2 +SIGNED_MSG_TYPE_PROPOSAL: SignedMsgType.ValueType # 32 +"""Proposals""" +global___SignedMsgType = SignedMsgType + +@typing.final +class PartSetHeader(google.protobuf.message.Message): + """PartsetHeader""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TOTAL_FIELD_NUMBER: builtins.int + HASH_FIELD_NUMBER: builtins.int + total: builtins.int + hash: builtins.bytes + def __init__( + self, + *, + total: builtins.int = ..., + hash: builtins.bytes = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["hash", b"hash", "total", b"total"]) -> None: ... + +global___PartSetHeader = PartSetHeader + +@typing.final +class Part(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + INDEX_FIELD_NUMBER: builtins.int + BYTES_FIELD_NUMBER: builtins.int + PROOF_FIELD_NUMBER: builtins.int + index: builtins.int + bytes: builtins.bytes + @property + def proof(self) -> tendermint.crypto.proof_pb2.Proof: ... + def __init__( + self, + *, + index: builtins.int = ..., + bytes: builtins.bytes = ..., + proof: tendermint.crypto.proof_pb2.Proof | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proof", b"proof"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["bytes", b"bytes", "index", b"index", "proof", b"proof"]) -> None: ... + +global___Part = Part + +@typing.final +class BlockID(google.protobuf.message.Message): + """BlockID""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HASH_FIELD_NUMBER: builtins.int + PART_SET_HEADER_FIELD_NUMBER: builtins.int + hash: builtins.bytes + @property + def part_set_header(self) -> global___PartSetHeader: ... + def __init__( + self, + *, + hash: builtins.bytes = ..., + part_set_header: global___PartSetHeader | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["part_set_header", b"part_set_header"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["hash", b"hash", "part_set_header", b"part_set_header"]) -> None: ... + +global___BlockID = BlockID + +@typing.final +class Header(google.protobuf.message.Message): + """-------------------------------- + + Header defines the structure of a block header. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VERSION_FIELD_NUMBER: builtins.int + CHAIN_ID_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + TIME_FIELD_NUMBER: builtins.int + LAST_BLOCK_ID_FIELD_NUMBER: builtins.int + LAST_COMMIT_HASH_FIELD_NUMBER: builtins.int + DATA_HASH_FIELD_NUMBER: builtins.int + VALIDATORS_HASH_FIELD_NUMBER: builtins.int + NEXT_VALIDATORS_HASH_FIELD_NUMBER: builtins.int + CONSENSUS_HASH_FIELD_NUMBER: builtins.int + APP_HASH_FIELD_NUMBER: builtins.int + LAST_RESULTS_HASH_FIELD_NUMBER: builtins.int + EVIDENCE_HASH_FIELD_NUMBER: builtins.int + PROPOSER_ADDRESS_FIELD_NUMBER: builtins.int + chain_id: builtins.str + height: builtins.int + last_commit_hash: builtins.bytes + """hashes of block data + commit from validators from the last block + """ + data_hash: builtins.bytes + """transactions""" + validators_hash: builtins.bytes + """hashes from the app output from the prev block + validators for the current block + """ + next_validators_hash: builtins.bytes + """validators for the next block""" + consensus_hash: builtins.bytes + """consensus params for current block""" + app_hash: builtins.bytes + """state after txs from the previous block""" + last_results_hash: builtins.bytes + """root hash of all results from the txs from the previous block""" + evidence_hash: builtins.bytes + """consensus info + evidence included in the block + """ + proposer_address: builtins.bytes + """original proposer of the block""" + @property + def version(self) -> tendermint.version.types_pb2.Consensus: + """basic block info""" + + @property + def time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def last_block_id(self) -> global___BlockID: + """prev block info""" + + def __init__( + self, + *, + version: tendermint.version.types_pb2.Consensus | None = ..., + chain_id: builtins.str = ..., + height: builtins.int = ..., + time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_block_id: global___BlockID | None = ..., + last_commit_hash: builtins.bytes = ..., + data_hash: builtins.bytes = ..., + validators_hash: builtins.bytes = ..., + next_validators_hash: builtins.bytes = ..., + consensus_hash: builtins.bytes = ..., + app_hash: builtins.bytes = ..., + last_results_hash: builtins.bytes = ..., + evidence_hash: builtins.bytes = ..., + proposer_address: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["last_block_id", b"last_block_id", "time", b"time", "version", b"version"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["app_hash", b"app_hash", "chain_id", b"chain_id", "consensus_hash", b"consensus_hash", "data_hash", b"data_hash", "evidence_hash", b"evidence_hash", "height", b"height", "last_block_id", b"last_block_id", "last_commit_hash", b"last_commit_hash", "last_results_hash", b"last_results_hash", "next_validators_hash", b"next_validators_hash", "proposer_address", b"proposer_address", "time", b"time", "validators_hash", b"validators_hash", "version", b"version"]) -> None: ... + +global___Header = Header + +@typing.final +class Data(google.protobuf.message.Message): + """Data contains the set of transactions included in the block""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TXS_FIELD_NUMBER: builtins.int + @property + def txs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: + """Txs that will be applied by state @ block.Height+1. + NOTE: not all txs here are valid. We're just agreeing on the order first. + This means that block.AppHash does not include these txs. + """ + + def __init__( + self, + *, + txs: collections.abc.Iterable[builtins.bytes] | None = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["txs", b"txs"]) -> None: ... + +global___Data = Data + +@typing.final +class Vote(google.protobuf.message.Message): + """Vote represents a prevote or precommit vote from validators for + consensus. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TYPE_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + BLOCK_ID_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_NUMBER: builtins.int + VALIDATOR_ADDRESS_FIELD_NUMBER: builtins.int + VALIDATOR_INDEX_FIELD_NUMBER: builtins.int + SIGNATURE_FIELD_NUMBER: builtins.int + EXTENSION_FIELD_NUMBER: builtins.int + EXTENSION_SIGNATURE_FIELD_NUMBER: builtins.int + type: global___SignedMsgType.ValueType + height: builtins.int + round: builtins.int + validator_address: builtins.bytes + validator_index: builtins.int + signature: builtins.bytes + """Vote signature by the validator if they participated in consensus for the + associated block. + """ + extension: builtins.bytes + """Vote extension provided by the application. Only valid for precommit + messages. + """ + extension_signature: builtins.bytes + """Vote extension signature by the validator if they participated in + consensus for the associated block. + Only valid for precommit messages. + """ + @property + def block_id(self) -> global___BlockID: + """zero if vote is nil.""" + + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + type: global___SignedMsgType.ValueType = ..., + height: builtins.int = ..., + round: builtins.int = ..., + block_id: global___BlockID | None = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + validator_address: builtins.bytes = ..., + validator_index: builtins.int = ..., + signature: builtins.bytes = ..., + extension: builtins.bytes = ..., + extension_signature: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_id", b"block_id", "timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id", b"block_id", "extension", b"extension", "extension_signature", b"extension_signature", "height", b"height", "round", b"round", "signature", b"signature", "timestamp", b"timestamp", "type", b"type", "validator_address", b"validator_address", "validator_index", b"validator_index"]) -> None: ... + +global___Vote = Vote + +@typing.final +class Commit(google.protobuf.message.Message): + """Commit contains the evidence that a block was committed by a set of validators.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + BLOCK_ID_FIELD_NUMBER: builtins.int + SIGNATURES_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + @property + def block_id(self) -> global___BlockID: ... + @property + def signatures(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CommitSig]: ... + def __init__( + self, + *, + height: builtins.int = ..., + round: builtins.int = ..., + block_id: global___BlockID | None = ..., + signatures: collections.abc.Iterable[global___CommitSig] | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_id", b"block_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id", b"block_id", "height", b"height", "round", b"round", "signatures", b"signatures"]) -> None: ... + +global___Commit = Commit + +@typing.final +class CommitSig(google.protobuf.message.Message): + """CommitSig is a part of the Vote included in a Commit.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BLOCK_ID_FLAG_FIELD_NUMBER: builtins.int + VALIDATOR_ADDRESS_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_NUMBER: builtins.int + SIGNATURE_FIELD_NUMBER: builtins.int + block_id_flag: tendermint.types.validator_pb2.BlockIDFlag.ValueType + validator_address: builtins.bytes + signature: builtins.bytes + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + block_id_flag: tendermint.types.validator_pb2.BlockIDFlag.ValueType = ..., + validator_address: builtins.bytes = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + signature: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id_flag", b"block_id_flag", "signature", b"signature", "timestamp", b"timestamp", "validator_address", b"validator_address"]) -> None: ... + +global___CommitSig = CommitSig + +@typing.final +class ExtendedCommit(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + BLOCK_ID_FIELD_NUMBER: builtins.int + EXTENDED_SIGNATURES_FIELD_NUMBER: builtins.int + height: builtins.int + round: builtins.int + @property + def block_id(self) -> global___BlockID: ... + @property + def extended_signatures(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExtendedCommitSig]: ... + def __init__( + self, + *, + height: builtins.int = ..., + round: builtins.int = ..., + block_id: global___BlockID | None = ..., + extended_signatures: collections.abc.Iterable[global___ExtendedCommitSig] | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_id", b"block_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id", b"block_id", "extended_signatures", b"extended_signatures", "height", b"height", "round", b"round"]) -> None: ... + +global___ExtendedCommit = ExtendedCommit + +@typing.final +class ExtendedCommitSig(google.protobuf.message.Message): + """ExtendedCommitSig retains all the same fields as CommitSig but adds vote + extension-related fields. We use two signatures to ensure backwards compatibility. + That is the digest of the original signature is still the same in prior versions + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BLOCK_ID_FLAG_FIELD_NUMBER: builtins.int + VALIDATOR_ADDRESS_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_NUMBER: builtins.int + SIGNATURE_FIELD_NUMBER: builtins.int + EXTENSION_FIELD_NUMBER: builtins.int + EXTENSION_SIGNATURE_FIELD_NUMBER: builtins.int + block_id_flag: tendermint.types.validator_pb2.BlockIDFlag.ValueType + validator_address: builtins.bytes + signature: builtins.bytes + extension: builtins.bytes + """Vote extension data""" + extension_signature: builtins.bytes + """Vote extension signature""" + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + block_id_flag: tendermint.types.validator_pb2.BlockIDFlag.ValueType = ..., + validator_address: builtins.bytes = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + signature: builtins.bytes = ..., + extension: builtins.bytes = ..., + extension_signature: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id_flag", b"block_id_flag", "extension", b"extension", "extension_signature", b"extension_signature", "signature", b"signature", "timestamp", b"timestamp", "validator_address", b"validator_address"]) -> None: ... + +global___ExtendedCommitSig = ExtendedCommitSig + +@typing.final +class Proposal(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TYPE_FIELD_NUMBER: builtins.int + HEIGHT_FIELD_NUMBER: builtins.int + ROUND_FIELD_NUMBER: builtins.int + POL_ROUND_FIELD_NUMBER: builtins.int + BLOCK_ID_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_NUMBER: builtins.int + SIGNATURE_FIELD_NUMBER: builtins.int + type: global___SignedMsgType.ValueType + height: builtins.int + round: builtins.int + pol_round: builtins.int + signature: builtins.bytes + @property + def block_id(self) -> global___BlockID: ... + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + def __init__( + self, + *, + type: global___SignedMsgType.ValueType = ..., + height: builtins.int = ..., + round: builtins.int = ..., + pol_round: builtins.int = ..., + block_id: global___BlockID | None = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + signature: builtins.bytes = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_id", b"block_id", "timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id", b"block_id", "height", b"height", "pol_round", b"pol_round", "round", b"round", "signature", b"signature", "timestamp", b"timestamp", "type", b"type"]) -> None: ... + +global___Proposal = Proposal + +@typing.final +class SignedHeader(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HEADER_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def header(self) -> global___Header: ... + @property + def commit(self) -> global___Commit: ... + def __init__( + self, + *, + header: global___Header | None = ..., + commit: global___Commit | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["commit", b"commit", "header", b"header"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["commit", b"commit", "header", b"header"]) -> None: ... + +global___SignedHeader = SignedHeader + +@typing.final +class LightBlock(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + SIGNED_HEADER_FIELD_NUMBER: builtins.int + VALIDATOR_SET_FIELD_NUMBER: builtins.int + @property + def signed_header(self) -> global___SignedHeader: ... + @property + def validator_set(self) -> tendermint.types.validator_pb2.ValidatorSet: ... + def __init__( + self, + *, + signed_header: global___SignedHeader | None = ..., + validator_set: tendermint.types.validator_pb2.ValidatorSet | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["signed_header", b"signed_header", "validator_set", b"validator_set"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["signed_header", b"signed_header", "validator_set", b"validator_set"]) -> None: ... + +global___LightBlock = LightBlock + +@typing.final +class BlockMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BLOCK_ID_FIELD_NUMBER: builtins.int + BLOCK_SIZE_FIELD_NUMBER: builtins.int + HEADER_FIELD_NUMBER: builtins.int + NUM_TXS_FIELD_NUMBER: builtins.int + block_size: builtins.int + num_txs: builtins.int + @property + def block_id(self) -> global___BlockID: ... + @property + def header(self) -> global___Header: ... + def __init__( + self, + *, + block_id: global___BlockID | None = ..., + block_size: builtins.int = ..., + header: global___Header | None = ..., + num_txs: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["block_id", b"block_id", "header", b"header"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["block_id", b"block_id", "block_size", b"block_size", "header", b"header", "num_txs", b"num_txs"]) -> None: ... + +global___BlockMeta = BlockMeta + +@typing.final +class TxProof(google.protobuf.message.Message): + """TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ROOT_HASH_FIELD_NUMBER: builtins.int + DATA_FIELD_NUMBER: builtins.int + PROOF_FIELD_NUMBER: builtins.int + root_hash: builtins.bytes + data: builtins.bytes + @property + def proof(self) -> tendermint.crypto.proof_pb2.Proof: ... + def __init__( + self, + *, + root_hash: builtins.bytes = ..., + data: builtins.bytes = ..., + proof: tendermint.crypto.proof_pb2.Proof | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proof", b"proof"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["data", b"data", "proof", b"proof", "root_hash", b"root_hash"]) -> None: ... + +global___TxProof = TxProof diff --git a/src/poktroll_clients/proto/tendermint/types/validator_pb2.py b/src/poktroll_clients/proto/tendermint/types/validator_pb2.py new file mode 100644 index 0000000..a515659 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/validator_pb2.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/types/validator.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/types/validator.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from poktroll_clients.proto.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\"\xb2\x01\n\x0cValidatorSet\x12;\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\nvalidators\x12\x37\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.ValidatorR\x08proposer\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\"\xb2\x01\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12;\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12!\n\x0cvoting_power\x18\x03 \x01(\x03R\x0bvotingPower\x12+\n\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority\"k\n\x0fSimpleValidator\x12\x35\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyR\x06pubKey\x12!\n\x0cvoting_power\x18\x02 \x01(\x03R\x0bvotingPower*\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\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.validator_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' + _globals['_BLOCKIDFLAG']._loaded_options = None + _globals['_BLOCKIDFLAG']._serialized_options = b'\210\243\036\000\250\244\036\001' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' + _globals['_VALIDATOR'].fields_by_name['pub_key']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' + _globals['_BLOCKIDFLAG']._serialized_start=578 + _globals['_BLOCKIDFLAG']._serialized_end=793 + _globals['_VALIDATORSET']._serialized_start=107 + _globals['_VALIDATORSET']._serialized_end=285 + _globals['_VALIDATOR']._serialized_start=288 + _globals['_VALIDATOR']._serialized_end=466 + _globals['_SIMPLEVALIDATOR']._serialized_start=468 + _globals['_SIMPLEVALIDATOR']._serialized_end=575 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/types/validator_pb2.pyi b/src/poktroll_clients/proto/tendermint/types/validator_pb2.pyi new file mode 100644 index 0000000..952cb27 --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/types/validator_pb2.pyi @@ -0,0 +1,119 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message +import sys +import tendermint.crypto.keys_pb2 +import typing + +if sys.version_info >= (3, 10): + import typing as typing_extensions +else: + import typing_extensions + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +class _BlockIDFlag: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + +class _BlockIDFlagEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_BlockIDFlag.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + BLOCK_ID_FLAG_UNKNOWN: _BlockIDFlag.ValueType # 0 + """indicates an error condition""" + BLOCK_ID_FLAG_ABSENT: _BlockIDFlag.ValueType # 1 + """the vote was not received""" + BLOCK_ID_FLAG_COMMIT: _BlockIDFlag.ValueType # 2 + """voted for the block that received the majority""" + BLOCK_ID_FLAG_NIL: _BlockIDFlag.ValueType # 3 + """voted for nil""" + +class BlockIDFlag(_BlockIDFlag, metaclass=_BlockIDFlagEnumTypeWrapper): + """BlockIdFlag indicates which BlockID the signature is for""" + +BLOCK_ID_FLAG_UNKNOWN: BlockIDFlag.ValueType # 0 +"""indicates an error condition""" +BLOCK_ID_FLAG_ABSENT: BlockIDFlag.ValueType # 1 +"""the vote was not received""" +BLOCK_ID_FLAG_COMMIT: BlockIDFlag.ValueType # 2 +"""voted for the block that received the majority""" +BLOCK_ID_FLAG_NIL: BlockIDFlag.ValueType # 3 +"""voted for nil""" +global___BlockIDFlag = BlockIDFlag + +@typing.final +class ValidatorSet(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VALIDATORS_FIELD_NUMBER: builtins.int + PROPOSER_FIELD_NUMBER: builtins.int + TOTAL_VOTING_POWER_FIELD_NUMBER: builtins.int + total_voting_power: builtins.int + @property + def validators(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Validator]: ... + @property + def proposer(self) -> global___Validator: ... + def __init__( + self, + *, + validators: collections.abc.Iterable[global___Validator] | None = ..., + proposer: global___Validator | None = ..., + total_voting_power: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["proposer", b"proposer"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["proposer", b"proposer", "total_voting_power", b"total_voting_power", "validators", b"validators"]) -> None: ... + +global___ValidatorSet = ValidatorSet + +@typing.final +class Validator(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ADDRESS_FIELD_NUMBER: builtins.int + PUB_KEY_FIELD_NUMBER: builtins.int + VOTING_POWER_FIELD_NUMBER: builtins.int + PROPOSER_PRIORITY_FIELD_NUMBER: builtins.int + address: builtins.bytes + voting_power: builtins.int + proposer_priority: builtins.int + @property + def pub_key(self) -> tendermint.crypto.keys_pb2.PublicKey: ... + def __init__( + self, + *, + address: builtins.bytes = ..., + pub_key: tendermint.crypto.keys_pb2.PublicKey | None = ..., + voting_power: builtins.int = ..., + proposer_priority: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["pub_key", b"pub_key"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["address", b"address", "proposer_priority", b"proposer_priority", "pub_key", b"pub_key", "voting_power", b"voting_power"]) -> None: ... + +global___Validator = Validator + +@typing.final +class SimpleValidator(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PUB_KEY_FIELD_NUMBER: builtins.int + VOTING_POWER_FIELD_NUMBER: builtins.int + voting_power: builtins.int + @property + def pub_key(self) -> tendermint.crypto.keys_pb2.PublicKey: ... + def __init__( + self, + *, + pub_key: tendermint.crypto.keys_pb2.PublicKey | None = ..., + voting_power: builtins.int = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["pub_key", b"pub_key"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["pub_key", b"pub_key", "voting_power", b"voting_power"]) -> None: ... + +global___SimpleValidator = SimpleValidator diff --git a/src/poktroll_clients/proto/tendermint/version/types_pb2.py b/src/poktroll_clients/proto/tendermint/version/types_pb2.py new file mode 100644 index 0000000..048342d --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/version/types_pb2.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: tendermint/version/types.proto +# Protobuf Python Version: 5.28.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 28, + 3, + '', + 'tendermint/version/types.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from poktroll_clients.proto.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\x1a\n\x08protocol\x18\x01 \x01(\x04R\x08protocol\x12\x1a\n\x08software\x18\x02 \x01(\tR\x08software\"9\n\tConsensus\x12\x14\n\x05\x62lock\x18\x01 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x02 \x01(\x04R\x03\x61pp:\x04\xe8\xa0\x1f\x01\x42\x37Z5github.com/cometbft/cometbft/proto/tendermint/versionb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/version' + _globals['_CONSENSUS']._loaded_options = None + _globals['_CONSENSUS']._serialized_options = b'\350\240\037\001' + _globals['_APP']._serialized_start=76 + _globals['_APP']._serialized_end=137 + _globals['_CONSENSUS']._serialized_start=139 + _globals['_CONSENSUS']._serialized_end=196 +# @@protoc_insertion_point(module_scope) diff --git a/src/poktroll_clients/proto/tendermint/version/types_pb2.pyi b/src/poktroll_clients/proto/tendermint/version/types_pb2.pyi new file mode 100644 index 0000000..99ba68b --- /dev/null +++ b/src/poktroll_clients/proto/tendermint/version/types_pb2.pyi @@ -0,0 +1,57 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import typing + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class App(google.protobuf.message.Message): + """App includes the protocol and software version for the application. + This information is included in ResponseInfo. The App.Protocol can be + updated in ResponseEndBlock. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PROTOCOL_FIELD_NUMBER: builtins.int + SOFTWARE_FIELD_NUMBER: builtins.int + protocol: builtins.int + software: builtins.str + def __init__( + self, + *, + protocol: builtins.int = ..., + software: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["protocol", b"protocol", "software", b"software"]) -> None: ... + +global___App = App + +@typing.final +class Consensus(google.protobuf.message.Message): + """Consensus captures the consensus rules for processing a block in the blockchain, + including all blockchain data structures and the rules of the application's + state transition machine. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BLOCK_FIELD_NUMBER: builtins.int + APP_FIELD_NUMBER: builtins.int + block: builtins.int + app: builtins.int + def __init__( + self, + *, + block: builtins.int = ..., + app: builtins.int = ..., + ) -> None: ... + def ClearField(self, field_name: typing.Literal["app", b"app", "block", b"block"]) -> None: ... + +global___Consensus = Consensus