cosmoverse 0.0.1.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rubocop.yml +50 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +62 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/Rakefile +16 -0
- data/buf.gen.yaml +35 -0
- data/buf.yaml +7 -0
- data/docker/gaia/Dockerfile +13 -0
- data/docker/gaia/wait_for_next_block +10 -0
- data/docker-compose.yml +21 -0
- data/lib/cosmoverse/cosmos/bank.rb +33 -0
- data/lib/cosmoverse/cosmos/client/base.rb +27 -0
- data/lib/cosmoverse/cosmos/client/grpc.rb +28 -0
- data/lib/cosmoverse/cosmos/client/http.rb +36 -0
- data/lib/cosmoverse/cosmos/client.rb +19 -0
- data/lib/cosmoverse/cosmos/collectable.rb +50 -0
- data/lib/cosmoverse/cosmos/config.rb +26 -0
- data/lib/cosmoverse/cosmos/ibc/denom_trace.rb +58 -0
- data/lib/cosmoverse/cosmos/tx.rb +85 -0
- data/lib/cosmoverse/cosmos.rb +13 -0
- data/lib/cosmoverse/proto/amino/amino_pb.rb +20 -0
- data/lib/cosmoverse/proto/cosmos/bank/v1beta1/bank_pb.rb +71 -0
- data/lib/cosmoverse/proto/cosmos/bank/v1beta1/query_pb.rb +138 -0
- data/lib/cosmoverse/proto/cosmos/bank/v1beta1/query_services_pb.rb +89 -0
- data/lib/cosmoverse/proto/cosmos/base/abci/v1beta1/abci_pb.rb +108 -0
- data/lib/cosmoverse/proto/cosmos/base/query/v1beta1/pagination_pb.rb +39 -0
- data/lib/cosmoverse/proto/cosmos/base/v1beta1/coin_pb.rb +46 -0
- data/lib/cosmoverse/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.rb +37 -0
- data/lib/cosmoverse/proto/cosmos/msg/v1/msg_pb.rb +26 -0
- data/lib/cosmoverse/proto/cosmos/query/v1/query_pb.rb +26 -0
- data/lib/cosmoverse/proto/cosmos/tx/signing/v1beta1/signing_pb.rb +65 -0
- data/lib/cosmoverse/proto/cosmos/tx/v1beta1/service_pb.rb +132 -0
- data/lib/cosmoverse/proto/cosmos/tx/v1beta1/service_services_pb.rb +61 -0
- data/lib/cosmoverse/proto/cosmos/tx/v1beta1/tx_pb.rb +114 -0
- data/lib/cosmoverse/proto/cosmos_proto/cosmos_pb.rb +37 -0
- data/lib/cosmoverse/proto/gogoproto/gogo_pb.rb +20 -0
- data/lib/cosmoverse/proto/ibc/applications/transfer/v1/query_pb.rb +70 -0
- data/lib/cosmoverse/proto/ibc/applications/transfer/v1/query_services_pb.rb +43 -0
- data/lib/cosmoverse/proto/ibc/applications/transfer/v1/transfer_pb.rb +34 -0
- data/lib/cosmoverse/proto/tendermint/abci/types_pb.rb +370 -0
- data/lib/cosmoverse/proto/tendermint/abci/types_services_pb.rb +49 -0
- data/lib/cosmoverse/proto/tendermint/crypto/keys_pb.rb +31 -0
- data/lib/cosmoverse/proto/tendermint/crypto/proof_pb.rb +52 -0
- data/lib/cosmoverse/proto/tendermint/types/block_pb.rb +33 -0
- data/lib/cosmoverse/proto/tendermint/types/evidence_pb.rb +54 -0
- data/lib/cosmoverse/proto/tendermint/types/params_pb.rb +56 -0
- data/lib/cosmoverse/proto/tendermint/types/types_pb.rb +137 -0
- data/lib/cosmoverse/proto/tendermint/types/validator_pb.rb +43 -0
- data/lib/cosmoverse/proto/tendermint/version/types_pb.rb +34 -0
- data/lib/cosmoverse/version.rb +5 -0
- data/lib/cosmoverse.rb +13 -0
- data/sig/cosmoverse.rbs +4 -0
- metadata +118 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# Source: ibc/applications/transfer/v1/query.proto for package 'Cosmoverse.Proto.Ibc.Applications.Transfer.V1'
|
5
|
+
|
6
|
+
require 'grpc'
|
7
|
+
require 'cosmoverse/proto/ibc/applications/transfer/v1/query_pb'
|
8
|
+
|
9
|
+
module Cosmoverse
|
10
|
+
module Proto
|
11
|
+
module Ibc
|
12
|
+
module Applications
|
13
|
+
module Transfer
|
14
|
+
module V1
|
15
|
+
module Query
|
16
|
+
# Query provides defines the gRPC querier service.
|
17
|
+
class Service
|
18
|
+
include ::GRPC::GenericService
|
19
|
+
|
20
|
+
self.marshal_class_method = :encode
|
21
|
+
self.unmarshal_class_method = :decode
|
22
|
+
self.service_name = 'ibc.applications.transfer.v1.Query'
|
23
|
+
|
24
|
+
# DenomTrace queries a denomination trace information.
|
25
|
+
rpc :DenomTrace, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryDenomTraceRequest, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryDenomTraceResponse
|
26
|
+
# DenomTraces queries all denomination traces.
|
27
|
+
rpc :DenomTraces, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryDenomTracesRequest, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryDenomTracesResponse
|
28
|
+
# Params queries all parameters of the ibc-transfer module.
|
29
|
+
rpc :Params, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryParamsRequest, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryParamsResponse
|
30
|
+
# DenomHash queries a denomination hash information.
|
31
|
+
rpc :DenomHash, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryDenomHashRequest, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryDenomHashResponse
|
32
|
+
# EscrowAddress returns the escrow address for a particular port and channel id.
|
33
|
+
rpc :EscrowAddress, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryEscrowAddressRequest, ::Cosmoverse::Proto::Ibc::Applications::Transfer::V1::QueryEscrowAddressResponse
|
34
|
+
end
|
35
|
+
|
36
|
+
Stub = Service.rpc_stub_class
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: ibc/applications/transfer/v1/transfer.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("ibc/applications/transfer/v1/transfer.proto", :syntax => :proto3) do
|
10
|
+
add_message "ibc.applications.transfer.v1.DenomTrace" do
|
11
|
+
optional :path, :string, 1, json_name: "path"
|
12
|
+
optional :base_denom, :string, 2, json_name: "baseDenom"
|
13
|
+
end
|
14
|
+
add_message "ibc.applications.transfer.v1.Params" do
|
15
|
+
optional :send_enabled, :bool, 1, json_name: "sendEnabled"
|
16
|
+
optional :receive_enabled, :bool, 2, json_name: "receiveEnabled"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
module Cosmoverse
|
22
|
+
module Proto
|
23
|
+
module Ibc
|
24
|
+
module Applications
|
25
|
+
module Transfer
|
26
|
+
module V1
|
27
|
+
DenomTrace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("ibc.applications.transfer.v1.DenomTrace").msgclass
|
28
|
+
Params = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("ibc.applications.transfer.v1.Params").msgclass
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,370 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: tendermint/abci/types.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
require 'cosmoverse/proto/tendermint/crypto/proof_pb'
|
9
|
+
require 'cosmoverse/proto/tendermint/types/types_pb'
|
10
|
+
require 'cosmoverse/proto/tendermint/crypto/keys_pb'
|
11
|
+
require 'cosmoverse/proto/tendermint/types/params_pb'
|
12
|
+
require 'google/protobuf/timestamp_pb'
|
13
|
+
require 'cosmoverse/proto/gogoproto/gogo_pb'
|
14
|
+
|
15
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
|
+
add_file("tendermint/abci/types.proto", :syntax => :proto3) do
|
17
|
+
add_message "tendermint.abci.Request" do
|
18
|
+
oneof :value do
|
19
|
+
optional :echo, :message, 1, "tendermint.abci.RequestEcho", json_name: "echo"
|
20
|
+
optional :flush, :message, 2, "tendermint.abci.RequestFlush", json_name: "flush"
|
21
|
+
optional :info, :message, 3, "tendermint.abci.RequestInfo", json_name: "info"
|
22
|
+
optional :init_chain, :message, 5, "tendermint.abci.RequestInitChain", json_name: "initChain"
|
23
|
+
optional :query, :message, 6, "tendermint.abci.RequestQuery", json_name: "query"
|
24
|
+
optional :begin_block, :message, 7, "tendermint.abci.RequestBeginBlock", json_name: "beginBlock"
|
25
|
+
optional :check_tx, :message, 8, "tendermint.abci.RequestCheckTx", json_name: "checkTx"
|
26
|
+
optional :deliver_tx, :message, 9, "tendermint.abci.RequestDeliverTx", json_name: "deliverTx"
|
27
|
+
optional :end_block, :message, 10, "tendermint.abci.RequestEndBlock", json_name: "endBlock"
|
28
|
+
optional :commit, :message, 11, "tendermint.abci.RequestCommit", json_name: "commit"
|
29
|
+
optional :list_snapshots, :message, 12, "tendermint.abci.RequestListSnapshots", json_name: "listSnapshots"
|
30
|
+
optional :offer_snapshot, :message, 13, "tendermint.abci.RequestOfferSnapshot", json_name: "offerSnapshot"
|
31
|
+
optional :load_snapshot_chunk, :message, 14, "tendermint.abci.RequestLoadSnapshotChunk", json_name: "loadSnapshotChunk"
|
32
|
+
optional :apply_snapshot_chunk, :message, 15, "tendermint.abci.RequestApplySnapshotChunk", json_name: "applySnapshotChunk"
|
33
|
+
optional :prepare_proposal, :message, 16, "tendermint.abci.RequestPrepareProposal", json_name: "prepareProposal"
|
34
|
+
optional :process_proposal, :message, 17, "tendermint.abci.RequestProcessProposal", json_name: "processProposal"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
add_message "tendermint.abci.RequestEcho" do
|
38
|
+
optional :message, :string, 1, json_name: "message"
|
39
|
+
end
|
40
|
+
add_message "tendermint.abci.RequestFlush" do
|
41
|
+
end
|
42
|
+
add_message "tendermint.abci.RequestInfo" do
|
43
|
+
optional :version, :string, 1, json_name: "version"
|
44
|
+
optional :block_version, :uint64, 2, json_name: "blockVersion"
|
45
|
+
optional :p2p_version, :uint64, 3, json_name: "p2pVersion"
|
46
|
+
optional :abci_version, :string, 4, json_name: "abciVersion"
|
47
|
+
end
|
48
|
+
add_message "tendermint.abci.RequestInitChain" do
|
49
|
+
optional :time, :message, 1, "google.protobuf.Timestamp", json_name: "time"
|
50
|
+
optional :chain_id, :string, 2, json_name: "chainId"
|
51
|
+
optional :consensus_params, :message, 3, "tendermint.types.ConsensusParams", json_name: "consensusParams"
|
52
|
+
repeated :validators, :message, 4, "tendermint.abci.ValidatorUpdate", json_name: "validators"
|
53
|
+
optional :app_state_bytes, :bytes, 5, json_name: "appStateBytes"
|
54
|
+
optional :initial_height, :int64, 6, json_name: "initialHeight"
|
55
|
+
end
|
56
|
+
add_message "tendermint.abci.RequestQuery" do
|
57
|
+
optional :data, :bytes, 1, json_name: "data"
|
58
|
+
optional :path, :string, 2, json_name: "path"
|
59
|
+
optional :height, :int64, 3, json_name: "height"
|
60
|
+
optional :prove, :bool, 4, json_name: "prove"
|
61
|
+
end
|
62
|
+
add_message "tendermint.abci.RequestBeginBlock" do
|
63
|
+
optional :hash, :bytes, 1, json_name: "hash"
|
64
|
+
optional :header, :message, 2, "tendermint.types.Header", json_name: "header"
|
65
|
+
optional :last_commit_info, :message, 3, "tendermint.abci.CommitInfo", json_name: "lastCommitInfo"
|
66
|
+
repeated :byzantine_validators, :message, 4, "tendermint.abci.Misbehavior", json_name: "byzantineValidators"
|
67
|
+
end
|
68
|
+
add_message "tendermint.abci.RequestCheckTx" do
|
69
|
+
optional :tx, :bytes, 1, json_name: "tx"
|
70
|
+
optional :type, :enum, 2, "tendermint.abci.CheckTxType", json_name: "type"
|
71
|
+
end
|
72
|
+
add_message "tendermint.abci.RequestDeliverTx" do
|
73
|
+
optional :tx, :bytes, 1, json_name: "tx"
|
74
|
+
end
|
75
|
+
add_message "tendermint.abci.RequestEndBlock" do
|
76
|
+
optional :height, :int64, 1, json_name: "height"
|
77
|
+
end
|
78
|
+
add_message "tendermint.abci.RequestCommit" do
|
79
|
+
end
|
80
|
+
add_message "tendermint.abci.RequestListSnapshots" do
|
81
|
+
end
|
82
|
+
add_message "tendermint.abci.RequestOfferSnapshot" do
|
83
|
+
optional :snapshot, :message, 1, "tendermint.abci.Snapshot", json_name: "snapshot"
|
84
|
+
optional :app_hash, :bytes, 2, json_name: "appHash"
|
85
|
+
end
|
86
|
+
add_message "tendermint.abci.RequestLoadSnapshotChunk" do
|
87
|
+
optional :height, :uint64, 1, json_name: "height"
|
88
|
+
optional :format, :uint32, 2, json_name: "format"
|
89
|
+
optional :chunk, :uint32, 3, json_name: "chunk"
|
90
|
+
end
|
91
|
+
add_message "tendermint.abci.RequestApplySnapshotChunk" do
|
92
|
+
optional :index, :uint32, 1, json_name: "index"
|
93
|
+
optional :chunk, :bytes, 2, json_name: "chunk"
|
94
|
+
optional :sender, :string, 3, json_name: "sender"
|
95
|
+
end
|
96
|
+
add_message "tendermint.abci.RequestPrepareProposal" do
|
97
|
+
optional :max_tx_bytes, :int64, 1, json_name: "maxTxBytes"
|
98
|
+
repeated :txs, :bytes, 2, json_name: "txs"
|
99
|
+
optional :local_last_commit, :message, 3, "tendermint.abci.ExtendedCommitInfo", json_name: "localLastCommit"
|
100
|
+
repeated :misbehavior, :message, 4, "tendermint.abci.Misbehavior", json_name: "misbehavior"
|
101
|
+
optional :height, :int64, 5, json_name: "height"
|
102
|
+
optional :time, :message, 6, "google.protobuf.Timestamp", json_name: "time"
|
103
|
+
optional :next_validators_hash, :bytes, 7, json_name: "nextValidatorsHash"
|
104
|
+
optional :proposer_address, :bytes, 8, json_name: "proposerAddress"
|
105
|
+
end
|
106
|
+
add_message "tendermint.abci.RequestProcessProposal" do
|
107
|
+
repeated :txs, :bytes, 1, json_name: "txs"
|
108
|
+
optional :proposed_last_commit, :message, 2, "tendermint.abci.CommitInfo", json_name: "proposedLastCommit"
|
109
|
+
repeated :misbehavior, :message, 3, "tendermint.abci.Misbehavior", json_name: "misbehavior"
|
110
|
+
optional :hash, :bytes, 4, json_name: "hash"
|
111
|
+
optional :height, :int64, 5, json_name: "height"
|
112
|
+
optional :time, :message, 6, "google.protobuf.Timestamp", json_name: "time"
|
113
|
+
optional :next_validators_hash, :bytes, 7, json_name: "nextValidatorsHash"
|
114
|
+
optional :proposer_address, :bytes, 8, json_name: "proposerAddress"
|
115
|
+
end
|
116
|
+
add_message "tendermint.abci.Response" do
|
117
|
+
oneof :value do
|
118
|
+
optional :exception, :message, 1, "tendermint.abci.ResponseException", json_name: "exception"
|
119
|
+
optional :echo, :message, 2, "tendermint.abci.ResponseEcho", json_name: "echo"
|
120
|
+
optional :flush, :message, 3, "tendermint.abci.ResponseFlush", json_name: "flush"
|
121
|
+
optional :info, :message, 4, "tendermint.abci.ResponseInfo", json_name: "info"
|
122
|
+
optional :init_chain, :message, 6, "tendermint.abci.ResponseInitChain", json_name: "initChain"
|
123
|
+
optional :query, :message, 7, "tendermint.abci.ResponseQuery", json_name: "query"
|
124
|
+
optional :begin_block, :message, 8, "tendermint.abci.ResponseBeginBlock", json_name: "beginBlock"
|
125
|
+
optional :check_tx, :message, 9, "tendermint.abci.ResponseCheckTx", json_name: "checkTx"
|
126
|
+
optional :deliver_tx, :message, 10, "tendermint.abci.ResponseDeliverTx", json_name: "deliverTx"
|
127
|
+
optional :end_block, :message, 11, "tendermint.abci.ResponseEndBlock", json_name: "endBlock"
|
128
|
+
optional :commit, :message, 12, "tendermint.abci.ResponseCommit", json_name: "commit"
|
129
|
+
optional :list_snapshots, :message, 13, "tendermint.abci.ResponseListSnapshots", json_name: "listSnapshots"
|
130
|
+
optional :offer_snapshot, :message, 14, "tendermint.abci.ResponseOfferSnapshot", json_name: "offerSnapshot"
|
131
|
+
optional :load_snapshot_chunk, :message, 15, "tendermint.abci.ResponseLoadSnapshotChunk", json_name: "loadSnapshotChunk"
|
132
|
+
optional :apply_snapshot_chunk, :message, 16, "tendermint.abci.ResponseApplySnapshotChunk", json_name: "applySnapshotChunk"
|
133
|
+
optional :prepare_proposal, :message, 17, "tendermint.abci.ResponsePrepareProposal", json_name: "prepareProposal"
|
134
|
+
optional :process_proposal, :message, 18, "tendermint.abci.ResponseProcessProposal", json_name: "processProposal"
|
135
|
+
end
|
136
|
+
end
|
137
|
+
add_message "tendermint.abci.ResponseException" do
|
138
|
+
optional :error, :string, 1, json_name: "error"
|
139
|
+
end
|
140
|
+
add_message "tendermint.abci.ResponseEcho" do
|
141
|
+
optional :message, :string, 1, json_name: "message"
|
142
|
+
end
|
143
|
+
add_message "tendermint.abci.ResponseFlush" do
|
144
|
+
end
|
145
|
+
add_message "tendermint.abci.ResponseInfo" do
|
146
|
+
optional :data, :string, 1, json_name: "data"
|
147
|
+
optional :version, :string, 2, json_name: "version"
|
148
|
+
optional :app_version, :uint64, 3, json_name: "appVersion"
|
149
|
+
optional :last_block_height, :int64, 4, json_name: "lastBlockHeight"
|
150
|
+
optional :last_block_app_hash, :bytes, 5, json_name: "lastBlockAppHash"
|
151
|
+
end
|
152
|
+
add_message "tendermint.abci.ResponseInitChain" do
|
153
|
+
optional :consensus_params, :message, 1, "tendermint.types.ConsensusParams", json_name: "consensusParams"
|
154
|
+
repeated :validators, :message, 2, "tendermint.abci.ValidatorUpdate", json_name: "validators"
|
155
|
+
optional :app_hash, :bytes, 3, json_name: "appHash"
|
156
|
+
end
|
157
|
+
add_message "tendermint.abci.ResponseQuery" do
|
158
|
+
optional :code, :uint32, 1, json_name: "code"
|
159
|
+
optional :log, :string, 3, json_name: "log"
|
160
|
+
optional :info, :string, 4, json_name: "info"
|
161
|
+
optional :index, :int64, 5, json_name: "index"
|
162
|
+
optional :key, :bytes, 6, json_name: "key"
|
163
|
+
optional :value, :bytes, 7, json_name: "value"
|
164
|
+
optional :proof_ops, :message, 8, "tendermint.crypto.ProofOps", json_name: "proofOps"
|
165
|
+
optional :height, :int64, 9, json_name: "height"
|
166
|
+
optional :codespace, :string, 10, json_name: "codespace"
|
167
|
+
end
|
168
|
+
add_message "tendermint.abci.ResponseBeginBlock" do
|
169
|
+
repeated :events, :message, 1, "tendermint.abci.Event", json_name: "events"
|
170
|
+
end
|
171
|
+
add_message "tendermint.abci.ResponseCheckTx" do
|
172
|
+
optional :code, :uint32, 1, json_name: "code"
|
173
|
+
optional :data, :bytes, 2, json_name: "data"
|
174
|
+
optional :log, :string, 3, json_name: "log"
|
175
|
+
optional :info, :string, 4, json_name: "info"
|
176
|
+
optional :gas_wanted, :int64, 5, json_name: "gas_wanted"
|
177
|
+
optional :gas_used, :int64, 6, json_name: "gas_used"
|
178
|
+
repeated :events, :message, 7, "tendermint.abci.Event", json_name: "events"
|
179
|
+
optional :codespace, :string, 8, json_name: "codespace"
|
180
|
+
optional :sender, :string, 9, json_name: "sender"
|
181
|
+
optional :priority, :int64, 10, json_name: "priority"
|
182
|
+
optional :mempool_error, :string, 11, json_name: "mempoolError"
|
183
|
+
end
|
184
|
+
add_message "tendermint.abci.ResponseDeliverTx" do
|
185
|
+
optional :code, :uint32, 1, json_name: "code"
|
186
|
+
optional :data, :bytes, 2, json_name: "data"
|
187
|
+
optional :log, :string, 3, json_name: "log"
|
188
|
+
optional :info, :string, 4, json_name: "info"
|
189
|
+
optional :gas_wanted, :int64, 5, json_name: "gas_wanted"
|
190
|
+
optional :gas_used, :int64, 6, json_name: "gas_used"
|
191
|
+
repeated :events, :message, 7, "tendermint.abci.Event", json_name: "events"
|
192
|
+
optional :codespace, :string, 8, json_name: "codespace"
|
193
|
+
end
|
194
|
+
add_message "tendermint.abci.ResponseEndBlock" do
|
195
|
+
repeated :validator_updates, :message, 1, "tendermint.abci.ValidatorUpdate", json_name: "validatorUpdates"
|
196
|
+
optional :consensus_param_updates, :message, 2, "tendermint.types.ConsensusParams", json_name: "consensusParamUpdates"
|
197
|
+
repeated :events, :message, 3, "tendermint.abci.Event", json_name: "events"
|
198
|
+
end
|
199
|
+
add_message "tendermint.abci.ResponseCommit" do
|
200
|
+
optional :data, :bytes, 2, json_name: "data"
|
201
|
+
optional :retain_height, :int64, 3, json_name: "retainHeight"
|
202
|
+
end
|
203
|
+
add_message "tendermint.abci.ResponseListSnapshots" do
|
204
|
+
repeated :snapshots, :message, 1, "tendermint.abci.Snapshot", json_name: "snapshots"
|
205
|
+
end
|
206
|
+
add_message "tendermint.abci.ResponseOfferSnapshot" do
|
207
|
+
optional :result, :enum, 1, "tendermint.abci.ResponseOfferSnapshot.Result", json_name: "result"
|
208
|
+
end
|
209
|
+
add_enum "tendermint.abci.ResponseOfferSnapshot.Result" do
|
210
|
+
value :UNKNOWN, 0
|
211
|
+
value :ACCEPT, 1
|
212
|
+
value :ABORT, 2
|
213
|
+
value :REJECT, 3
|
214
|
+
value :REJECT_FORMAT, 4
|
215
|
+
value :REJECT_SENDER, 5
|
216
|
+
end
|
217
|
+
add_message "tendermint.abci.ResponseLoadSnapshotChunk" do
|
218
|
+
optional :chunk, :bytes, 1, json_name: "chunk"
|
219
|
+
end
|
220
|
+
add_message "tendermint.abci.ResponseApplySnapshotChunk" do
|
221
|
+
optional :result, :enum, 1, "tendermint.abci.ResponseApplySnapshotChunk.Result", json_name: "result"
|
222
|
+
repeated :refetch_chunks, :uint32, 2, json_name: "refetchChunks"
|
223
|
+
repeated :reject_senders, :string, 3, json_name: "rejectSenders"
|
224
|
+
end
|
225
|
+
add_enum "tendermint.abci.ResponseApplySnapshotChunk.Result" do
|
226
|
+
value :UNKNOWN, 0
|
227
|
+
value :ACCEPT, 1
|
228
|
+
value :ABORT, 2
|
229
|
+
value :RETRY, 3
|
230
|
+
value :RETRY_SNAPSHOT, 4
|
231
|
+
value :REJECT_SNAPSHOT, 5
|
232
|
+
end
|
233
|
+
add_message "tendermint.abci.ResponsePrepareProposal" do
|
234
|
+
repeated :txs, :bytes, 1, json_name: "txs"
|
235
|
+
end
|
236
|
+
add_message "tendermint.abci.ResponseProcessProposal" do
|
237
|
+
optional :status, :enum, 1, "tendermint.abci.ResponseProcessProposal.ProposalStatus", json_name: "status"
|
238
|
+
end
|
239
|
+
add_enum "tendermint.abci.ResponseProcessProposal.ProposalStatus" do
|
240
|
+
value :UNKNOWN, 0
|
241
|
+
value :ACCEPT, 1
|
242
|
+
value :REJECT, 2
|
243
|
+
end
|
244
|
+
add_message "tendermint.abci.CommitInfo" do
|
245
|
+
optional :round, :int32, 1, json_name: "round"
|
246
|
+
repeated :votes, :message, 2, "tendermint.abci.VoteInfo", json_name: "votes"
|
247
|
+
end
|
248
|
+
add_message "tendermint.abci.ExtendedCommitInfo" do
|
249
|
+
optional :round, :int32, 1, json_name: "round"
|
250
|
+
repeated :votes, :message, 2, "tendermint.abci.ExtendedVoteInfo", json_name: "votes"
|
251
|
+
end
|
252
|
+
add_message "tendermint.abci.Event" do
|
253
|
+
optional :type, :string, 1, json_name: "type"
|
254
|
+
repeated :attributes, :message, 2, "tendermint.abci.EventAttribute", json_name: "attributes"
|
255
|
+
end
|
256
|
+
add_message "tendermint.abci.EventAttribute" do
|
257
|
+
optional :key, :string, 1, json_name: "key"
|
258
|
+
optional :value, :string, 2, json_name: "value"
|
259
|
+
optional :index, :bool, 3, json_name: "index"
|
260
|
+
end
|
261
|
+
add_message "tendermint.abci.TxResult" do
|
262
|
+
optional :height, :int64, 1, json_name: "height"
|
263
|
+
optional :index, :uint32, 2, json_name: "index"
|
264
|
+
optional :tx, :bytes, 3, json_name: "tx"
|
265
|
+
optional :result, :message, 4, "tendermint.abci.ResponseDeliverTx", json_name: "result"
|
266
|
+
end
|
267
|
+
add_message "tendermint.abci.Validator" do
|
268
|
+
optional :address, :bytes, 1, json_name: "address"
|
269
|
+
optional :power, :int64, 3, json_name: "power"
|
270
|
+
end
|
271
|
+
add_message "tendermint.abci.ValidatorUpdate" do
|
272
|
+
optional :pub_key, :message, 1, "tendermint.crypto.PublicKey", json_name: "pubKey"
|
273
|
+
optional :power, :int64, 2, json_name: "power"
|
274
|
+
end
|
275
|
+
add_message "tendermint.abci.VoteInfo" do
|
276
|
+
optional :validator, :message, 1, "tendermint.abci.Validator", json_name: "validator"
|
277
|
+
optional :signed_last_block, :bool, 2, json_name: "signedLastBlock"
|
278
|
+
end
|
279
|
+
add_message "tendermint.abci.ExtendedVoteInfo" do
|
280
|
+
optional :validator, :message, 1, "tendermint.abci.Validator", json_name: "validator"
|
281
|
+
optional :signed_last_block, :bool, 2, json_name: "signedLastBlock"
|
282
|
+
optional :vote_extension, :bytes, 3, json_name: "voteExtension"
|
283
|
+
end
|
284
|
+
add_message "tendermint.abci.Misbehavior" do
|
285
|
+
optional :type, :enum, 1, "tendermint.abci.MisbehaviorType", json_name: "type"
|
286
|
+
optional :validator, :message, 2, "tendermint.abci.Validator", json_name: "validator"
|
287
|
+
optional :height, :int64, 3, json_name: "height"
|
288
|
+
optional :time, :message, 4, "google.protobuf.Timestamp", json_name: "time"
|
289
|
+
optional :total_voting_power, :int64, 5, json_name: "totalVotingPower"
|
290
|
+
end
|
291
|
+
add_message "tendermint.abci.Snapshot" do
|
292
|
+
optional :height, :uint64, 1, json_name: "height"
|
293
|
+
optional :format, :uint32, 2, json_name: "format"
|
294
|
+
optional :chunks, :uint32, 3, json_name: "chunks"
|
295
|
+
optional :hash, :bytes, 4, json_name: "hash"
|
296
|
+
optional :metadata, :bytes, 5, json_name: "metadata"
|
297
|
+
end
|
298
|
+
add_enum "tendermint.abci.CheckTxType" do
|
299
|
+
value :NEW, 0
|
300
|
+
value :RECHECK, 1
|
301
|
+
end
|
302
|
+
add_enum "tendermint.abci.MisbehaviorType" do
|
303
|
+
value :UNKNOWN, 0
|
304
|
+
value :DUPLICATE_VOTE, 1
|
305
|
+
value :LIGHT_CLIENT_ATTACK, 2
|
306
|
+
end
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
module Cosmoverse
|
311
|
+
module Proto
|
312
|
+
module Tendermint
|
313
|
+
module Abci
|
314
|
+
module Types
|
315
|
+
Request = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.Request").msgclass
|
316
|
+
RequestEcho = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestEcho").msgclass
|
317
|
+
RequestFlush = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestFlush").msgclass
|
318
|
+
RequestInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestInfo").msgclass
|
319
|
+
RequestInitChain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestInitChain").msgclass
|
320
|
+
RequestQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestQuery").msgclass
|
321
|
+
RequestBeginBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestBeginBlock").msgclass
|
322
|
+
RequestCheckTx = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestCheckTx").msgclass
|
323
|
+
RequestDeliverTx = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestDeliverTx").msgclass
|
324
|
+
RequestEndBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestEndBlock").msgclass
|
325
|
+
RequestCommit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestCommit").msgclass
|
326
|
+
RequestListSnapshots = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestListSnapshots").msgclass
|
327
|
+
RequestOfferSnapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestOfferSnapshot").msgclass
|
328
|
+
RequestLoadSnapshotChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestLoadSnapshotChunk").msgclass
|
329
|
+
RequestApplySnapshotChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestApplySnapshotChunk").msgclass
|
330
|
+
RequestPrepareProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestPrepareProposal").msgclass
|
331
|
+
RequestProcessProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.RequestProcessProposal").msgclass
|
332
|
+
Response = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.Response").msgclass
|
333
|
+
ResponseException = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseException").msgclass
|
334
|
+
ResponseEcho = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseEcho").msgclass
|
335
|
+
ResponseFlush = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseFlush").msgclass
|
336
|
+
ResponseInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseInfo").msgclass
|
337
|
+
ResponseInitChain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseInitChain").msgclass
|
338
|
+
ResponseQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseQuery").msgclass
|
339
|
+
ResponseBeginBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseBeginBlock").msgclass
|
340
|
+
ResponseCheckTx = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseCheckTx").msgclass
|
341
|
+
ResponseDeliverTx = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseDeliverTx").msgclass
|
342
|
+
ResponseEndBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseEndBlock").msgclass
|
343
|
+
ResponseCommit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseCommit").msgclass
|
344
|
+
ResponseListSnapshots = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseListSnapshots").msgclass
|
345
|
+
ResponseOfferSnapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseOfferSnapshot").msgclass
|
346
|
+
ResponseOfferSnapshot::Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseOfferSnapshot.Result").enummodule
|
347
|
+
ResponseLoadSnapshotChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseLoadSnapshotChunk").msgclass
|
348
|
+
ResponseApplySnapshotChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseApplySnapshotChunk").msgclass
|
349
|
+
ResponseApplySnapshotChunk::Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseApplySnapshotChunk.Result").enummodule
|
350
|
+
ResponsePrepareProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponsePrepareProposal").msgclass
|
351
|
+
ResponseProcessProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseProcessProposal").msgclass
|
352
|
+
ResponseProcessProposal::ProposalStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ResponseProcessProposal.ProposalStatus").enummodule
|
353
|
+
CommitInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.CommitInfo").msgclass
|
354
|
+
ExtendedCommitInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ExtendedCommitInfo").msgclass
|
355
|
+
Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.Event").msgclass
|
356
|
+
EventAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.EventAttribute").msgclass
|
357
|
+
TxResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.TxResult").msgclass
|
358
|
+
Validator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.Validator").msgclass
|
359
|
+
ValidatorUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ValidatorUpdate").msgclass
|
360
|
+
VoteInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.VoteInfo").msgclass
|
361
|
+
ExtendedVoteInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.ExtendedVoteInfo").msgclass
|
362
|
+
Misbehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.Misbehavior").msgclass
|
363
|
+
Snapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.Snapshot").msgclass
|
364
|
+
CheckTxType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.CheckTxType").enummodule
|
365
|
+
MisbehaviorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.abci.MisbehaviorType").enummodule
|
366
|
+
end
|
367
|
+
end
|
368
|
+
end
|
369
|
+
end
|
370
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# Source: tendermint/abci/types.proto for package 'Cosmoverse.Proto.Tendermint.Abci.Types'
|
5
|
+
|
6
|
+
require 'grpc'
|
7
|
+
require 'cosmoverse/proto/tendermint/abci/types_pb'
|
8
|
+
|
9
|
+
module Cosmoverse
|
10
|
+
module Proto
|
11
|
+
module Tendermint
|
12
|
+
module Abci
|
13
|
+
module Types
|
14
|
+
module ABCIApplication
|
15
|
+
# ----------------------------------------
|
16
|
+
# Service Definition
|
17
|
+
#
|
18
|
+
class Service
|
19
|
+
include ::GRPC::GenericService
|
20
|
+
|
21
|
+
self.marshal_class_method = :encode
|
22
|
+
self.unmarshal_class_method = :decode
|
23
|
+
self.service_name = 'tendermint.abci.ABCIApplication'
|
24
|
+
|
25
|
+
rpc :Echo, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestEcho, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseEcho
|
26
|
+
rpc :Flush, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestFlush, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseFlush
|
27
|
+
rpc :Info, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestInfo, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseInfo
|
28
|
+
rpc :DeliverTx, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestDeliverTx, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseDeliverTx
|
29
|
+
rpc :CheckTx, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestCheckTx, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseCheckTx
|
30
|
+
rpc :Query, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestQuery, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseQuery
|
31
|
+
rpc :Commit, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestCommit, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseCommit
|
32
|
+
rpc :InitChain, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestInitChain, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseInitChain
|
33
|
+
rpc :BeginBlock, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestBeginBlock, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseBeginBlock
|
34
|
+
rpc :EndBlock, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestEndBlock, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseEndBlock
|
35
|
+
rpc :ListSnapshots, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestListSnapshots, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseListSnapshots
|
36
|
+
rpc :OfferSnapshot, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestOfferSnapshot, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseOfferSnapshot
|
37
|
+
rpc :LoadSnapshotChunk, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestLoadSnapshotChunk, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseLoadSnapshotChunk
|
38
|
+
rpc :ApplySnapshotChunk, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestApplySnapshotChunk, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseApplySnapshotChunk
|
39
|
+
rpc :PrepareProposal, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestPrepareProposal, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponsePrepareProposal
|
40
|
+
rpc :ProcessProposal, ::Cosmoverse::Proto::Tendermint::Abci::Types::RequestProcessProposal, ::Cosmoverse::Proto::Tendermint::Abci::Types::ResponseProcessProposal
|
41
|
+
end
|
42
|
+
|
43
|
+
Stub = Service.rpc_stub_class
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: tendermint/crypto/keys.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
require 'cosmoverse/proto/gogoproto/gogo_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("tendermint/crypto/keys.proto", :syntax => :proto3) do
|
12
|
+
add_message "tendermint.crypto.PublicKey" do
|
13
|
+
oneof :sum do
|
14
|
+
optional :ed25519, :bytes, 1, json_name: "ed25519"
|
15
|
+
optional :secp256k1, :bytes, 2, json_name: "secp256k1"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
module Cosmoverse
|
22
|
+
module Proto
|
23
|
+
module Tendermint
|
24
|
+
module Crypto
|
25
|
+
module Keys
|
26
|
+
PublicKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.crypto.PublicKey").msgclass
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: tendermint/crypto/proof.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
require 'cosmoverse/proto/gogoproto/gogo_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("tendermint/crypto/proof.proto", :syntax => :proto3) do
|
12
|
+
add_message "tendermint.crypto.Proof" do
|
13
|
+
optional :total, :int64, 1, json_name: "total"
|
14
|
+
optional :index, :int64, 2, json_name: "index"
|
15
|
+
optional :leaf_hash, :bytes, 3, json_name: "leafHash"
|
16
|
+
repeated :aunts, :bytes, 4, json_name: "aunts"
|
17
|
+
end
|
18
|
+
add_message "tendermint.crypto.ValueOp" do
|
19
|
+
optional :key, :bytes, 1, json_name: "key"
|
20
|
+
optional :proof, :message, 2, "tendermint.crypto.Proof", json_name: "proof"
|
21
|
+
end
|
22
|
+
add_message "tendermint.crypto.DominoOp" do
|
23
|
+
optional :key, :string, 1, json_name: "key"
|
24
|
+
optional :input, :string, 2, json_name: "input"
|
25
|
+
optional :output, :string, 3, json_name: "output"
|
26
|
+
end
|
27
|
+
add_message "tendermint.crypto.ProofOp" do
|
28
|
+
optional :type, :string, 1, json_name: "type"
|
29
|
+
optional :key, :bytes, 2, json_name: "key"
|
30
|
+
optional :data, :bytes, 3, json_name: "data"
|
31
|
+
end
|
32
|
+
add_message "tendermint.crypto.ProofOps" do
|
33
|
+
repeated :ops, :message, 1, "tendermint.crypto.ProofOp", json_name: "ops"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
module Cosmoverse
|
39
|
+
module Proto
|
40
|
+
module Tendermint
|
41
|
+
module Crypto
|
42
|
+
module Proof
|
43
|
+
Proof = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.crypto.Proof").msgclass
|
44
|
+
ValueOp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.crypto.ValueOp").msgclass
|
45
|
+
DominoOp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.crypto.DominoOp").msgclass
|
46
|
+
ProofOp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.crypto.ProofOp").msgclass
|
47
|
+
ProofOps = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.crypto.ProofOps").msgclass
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: tendermint/types/block.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
require 'cosmoverse/proto/gogoproto/gogo_pb'
|
9
|
+
require 'cosmoverse/proto/tendermint/types/types_pb'
|
10
|
+
require 'cosmoverse/proto/tendermint/types/evidence_pb'
|
11
|
+
|
12
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
|
+
add_file("tendermint/types/block.proto", :syntax => :proto3) do
|
14
|
+
add_message "tendermint.types.Block" do
|
15
|
+
optional :header, :message, 1, "tendermint.types.Header", json_name: "header"
|
16
|
+
optional :data, :message, 2, "tendermint.types.Data", json_name: "data"
|
17
|
+
optional :evidence, :message, 3, "tendermint.types.EvidenceList", json_name: "evidence"
|
18
|
+
optional :last_commit, :message, 4, "tendermint.types.Commit", json_name: "lastCommit"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
module Cosmoverse
|
24
|
+
module Proto
|
25
|
+
module Tendermint
|
26
|
+
module Types
|
27
|
+
module Block
|
28
|
+
Block = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.Block").msgclass
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|