juno-network 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. package/main/codegen/confio/proofs.js +100 -315
  2. package/main/codegen/cosmos/authz/v1beta1/authz.js +5 -63
  3. package/main/codegen/cosmos/authz/v1beta1/event.js +12 -42
  4. package/main/codegen/cosmos/authz/v1beta1/genesis.js +0 -20
  5. package/main/codegen/cosmos/authz/v1beta1/query.js +6 -114
  6. package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +14 -26
  7. package/main/codegen/cosmos/authz/v1beta1/query.rpc.query.js +22 -2
  8. package/main/codegen/cosmos/authz/v1beta1/tx.js +6 -92
  9. package/main/codegen/cosmos/bank/v1beta1/authz.js +5 -25
  10. package/main/codegen/cosmos/bank/v1beta1/bank.js +20 -178
  11. package/main/codegen/cosmos/bank/v1beta1/genesis.js +5 -73
  12. package/main/codegen/cosmos/bank/v1beta1/query.js +5 -264
  13. package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +24 -30
  14. package/main/codegen/cosmos/bank/v1beta1/query.rpc.query.js +53 -5
  15. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +6 -6
  16. package/main/codegen/cosmos/bank/v1beta1/tx.js +11 -82
  17. package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -28
  18. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +68 -312
  19. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +12 -42
  20. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +65 -418
  21. package/main/codegen/cosmos/base/v1beta1/coin.js +0 -46
  22. package/main/codegen/cosmos/bundle.js +101 -401
  23. package/main/codegen/cosmos/client.js +2 -34
  24. package/main/codegen/cosmos/crypto/ed25519/keys.js +0 -22
  25. package/main/codegen/cosmos/crypto/hd/v1/hd.js +11 -31
  26. package/main/codegen/cosmos/crypto/keyring/v1/record.js +16 -74
  27. package/main/codegen/cosmos/crypto/multisig/keys.js +5 -29
  28. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +6 -40
  29. package/main/codegen/cosmos/crypto/secp256k1/keys.js +0 -22
  30. package/main/codegen/cosmos/crypto/secp256r1/keys.js +0 -22
  31. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +57 -289
  32. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +105 -300
  33. package/main/codegen/cosmos/distribution/v1beta1/query.js +63 -308
  34. package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +35 -41
  35. package/main/codegen/cosmos/distribution/v1beta1/query.rpc.query.js +46 -4
  36. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +15 -15
  37. package/main/codegen/cosmos/distribution/v1beta1/tx.js +28 -140
  38. package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -52
  39. package/main/codegen/cosmos/gov/v1/genesis.js +20 -70
  40. package/main/codegen/cosmos/gov/v1/gov.js +113 -256
  41. package/main/codegen/cosmos/gov/v1/query.js +57 -271
  42. package/main/codegen/cosmos/gov/v1/query.lcd.js +31 -38
  43. package/main/codegen/cosmos/gov/v1/query.rpc.query.js +37 -2
  44. package/main/codegen/cosmos/gov/v1/tx.amino.js +16 -16
  45. package/main/codegen/cosmos/gov/v1/tx.js +25 -176
  46. package/main/codegen/cosmos/gov/v1/tx.registry.js +0 -64
  47. package/main/codegen/cosmos/gov/v1beta1/genesis.js +20 -70
  48. package/main/codegen/cosmos/gov/v1beta1/gov.js +103 -246
  49. package/main/codegen/cosmos/gov/v1beta1/query.js +57 -271
  50. package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +31 -38
  51. package/main/codegen/cosmos/gov/v1beta1/query.rpc.query.js +37 -2
  52. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +14 -14
  53. package/main/codegen/cosmos/gov/v1beta1/tx.js +25 -142
  54. package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -52
  55. package/main/codegen/cosmos/lcd.js +65 -198
  56. package/main/codegen/cosmos/rpc.query.js +58 -197
  57. package/main/codegen/cosmos/rpc.tx.js +31 -122
  58. package/main/codegen/cosmos/staking/v1beta1/authz.js +38 -59
  59. package/main/codegen/cosmos/staking/v1beta1/genesis.js +14 -96
  60. package/main/codegen/cosmos/staking/v1beta1/query.js +115 -497
  61. package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +48 -49
  62. package/main/codegen/cosmos/staking/v1beta1/query.rpc.query.js +61 -4
  63. package/main/codegen/cosmos/staking/v1beta1/staking.js +222 -565
  64. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +47 -47
  65. package/main/codegen/cosmos/staking/v1beta1/tx.js +82 -205
  66. package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -64
  67. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +29 -86
  68. package/main/codegen/cosmos/tx/v1beta1/service.js +69 -207
  69. package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +14 -26
  70. package/main/codegen/cosmos/tx/v1beta1/service.rpc.svc.js +33 -7
  71. package/main/codegen/cosmos/tx/v1beta1/tx.js +102 -381
  72. package/main/codegen/cosmos/upgrade/v1beta1/query.js +22 -126
  73. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +19 -29
  74. package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +34 -4
  75. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +4 -4
  76. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +0 -38
  77. package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -28
  78. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +5 -61
  79. package/main/codegen/cosmos_proto/cosmos.js +17 -45
  80. package/main/codegen/cosmwasm/bundle.js +16 -16
  81. package/main/codegen/cosmwasm/lcd.js +76 -209
  82. package/main/codegen/cosmwasm/rpc.query.js +66 -207
  83. package/main/codegen/cosmwasm/rpc.tx.js +41 -132
  84. package/main/codegen/cosmwasm/wasm/v1/genesis.js +57 -178
  85. package/main/codegen/cosmwasm/wasm/v1/ibc.js +10 -36
  86. package/main/codegen/cosmwasm/wasm/v1/proposal.js +56 -250
  87. package/main/codegen/cosmwasm/wasm/v1/query.js +54 -322
  88. package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +28 -34
  89. package/main/codegen/cosmwasm/wasm/v1/query.rpc.query.js +50 -4
  90. package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +16 -16
  91. package/main/codegen/cosmwasm/wasm/v1/tx.js +32 -200
  92. package/main/codegen/cosmwasm/wasm/v1/tx.registry.js +0 -76
  93. package/main/codegen/cosmwasm/wasm/v1/types.js +80 -166
  94. package/main/codegen/gogoproto/bundle.js +2 -2
  95. package/main/codegen/google/bundle.js +9 -15
  96. package/main/codegen/google/protobuf/any.js +6 -20
  97. package/main/codegen/google/protobuf/descriptor.js +407 -1134
  98. package/main/codegen/google/protobuf/duration.js +0 -12
  99. package/main/codegen/google/protobuf/empty.js +0 -7
  100. package/main/codegen/google/protobuf/field_mask.js +0 -20
  101. package/main/codegen/google/protobuf/struct.js +51 -118
  102. package/main/codegen/google/protobuf/timestamp.js +0 -12
  103. package/main/codegen/google/protobuf/wrappers.js +0 -90
  104. package/main/codegen/ibc/applications/transfer/v1/genesis.js +10 -36
  105. package/main/codegen/ibc/applications/transfer/v1/query.js +10 -81
  106. package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +12 -24
  107. package/main/codegen/ibc/applications/transfer/v1/query.rpc.query.js +30 -4
  108. package/main/codegen/ibc/applications/transfer/v1/transfer.js +17 -43
  109. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +14 -14
  110. package/main/codegen/ibc/applications/transfer/v1/tx.js +21 -50
  111. package/main/codegen/ibc/applications/transfer/v1/tx.registry.js +0 -16
  112. package/main/codegen/ibc/applications/transfer/v2/packet.js +0 -18
  113. package/main/codegen/ibc/bundle.js +56 -74
  114. package/main/codegen/ibc/core/channel/v1/channel.js +103 -198
  115. package/main/codegen/ibc/core/channel/v1/genesis.js +29 -131
  116. package/main/codegen/ibc/core/channel/v1/query.js +202 -646
  117. package/main/codegen/ibc/core/channel/v1/query.lcd.js +45 -47
  118. package/main/codegen/ibc/core/channel/v1/query.rpc.query.js +57 -3
  119. package/main/codegen/ibc/core/channel/v1/tx.amino.js +183 -183
  120. package/main/codegen/ibc/core/channel/v1/tx.js +175 -425
  121. package/main/codegen/ibc/core/channel/v1/tx.registry.js +0 -124
  122. package/main/codegen/ibc/core/client/v1/client.js +57 -167
  123. package/main/codegen/ibc/core/client/v1/genesis.js +29 -111
  124. package/main/codegen/ibc/core/client/v1/query.js +79 -270
  125. package/main/codegen/ibc/core/client/v1/query.lcd.js +28 -35
  126. package/main/codegen/ibc/core/client/v1/query.rpc.query.js +51 -6
  127. package/main/codegen/ibc/core/client/v1/tx.amino.js +39 -39
  128. package/main/codegen/ibc/core/client/v1/tx.js +48 -140
  129. package/main/codegen/ibc/core/client/v1/tx.registry.js +0 -52
  130. package/main/codegen/ibc/core/commitment/v1/commitment.js +11 -73
  131. package/main/codegen/ibc/core/connection/v1/connection.js +61 -191
  132. package/main/codegen/ibc/core/connection/v1/genesis.js +10 -45
  133. package/main/codegen/ibc/core/connection/v1/query.js +75 -221
  134. package/main/codegen/ibc/core/connection/v1/query.lcd.js +20 -30
  135. package/main/codegen/ibc/core/connection/v1/query.rpc.query.js +33 -3
  136. package/main/codegen/ibc/core/connection/v1/tx.amino.js +95 -95
  137. package/main/codegen/ibc/core/connection/v1/tx.js +118 -250
  138. package/main/codegen/ibc/core/connection/v1/tx.registry.js +0 -52
  139. package/main/codegen/ibc/lcd.js +107 -240
  140. package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +6 -20
  141. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +115 -309
  142. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +115 -309
  143. package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +86 -191
  144. package/main/codegen/ibc/rpc.query.js +88 -248
  145. package/main/codegen/ibc/rpc.tx.js +69 -160
  146. package/main/codegen/juno/bundle.js +9 -9
  147. package/main/codegen/juno/lcd.js +74 -207
  148. package/main/codegen/juno/mint/genesis.js +0 -14
  149. package/main/codegen/juno/mint/mint.js +22 -50
  150. package/main/codegen/juno/mint/query.js +6 -59
  151. package/main/codegen/juno/mint/query.lcd.js +12 -24
  152. package/main/codegen/juno/mint/query.rpc.query.js +31 -5
  153. package/main/codegen/juno/rpc.query.js +64 -205
  154. package/main/codegen/tendermint/abci/types.js +296 -1020
  155. package/main/codegen/tendermint/bundle.js +17 -17
  156. package/main/codegen/tendermint/crypto/keys.js +0 -14
  157. package/main/codegen/tendermint/crypto/proof.js +6 -92
  158. package/main/codegen/tendermint/libs/bits/types.js +0 -22
  159. package/main/codegen/tendermint/p2p/types.js +53 -143
  160. package/main/codegen/tendermint/types/block.js +5 -23
  161. package/main/codegen/tendermint/types/evidence.js +50 -128
  162. package/main/codegen/tendermint/types/params.js +51 -137
  163. package/main/codegen/tendermint/types/types.js +162 -372
  164. package/main/codegen/tendermint/types/validator.js +30 -82
  165. package/main/codegen/tendermint/version/types.js +0 -24
  166. package/main/index.js +1 -5
  167. package/package.json +5 -5
@@ -31,7 +31,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
31
31
 
32
32
  function createBaseQueryConnectionRequest() {
33
33
  return {
34
- connection_id: ""
34
+ connectionId: ""
35
35
  };
36
36
  }
37
37
 
@@ -39,8 +39,8 @@ var QueryConnectionRequest = {
39
39
  encode: function encode(message) {
40
40
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
41
41
 
42
- if (message.connection_id !== "") {
43
- writer.uint32(10).string(message.connection_id);
42
+ if (message.connectionId !== "") {
43
+ writer.uint32(10).string(message.connectionId);
44
44
  }
45
45
 
46
46
  return writer;
@@ -55,7 +55,7 @@ var QueryConnectionRequest = {
55
55
 
56
56
  switch (tag >>> 3) {
57
57
  case 1:
58
- message.connection_id = reader.string();
58
+ message.connectionId = reader.string();
59
59
  break;
60
60
 
61
61
  default:
@@ -66,21 +66,11 @@ var QueryConnectionRequest = {
66
66
 
67
67
  return message;
68
68
  },
69
- fromJSON: function fromJSON(object) {
70
- return {
71
- connection_id: (0, _helpers.isSet)(object.connection_id) ? String(object.connection_id) : ""
72
- };
73
- },
74
- toJSON: function toJSON(message) {
75
- var obj = {};
76
- message.connection_id !== undefined && (obj.connection_id = message.connection_id);
77
- return obj;
78
- },
79
69
  fromPartial: function fromPartial(object) {
80
- var _object$connection_id;
70
+ var _object$connectionId;
81
71
 
82
72
  var message = createBaseQueryConnectionRequest();
83
- message.connection_id = (_object$connection_id = object.connection_id) !== null && _object$connection_id !== void 0 ? _object$connection_id : "";
73
+ message.connectionId = (_object$connectionId = object.connectionId) !== null && _object$connectionId !== void 0 ? _object$connectionId : "";
84
74
  return message;
85
75
  }
86
76
  };
@@ -90,7 +80,7 @@ function createBaseQueryConnectionResponse() {
90
80
  return {
91
81
  connection: undefined,
92
82
  proof: new Uint8Array(),
93
- proof_height: undefined
83
+ proofHeight: undefined
94
84
  };
95
85
  }
96
86
 
@@ -106,8 +96,8 @@ var QueryConnectionResponse = {
106
96
  writer.uint32(18).bytes(message.proof);
107
97
  }
108
98
 
109
- if (message.proof_height !== undefined) {
110
- _client.Height.encode(message.proof_height, writer.uint32(26).fork()).ldelim();
99
+ if (message.proofHeight !== undefined) {
100
+ _client.Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
111
101
  }
112
102
 
113
103
  return writer;
@@ -130,7 +120,7 @@ var QueryConnectionResponse = {
130
120
  break;
131
121
 
132
122
  case 3:
133
- message.proof_height = _client.Height.decode(reader, reader.uint32());
123
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
134
124
  break;
135
125
 
136
126
  default:
@@ -141,27 +131,13 @@ var QueryConnectionResponse = {
141
131
 
142
132
  return message;
143
133
  },
144
- fromJSON: function fromJSON(object) {
145
- return {
146
- connection: (0, _helpers.isSet)(object.connection) ? _connection.ConnectionEnd.fromJSON(object.connection) : undefined,
147
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
148
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
149
- };
150
- },
151
- toJSON: function toJSON(message) {
152
- var obj = {};
153
- message.connection !== undefined && (obj.connection = message.connection ? _connection.ConnectionEnd.toJSON(message.connection) : undefined);
154
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
155
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
156
- return obj;
157
- },
158
134
  fromPartial: function fromPartial(object) {
159
135
  var _object$proof;
160
136
 
161
137
  var message = createBaseQueryConnectionResponse();
162
138
  message.connection = object.connection !== undefined && object.connection !== null ? _connection.ConnectionEnd.fromPartial(object.connection) : undefined;
163
139
  message.proof = (_object$proof = object.proof) !== null && _object$proof !== void 0 ? _object$proof : new Uint8Array();
164
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
140
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
165
141
  return message;
166
142
  }
167
143
  };
@@ -204,16 +180,6 @@ var QueryConnectionsRequest = {
204
180
 
205
181
  return message;
206
182
  },
207
- fromJSON: function fromJSON(object) {
208
- return {
209
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined
210
- };
211
- },
212
- toJSON: function toJSON(message) {
213
- var obj = {};
214
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
215
- return obj;
216
- },
217
183
  fromPartial: function fromPartial(object) {
218
184
  var message = createBaseQueryConnectionsRequest();
219
185
  message.pagination = object.pagination !== undefined && object.pagination !== null ? _pagination.PageRequest.fromPartial(object.pagination) : undefined;
@@ -288,30 +254,6 @@ var QueryConnectionsResponse = {
288
254
 
289
255
  return message;
290
256
  },
291
- fromJSON: function fromJSON(object) {
292
- return {
293
- connections: Array.isArray(object === null || object === void 0 ? void 0 : object.connections) ? object.connections.map(function (e) {
294
- return _connection.IdentifiedConnection.fromJSON(e);
295
- }) : [],
296
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined,
297
- height: (0, _helpers.isSet)(object.height) ? _client.Height.fromJSON(object.height) : undefined
298
- };
299
- },
300
- toJSON: function toJSON(message) {
301
- var obj = {};
302
-
303
- if (message.connections) {
304
- obj.connections = message.connections.map(function (e) {
305
- return e ? _connection.IdentifiedConnection.toJSON(e) : undefined;
306
- });
307
- } else {
308
- obj.connections = [];
309
- }
310
-
311
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
312
- message.height !== undefined && (obj.height = message.height ? _client.Height.toJSON(message.height) : undefined);
313
- return obj;
314
- },
315
257
  fromPartial: function fromPartial(object) {
316
258
  var _object$connections;
317
259
 
@@ -328,7 +270,7 @@ exports.QueryConnectionsResponse = QueryConnectionsResponse;
328
270
 
329
271
  function createBaseQueryClientConnectionsRequest() {
330
272
  return {
331
- client_id: ""
273
+ clientId: ""
332
274
  };
333
275
  }
334
276
 
@@ -336,8 +278,8 @@ var QueryClientConnectionsRequest = {
336
278
  encode: function encode(message) {
337
279
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
338
280
 
339
- if (message.client_id !== "") {
340
- writer.uint32(10).string(message.client_id);
281
+ if (message.clientId !== "") {
282
+ writer.uint32(10).string(message.clientId);
341
283
  }
342
284
 
343
285
  return writer;
@@ -352,7 +294,7 @@ var QueryClientConnectionsRequest = {
352
294
 
353
295
  switch (tag >>> 3) {
354
296
  case 1:
355
- message.client_id = reader.string();
297
+ message.clientId = reader.string();
356
298
  break;
357
299
 
358
300
  default:
@@ -363,21 +305,11 @@ var QueryClientConnectionsRequest = {
363
305
 
364
306
  return message;
365
307
  },
366
- fromJSON: function fromJSON(object) {
367
- return {
368
- client_id: (0, _helpers.isSet)(object.client_id) ? String(object.client_id) : ""
369
- };
370
- },
371
- toJSON: function toJSON(message) {
372
- var obj = {};
373
- message.client_id !== undefined && (obj.client_id = message.client_id);
374
- return obj;
375
- },
376
308
  fromPartial: function fromPartial(object) {
377
- var _object$client_id;
309
+ var _object$clientId;
378
310
 
379
311
  var message = createBaseQueryClientConnectionsRequest();
380
- message.client_id = (_object$client_id = object.client_id) !== null && _object$client_id !== void 0 ? _object$client_id : "";
312
+ message.clientId = (_object$clientId = object.clientId) !== null && _object$clientId !== void 0 ? _object$clientId : "";
381
313
  return message;
382
314
  }
383
315
  };
@@ -385,9 +317,9 @@ exports.QueryClientConnectionsRequest = QueryClientConnectionsRequest;
385
317
 
386
318
  function createBaseQueryClientConnectionsResponse() {
387
319
  return {
388
- connection_paths: [],
320
+ connectionPaths: [],
389
321
  proof: new Uint8Array(),
390
- proof_height: undefined
322
+ proofHeight: undefined
391
323
  };
392
324
  }
393
325
 
@@ -395,7 +327,7 @@ var QueryClientConnectionsResponse = {
395
327
  encode: function encode(message) {
396
328
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
397
329
 
398
- var _iterator2 = _createForOfIteratorHelper(message.connection_paths),
330
+ var _iterator2 = _createForOfIteratorHelper(message.connectionPaths),
399
331
  _step2;
400
332
 
401
333
  try {
@@ -413,8 +345,8 @@ var QueryClientConnectionsResponse = {
413
345
  writer.uint32(18).bytes(message.proof);
414
346
  }
415
347
 
416
- if (message.proof_height !== undefined) {
417
- _client.Height.encode(message.proof_height, writer.uint32(26).fork()).ldelim();
348
+ if (message.proofHeight !== undefined) {
349
+ _client.Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
418
350
  }
419
351
 
420
352
  return writer;
@@ -429,7 +361,7 @@ var QueryClientConnectionsResponse = {
429
361
 
430
362
  switch (tag >>> 3) {
431
363
  case 1:
432
- message.connection_paths.push(reader.string());
364
+ message.connectionPaths.push(reader.string());
433
365
  break;
434
366
 
435
367
  case 2:
@@ -437,7 +369,7 @@ var QueryClientConnectionsResponse = {
437
369
  break;
438
370
 
439
371
  case 3:
440
- message.proof_height = _client.Height.decode(reader, reader.uint32());
372
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
441
373
  break;
442
374
 
443
375
  default:
@@ -448,39 +380,15 @@ var QueryClientConnectionsResponse = {
448
380
 
449
381
  return message;
450
382
  },
451
- fromJSON: function fromJSON(object) {
452
- return {
453
- connection_paths: Array.isArray(object === null || object === void 0 ? void 0 : object.connection_paths) ? object.connection_paths.map(function (e) {
454
- return String(e);
455
- }) : [],
456
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
457
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
458
- };
459
- },
460
- toJSON: function toJSON(message) {
461
- var obj = {};
462
-
463
- if (message.connection_paths) {
464
- obj.connection_paths = message.connection_paths.map(function (e) {
465
- return e;
466
- });
467
- } else {
468
- obj.connection_paths = [];
469
- }
470
-
471
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
472
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
473
- return obj;
474
- },
475
383
  fromPartial: function fromPartial(object) {
476
- var _object$connection_pa, _object$proof2;
384
+ var _object$connectionPat, _object$proof2;
477
385
 
478
386
  var message = createBaseQueryClientConnectionsResponse();
479
- message.connection_paths = ((_object$connection_pa = object.connection_paths) === null || _object$connection_pa === void 0 ? void 0 : _object$connection_pa.map(function (e) {
387
+ message.connectionPaths = ((_object$connectionPat = object.connectionPaths) === null || _object$connectionPat === void 0 ? void 0 : _object$connectionPat.map(function (e) {
480
388
  return e;
481
389
  })) || [];
482
390
  message.proof = (_object$proof2 = object.proof) !== null && _object$proof2 !== void 0 ? _object$proof2 : new Uint8Array();
483
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
391
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
484
392
  return message;
485
393
  }
486
394
  };
@@ -488,7 +396,7 @@ exports.QueryClientConnectionsResponse = QueryClientConnectionsResponse;
488
396
 
489
397
  function createBaseQueryConnectionClientStateRequest() {
490
398
  return {
491
- connection_id: ""
399
+ connectionId: ""
492
400
  };
493
401
  }
494
402
 
@@ -496,8 +404,8 @@ var QueryConnectionClientStateRequest = {
496
404
  encode: function encode(message) {
497
405
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
498
406
 
499
- if (message.connection_id !== "") {
500
- writer.uint32(10).string(message.connection_id);
407
+ if (message.connectionId !== "") {
408
+ writer.uint32(10).string(message.connectionId);
501
409
  }
502
410
 
503
411
  return writer;
@@ -512,7 +420,7 @@ var QueryConnectionClientStateRequest = {
512
420
 
513
421
  switch (tag >>> 3) {
514
422
  case 1:
515
- message.connection_id = reader.string();
423
+ message.connectionId = reader.string();
516
424
  break;
517
425
 
518
426
  default:
@@ -523,21 +431,11 @@ var QueryConnectionClientStateRequest = {
523
431
 
524
432
  return message;
525
433
  },
526
- fromJSON: function fromJSON(object) {
527
- return {
528
- connection_id: (0, _helpers.isSet)(object.connection_id) ? String(object.connection_id) : ""
529
- };
530
- },
531
- toJSON: function toJSON(message) {
532
- var obj = {};
533
- message.connection_id !== undefined && (obj.connection_id = message.connection_id);
534
- return obj;
535
- },
536
434
  fromPartial: function fromPartial(object) {
537
- var _object$connection_id2;
435
+ var _object$connectionId2;
538
436
 
539
437
  var message = createBaseQueryConnectionClientStateRequest();
540
- message.connection_id = (_object$connection_id2 = object.connection_id) !== null && _object$connection_id2 !== void 0 ? _object$connection_id2 : "";
438
+ message.connectionId = (_object$connectionId2 = object.connectionId) !== null && _object$connectionId2 !== void 0 ? _object$connectionId2 : "";
541
439
  return message;
542
440
  }
543
441
  };
@@ -545,9 +443,9 @@ exports.QueryConnectionClientStateRequest = QueryConnectionClientStateRequest;
545
443
 
546
444
  function createBaseQueryConnectionClientStateResponse() {
547
445
  return {
548
- identified_client_state: undefined,
446
+ identifiedClientState: undefined,
549
447
  proof: new Uint8Array(),
550
- proof_height: undefined
448
+ proofHeight: undefined
551
449
  };
552
450
  }
553
451
 
@@ -555,16 +453,16 @@ var QueryConnectionClientStateResponse = {
555
453
  encode: function encode(message) {
556
454
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
557
455
 
558
- if (message.identified_client_state !== undefined) {
559
- _client.IdentifiedClientState.encode(message.identified_client_state, writer.uint32(10).fork()).ldelim();
456
+ if (message.identifiedClientState !== undefined) {
457
+ _client.IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim();
560
458
  }
561
459
 
562
460
  if (message.proof.length !== 0) {
563
461
  writer.uint32(18).bytes(message.proof);
564
462
  }
565
463
 
566
- if (message.proof_height !== undefined) {
567
- _client.Height.encode(message.proof_height, writer.uint32(26).fork()).ldelim();
464
+ if (message.proofHeight !== undefined) {
465
+ _client.Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
568
466
  }
569
467
 
570
468
  return writer;
@@ -579,7 +477,7 @@ var QueryConnectionClientStateResponse = {
579
477
 
580
478
  switch (tag >>> 3) {
581
479
  case 1:
582
- message.identified_client_state = _client.IdentifiedClientState.decode(reader, reader.uint32());
480
+ message.identifiedClientState = _client.IdentifiedClientState.decode(reader, reader.uint32());
583
481
  break;
584
482
 
585
483
  case 2:
@@ -587,7 +485,7 @@ var QueryConnectionClientStateResponse = {
587
485
  break;
588
486
 
589
487
  case 3:
590
- message.proof_height = _client.Height.decode(reader, reader.uint32());
488
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
591
489
  break;
592
490
 
593
491
  default:
@@ -598,27 +496,13 @@ var QueryConnectionClientStateResponse = {
598
496
 
599
497
  return message;
600
498
  },
601
- fromJSON: function fromJSON(object) {
602
- return {
603
- identified_client_state: (0, _helpers.isSet)(object.identified_client_state) ? _client.IdentifiedClientState.fromJSON(object.identified_client_state) : undefined,
604
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
605
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
606
- };
607
- },
608
- toJSON: function toJSON(message) {
609
- var obj = {};
610
- message.identified_client_state !== undefined && (obj.identified_client_state = message.identified_client_state ? _client.IdentifiedClientState.toJSON(message.identified_client_state) : undefined);
611
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
612
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
613
- return obj;
614
- },
615
499
  fromPartial: function fromPartial(object) {
616
500
  var _object$proof3;
617
501
 
618
502
  var message = createBaseQueryConnectionClientStateResponse();
619
- message.identified_client_state = object.identified_client_state !== undefined && object.identified_client_state !== null ? _client.IdentifiedClientState.fromPartial(object.identified_client_state) : undefined;
503
+ message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? _client.IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined;
620
504
  message.proof = (_object$proof3 = object.proof) !== null && _object$proof3 !== void 0 ? _object$proof3 : new Uint8Array();
621
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
505
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
622
506
  return message;
623
507
  }
624
508
  };
@@ -626,9 +510,9 @@ exports.QueryConnectionClientStateResponse = QueryConnectionClientStateResponse;
626
510
 
627
511
  function createBaseQueryConnectionConsensusStateRequest() {
628
512
  return {
629
- connection_id: "",
630
- revision_number: _helpers.Long.UZERO,
631
- revision_height: _helpers.Long.UZERO
513
+ connectionId: "",
514
+ revisionNumber: _helpers.Long.UZERO,
515
+ revisionHeight: _helpers.Long.UZERO
632
516
  };
633
517
  }
634
518
 
@@ -636,16 +520,16 @@ var QueryConnectionConsensusStateRequest = {
636
520
  encode: function encode(message) {
637
521
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
638
522
 
639
- if (message.connection_id !== "") {
640
- writer.uint32(10).string(message.connection_id);
523
+ if (message.connectionId !== "") {
524
+ writer.uint32(10).string(message.connectionId);
641
525
  }
642
526
 
643
- if (!message.revision_number.isZero()) {
644
- writer.uint32(16).uint64(message.revision_number);
527
+ if (!message.revisionNumber.isZero()) {
528
+ writer.uint32(16).uint64(message.revisionNumber);
645
529
  }
646
530
 
647
- if (!message.revision_height.isZero()) {
648
- writer.uint32(24).uint64(message.revision_height);
531
+ if (!message.revisionHeight.isZero()) {
532
+ writer.uint32(24).uint64(message.revisionHeight);
649
533
  }
650
534
 
651
535
  return writer;
@@ -660,15 +544,15 @@ var QueryConnectionConsensusStateRequest = {
660
544
 
661
545
  switch (tag >>> 3) {
662
546
  case 1:
663
- message.connection_id = reader.string();
547
+ message.connectionId = reader.string();
664
548
  break;
665
549
 
666
550
  case 2:
667
- message.revision_number = reader.uint64();
551
+ message.revisionNumber = reader.uint64();
668
552
  break;
669
553
 
670
554
  case 3:
671
- message.revision_height = reader.uint64();
555
+ message.revisionHeight = reader.uint64();
672
556
  break;
673
557
 
674
558
  default:
@@ -679,27 +563,13 @@ var QueryConnectionConsensusStateRequest = {
679
563
 
680
564
  return message;
681
565
  },
682
- fromJSON: function fromJSON(object) {
683
- return {
684
- connection_id: (0, _helpers.isSet)(object.connection_id) ? String(object.connection_id) : "",
685
- revision_number: (0, _helpers.isSet)(object.revision_number) ? _helpers.Long.fromString(object.revision_number) : _helpers.Long.UZERO,
686
- revision_height: (0, _helpers.isSet)(object.revision_height) ? _helpers.Long.fromString(object.revision_height) : _helpers.Long.UZERO
687
- };
688
- },
689
- toJSON: function toJSON(message) {
690
- var obj = {};
691
- message.connection_id !== undefined && (obj.connection_id = message.connection_id);
692
- message.revision_number !== undefined && (obj.revision_number = (message.revision_number || _helpers.Long.UZERO).toString());
693
- message.revision_height !== undefined && (obj.revision_height = (message.revision_height || _helpers.Long.UZERO).toString());
694
- return obj;
695
- },
696
566
  fromPartial: function fromPartial(object) {
697
- var _object$connection_id3;
567
+ var _object$connectionId3;
698
568
 
699
569
  var message = createBaseQueryConnectionConsensusStateRequest();
700
- message.connection_id = (_object$connection_id3 = object.connection_id) !== null && _object$connection_id3 !== void 0 ? _object$connection_id3 : "";
701
- message.revision_number = object.revision_number !== undefined && object.revision_number !== null ? _helpers.Long.fromValue(object.revision_number) : _helpers.Long.UZERO;
702
- message.revision_height = object.revision_height !== undefined && object.revision_height !== null ? _helpers.Long.fromValue(object.revision_height) : _helpers.Long.UZERO;
570
+ message.connectionId = (_object$connectionId3 = object.connectionId) !== null && _object$connectionId3 !== void 0 ? _object$connectionId3 : "";
571
+ message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? _helpers.Long.fromValue(object.revisionNumber) : _helpers.Long.UZERO;
572
+ message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? _helpers.Long.fromValue(object.revisionHeight) : _helpers.Long.UZERO;
703
573
  return message;
704
574
  }
705
575
  };
@@ -707,10 +577,10 @@ exports.QueryConnectionConsensusStateRequest = QueryConnectionConsensusStateRequ
707
577
 
708
578
  function createBaseQueryConnectionConsensusStateResponse() {
709
579
  return {
710
- consensus_state: undefined,
711
- client_id: "",
580
+ consensusState: undefined,
581
+ clientId: "",
712
582
  proof: new Uint8Array(),
713
- proof_height: undefined
583
+ proofHeight: undefined
714
584
  };
715
585
  }
716
586
 
@@ -718,20 +588,20 @@ var QueryConnectionConsensusStateResponse = {
718
588
  encode: function encode(message) {
719
589
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
720
590
 
721
- if (message.consensus_state !== undefined) {
722
- _any.Any.encode(message.consensus_state, writer.uint32(10).fork()).ldelim();
591
+ if (message.consensusState !== undefined) {
592
+ _any.Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim();
723
593
  }
724
594
 
725
- if (message.client_id !== "") {
726
- writer.uint32(18).string(message.client_id);
595
+ if (message.clientId !== "") {
596
+ writer.uint32(18).string(message.clientId);
727
597
  }
728
598
 
729
599
  if (message.proof.length !== 0) {
730
600
  writer.uint32(26).bytes(message.proof);
731
601
  }
732
602
 
733
- if (message.proof_height !== undefined) {
734
- _client.Height.encode(message.proof_height, writer.uint32(34).fork()).ldelim();
603
+ if (message.proofHeight !== undefined) {
604
+ _client.Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
735
605
  }
736
606
 
737
607
  return writer;
@@ -746,11 +616,11 @@ var QueryConnectionConsensusStateResponse = {
746
616
 
747
617
  switch (tag >>> 3) {
748
618
  case 1:
749
- message.consensus_state = _any.Any.decode(reader, reader.uint32());
619
+ message.consensusState = _any.Any.decode(reader, reader.uint32());
750
620
  break;
751
621
 
752
622
  case 2:
753
- message.client_id = reader.string();
623
+ message.clientId = reader.string();
754
624
  break;
755
625
 
756
626
  case 3:
@@ -758,7 +628,7 @@ var QueryConnectionConsensusStateResponse = {
758
628
  break;
759
629
 
760
630
  case 4:
761
- message.proof_height = _client.Height.decode(reader, reader.uint32());
631
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
762
632
  break;
763
633
 
764
634
  default:
@@ -769,30 +639,14 @@ var QueryConnectionConsensusStateResponse = {
769
639
 
770
640
  return message;
771
641
  },
772
- fromJSON: function fromJSON(object) {
773
- return {
774
- consensus_state: (0, _helpers.isSet)(object.consensus_state) ? _any.Any.fromJSON(object.consensus_state) : undefined,
775
- client_id: (0, _helpers.isSet)(object.client_id) ? String(object.client_id) : "",
776
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
777
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
778
- };
779
- },
780
- toJSON: function toJSON(message) {
781
- var obj = {};
782
- message.consensus_state !== undefined && (obj.consensus_state = message.consensus_state ? _any.Any.toJSON(message.consensus_state) : undefined);
783
- message.client_id !== undefined && (obj.client_id = message.client_id);
784
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
785
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
786
- return obj;
787
- },
788
642
  fromPartial: function fromPartial(object) {
789
- var _object$client_id2, _object$proof4;
643
+ var _object$clientId2, _object$proof4;
790
644
 
791
645
  var message = createBaseQueryConnectionConsensusStateResponse();
792
- message.consensus_state = object.consensus_state !== undefined && object.consensus_state !== null ? _any.Any.fromPartial(object.consensus_state) : undefined;
793
- message.client_id = (_object$client_id2 = object.client_id) !== null && _object$client_id2 !== void 0 ? _object$client_id2 : "";
646
+ message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? _any.Any.fromPartial(object.consensusState) : undefined;
647
+ message.clientId = (_object$clientId2 = object.clientId) !== null && _object$clientId2 !== void 0 ? _object$clientId2 : "";
794
648
  message.proof = (_object$proof4 = object.proof) !== null && _object$proof4 !== void 0 ? _object$proof4 : new Uint8Array();
795
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
649
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
796
650
  return message;
797
651
  }
798
652
  };