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,8 +31,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
31
31
 
32
32
  function createBaseQueryChannelRequest() {
33
33
  return {
34
- port_id: "",
35
- channel_id: ""
34
+ portId: "",
35
+ channelId: ""
36
36
  };
37
37
  }
38
38
 
@@ -40,12 +40,12 @@ var QueryChannelRequest = {
40
40
  encode: function encode(message) {
41
41
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
42
42
 
43
- if (message.port_id !== "") {
44
- writer.uint32(10).string(message.port_id);
43
+ if (message.portId !== "") {
44
+ writer.uint32(10).string(message.portId);
45
45
  }
46
46
 
47
- if (message.channel_id !== "") {
48
- writer.uint32(18).string(message.channel_id);
47
+ if (message.channelId !== "") {
48
+ writer.uint32(18).string(message.channelId);
49
49
  }
50
50
 
51
51
  return writer;
@@ -60,11 +60,11 @@ var QueryChannelRequest = {
60
60
 
61
61
  switch (tag >>> 3) {
62
62
  case 1:
63
- message.port_id = reader.string();
63
+ message.portId = reader.string();
64
64
  break;
65
65
 
66
66
  case 2:
67
- message.channel_id = reader.string();
67
+ message.channelId = reader.string();
68
68
  break;
69
69
 
70
70
  default:
@@ -75,24 +75,12 @@ var QueryChannelRequest = {
75
75
 
76
76
  return message;
77
77
  },
78
- fromJSON: function fromJSON(object) {
79
- return {
80
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
81
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : ""
82
- };
83
- },
84
- toJSON: function toJSON(message) {
85
- var obj = {};
86
- message.port_id !== undefined && (obj.port_id = message.port_id);
87
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
88
- return obj;
89
- },
90
78
  fromPartial: function fromPartial(object) {
91
- var _object$port_id, _object$channel_id;
79
+ var _object$portId, _object$channelId;
92
80
 
93
81
  var message = createBaseQueryChannelRequest();
94
- message.port_id = (_object$port_id = object.port_id) !== null && _object$port_id !== void 0 ? _object$port_id : "";
95
- message.channel_id = (_object$channel_id = object.channel_id) !== null && _object$channel_id !== void 0 ? _object$channel_id : "";
82
+ message.portId = (_object$portId = object.portId) !== null && _object$portId !== void 0 ? _object$portId : "";
83
+ message.channelId = (_object$channelId = object.channelId) !== null && _object$channelId !== void 0 ? _object$channelId : "";
96
84
  return message;
97
85
  }
98
86
  };
@@ -102,7 +90,7 @@ function createBaseQueryChannelResponse() {
102
90
  return {
103
91
  channel: undefined,
104
92
  proof: new Uint8Array(),
105
- proof_height: undefined
93
+ proofHeight: undefined
106
94
  };
107
95
  }
108
96
 
@@ -118,8 +106,8 @@ var QueryChannelResponse = {
118
106
  writer.uint32(18).bytes(message.proof);
119
107
  }
120
108
 
121
- if (message.proof_height !== undefined) {
122
- _client.Height.encode(message.proof_height, writer.uint32(26).fork()).ldelim();
109
+ if (message.proofHeight !== undefined) {
110
+ _client.Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
123
111
  }
124
112
 
125
113
  return writer;
@@ -142,7 +130,7 @@ var QueryChannelResponse = {
142
130
  break;
143
131
 
144
132
  case 3:
145
- message.proof_height = _client.Height.decode(reader, reader.uint32());
133
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
146
134
  break;
147
135
 
148
136
  default:
@@ -153,27 +141,13 @@ var QueryChannelResponse = {
153
141
 
154
142
  return message;
155
143
  },
156
- fromJSON: function fromJSON(object) {
157
- return {
158
- channel: (0, _helpers.isSet)(object.channel) ? _channel.Channel.fromJSON(object.channel) : undefined,
159
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
160
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
161
- };
162
- },
163
- toJSON: function toJSON(message) {
164
- var obj = {};
165
- message.channel !== undefined && (obj.channel = message.channel ? _channel.Channel.toJSON(message.channel) : undefined);
166
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
167
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
168
- return obj;
169
- },
170
144
  fromPartial: function fromPartial(object) {
171
145
  var _object$proof;
172
146
 
173
147
  var message = createBaseQueryChannelResponse();
174
148
  message.channel = object.channel !== undefined && object.channel !== null ? _channel.Channel.fromPartial(object.channel) : undefined;
175
149
  message.proof = (_object$proof = object.proof) !== null && _object$proof !== void 0 ? _object$proof : new Uint8Array();
176
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
150
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
177
151
  return message;
178
152
  }
179
153
  };
@@ -216,16 +190,6 @@ var QueryChannelsRequest = {
216
190
 
217
191
  return message;
218
192
  },
219
- fromJSON: function fromJSON(object) {
220
- return {
221
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined
222
- };
223
- },
224
- toJSON: function toJSON(message) {
225
- var obj = {};
226
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
227
- return obj;
228
- },
229
193
  fromPartial: function fromPartial(object) {
230
194
  var message = createBaseQueryChannelsRequest();
231
195
  message.pagination = object.pagination !== undefined && object.pagination !== null ? _pagination.PageRequest.fromPartial(object.pagination) : undefined;
@@ -300,30 +264,6 @@ var QueryChannelsResponse = {
300
264
 
301
265
  return message;
302
266
  },
303
- fromJSON: function fromJSON(object) {
304
- return {
305
- channels: Array.isArray(object === null || object === void 0 ? void 0 : object.channels) ? object.channels.map(function (e) {
306
- return _channel.IdentifiedChannel.fromJSON(e);
307
- }) : [],
308
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined,
309
- height: (0, _helpers.isSet)(object.height) ? _client.Height.fromJSON(object.height) : undefined
310
- };
311
- },
312
- toJSON: function toJSON(message) {
313
- var obj = {};
314
-
315
- if (message.channels) {
316
- obj.channels = message.channels.map(function (e) {
317
- return e ? _channel.IdentifiedChannel.toJSON(e) : undefined;
318
- });
319
- } else {
320
- obj.channels = [];
321
- }
322
-
323
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
324
- message.height !== undefined && (obj.height = message.height ? _client.Height.toJSON(message.height) : undefined);
325
- return obj;
326
- },
327
267
  fromPartial: function fromPartial(object) {
328
268
  var _object$channels;
329
269
 
@@ -384,18 +324,6 @@ var QueryConnectionChannelsRequest = {
384
324
 
385
325
  return message;
386
326
  },
387
- fromJSON: function fromJSON(object) {
388
- return {
389
- connection: (0, _helpers.isSet)(object.connection) ? String(object.connection) : "",
390
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined
391
- };
392
- },
393
- toJSON: function toJSON(message) {
394
- var obj = {};
395
- message.connection !== undefined && (obj.connection = message.connection);
396
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
397
- return obj;
398
- },
399
327
  fromPartial: function fromPartial(object) {
400
328
  var _object$connection;
401
329
 
@@ -473,30 +401,6 @@ var QueryConnectionChannelsResponse = {
473
401
 
474
402
  return message;
475
403
  },
476
- fromJSON: function fromJSON(object) {
477
- return {
478
- channels: Array.isArray(object === null || object === void 0 ? void 0 : object.channels) ? object.channels.map(function (e) {
479
- return _channel.IdentifiedChannel.fromJSON(e);
480
- }) : [],
481
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined,
482
- height: (0, _helpers.isSet)(object.height) ? _client.Height.fromJSON(object.height) : undefined
483
- };
484
- },
485
- toJSON: function toJSON(message) {
486
- var obj = {};
487
-
488
- if (message.channels) {
489
- obj.channels = message.channels.map(function (e) {
490
- return e ? _channel.IdentifiedChannel.toJSON(e) : undefined;
491
- });
492
- } else {
493
- obj.channels = [];
494
- }
495
-
496
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
497
- message.height !== undefined && (obj.height = message.height ? _client.Height.toJSON(message.height) : undefined);
498
- return obj;
499
- },
500
404
  fromPartial: function fromPartial(object) {
501
405
  var _object$channels2;
502
406
 
@@ -513,8 +417,8 @@ exports.QueryConnectionChannelsResponse = QueryConnectionChannelsResponse;
513
417
 
514
418
  function createBaseQueryChannelClientStateRequest() {
515
419
  return {
516
- port_id: "",
517
- channel_id: ""
420
+ portId: "",
421
+ channelId: ""
518
422
  };
519
423
  }
520
424
 
@@ -522,12 +426,12 @@ var QueryChannelClientStateRequest = {
522
426
  encode: function encode(message) {
523
427
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
524
428
 
525
- if (message.port_id !== "") {
526
- writer.uint32(10).string(message.port_id);
429
+ if (message.portId !== "") {
430
+ writer.uint32(10).string(message.portId);
527
431
  }
528
432
 
529
- if (message.channel_id !== "") {
530
- writer.uint32(18).string(message.channel_id);
433
+ if (message.channelId !== "") {
434
+ writer.uint32(18).string(message.channelId);
531
435
  }
532
436
 
533
437
  return writer;
@@ -542,11 +446,11 @@ var QueryChannelClientStateRequest = {
542
446
 
543
447
  switch (tag >>> 3) {
544
448
  case 1:
545
- message.port_id = reader.string();
449
+ message.portId = reader.string();
546
450
  break;
547
451
 
548
452
  case 2:
549
- message.channel_id = reader.string();
453
+ message.channelId = reader.string();
550
454
  break;
551
455
 
552
456
  default:
@@ -557,24 +461,12 @@ var QueryChannelClientStateRequest = {
557
461
 
558
462
  return message;
559
463
  },
560
- fromJSON: function fromJSON(object) {
561
- return {
562
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
563
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : ""
564
- };
565
- },
566
- toJSON: function toJSON(message) {
567
- var obj = {};
568
- message.port_id !== undefined && (obj.port_id = message.port_id);
569
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
570
- return obj;
571
- },
572
464
  fromPartial: function fromPartial(object) {
573
- var _object$port_id2, _object$channel_id2;
465
+ var _object$portId2, _object$channelId2;
574
466
 
575
467
  var message = createBaseQueryChannelClientStateRequest();
576
- message.port_id = (_object$port_id2 = object.port_id) !== null && _object$port_id2 !== void 0 ? _object$port_id2 : "";
577
- message.channel_id = (_object$channel_id2 = object.channel_id) !== null && _object$channel_id2 !== void 0 ? _object$channel_id2 : "";
468
+ message.portId = (_object$portId2 = object.portId) !== null && _object$portId2 !== void 0 ? _object$portId2 : "";
469
+ message.channelId = (_object$channelId2 = object.channelId) !== null && _object$channelId2 !== void 0 ? _object$channelId2 : "";
578
470
  return message;
579
471
  }
580
472
  };
@@ -582,9 +474,9 @@ exports.QueryChannelClientStateRequest = QueryChannelClientStateRequest;
582
474
 
583
475
  function createBaseQueryChannelClientStateResponse() {
584
476
  return {
585
- identified_client_state: undefined,
477
+ identifiedClientState: undefined,
586
478
  proof: new Uint8Array(),
587
- proof_height: undefined
479
+ proofHeight: undefined
588
480
  };
589
481
  }
590
482
 
@@ -592,16 +484,16 @@ var QueryChannelClientStateResponse = {
592
484
  encode: function encode(message) {
593
485
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
594
486
 
595
- if (message.identified_client_state !== undefined) {
596
- _client.IdentifiedClientState.encode(message.identified_client_state, writer.uint32(10).fork()).ldelim();
487
+ if (message.identifiedClientState !== undefined) {
488
+ _client.IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim();
597
489
  }
598
490
 
599
491
  if (message.proof.length !== 0) {
600
492
  writer.uint32(18).bytes(message.proof);
601
493
  }
602
494
 
603
- if (message.proof_height !== undefined) {
604
- _client.Height.encode(message.proof_height, writer.uint32(26).fork()).ldelim();
495
+ if (message.proofHeight !== undefined) {
496
+ _client.Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
605
497
  }
606
498
 
607
499
  return writer;
@@ -616,7 +508,7 @@ var QueryChannelClientStateResponse = {
616
508
 
617
509
  switch (tag >>> 3) {
618
510
  case 1:
619
- message.identified_client_state = _client.IdentifiedClientState.decode(reader, reader.uint32());
511
+ message.identifiedClientState = _client.IdentifiedClientState.decode(reader, reader.uint32());
620
512
  break;
621
513
 
622
514
  case 2:
@@ -624,7 +516,7 @@ var QueryChannelClientStateResponse = {
624
516
  break;
625
517
 
626
518
  case 3:
627
- message.proof_height = _client.Height.decode(reader, reader.uint32());
519
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
628
520
  break;
629
521
 
630
522
  default:
@@ -635,27 +527,13 @@ var QueryChannelClientStateResponse = {
635
527
 
636
528
  return message;
637
529
  },
638
- fromJSON: function fromJSON(object) {
639
- return {
640
- identified_client_state: (0, _helpers.isSet)(object.identified_client_state) ? _client.IdentifiedClientState.fromJSON(object.identified_client_state) : undefined,
641
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
642
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
643
- };
644
- },
645
- toJSON: function toJSON(message) {
646
- var obj = {};
647
- message.identified_client_state !== undefined && (obj.identified_client_state = message.identified_client_state ? _client.IdentifiedClientState.toJSON(message.identified_client_state) : undefined);
648
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
649
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
650
- return obj;
651
- },
652
530
  fromPartial: function fromPartial(object) {
653
531
  var _object$proof2;
654
532
 
655
533
  var message = createBaseQueryChannelClientStateResponse();
656
- message.identified_client_state = object.identified_client_state !== undefined && object.identified_client_state !== null ? _client.IdentifiedClientState.fromPartial(object.identified_client_state) : undefined;
534
+ message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? _client.IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined;
657
535
  message.proof = (_object$proof2 = object.proof) !== null && _object$proof2 !== void 0 ? _object$proof2 : new Uint8Array();
658
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
536
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
659
537
  return message;
660
538
  }
661
539
  };
@@ -663,10 +541,10 @@ exports.QueryChannelClientStateResponse = QueryChannelClientStateResponse;
663
541
 
664
542
  function createBaseQueryChannelConsensusStateRequest() {
665
543
  return {
666
- port_id: "",
667
- channel_id: "",
668
- revision_number: _helpers.Long.UZERO,
669
- revision_height: _helpers.Long.UZERO
544
+ portId: "",
545
+ channelId: "",
546
+ revisionNumber: _helpers.Long.UZERO,
547
+ revisionHeight: _helpers.Long.UZERO
670
548
  };
671
549
  }
672
550
 
@@ -674,20 +552,20 @@ var QueryChannelConsensusStateRequest = {
674
552
  encode: function encode(message) {
675
553
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
676
554
 
677
- if (message.port_id !== "") {
678
- writer.uint32(10).string(message.port_id);
555
+ if (message.portId !== "") {
556
+ writer.uint32(10).string(message.portId);
679
557
  }
680
558
 
681
- if (message.channel_id !== "") {
682
- writer.uint32(18).string(message.channel_id);
559
+ if (message.channelId !== "") {
560
+ writer.uint32(18).string(message.channelId);
683
561
  }
684
562
 
685
- if (!message.revision_number.isZero()) {
686
- writer.uint32(24).uint64(message.revision_number);
563
+ if (!message.revisionNumber.isZero()) {
564
+ writer.uint32(24).uint64(message.revisionNumber);
687
565
  }
688
566
 
689
- if (!message.revision_height.isZero()) {
690
- writer.uint32(32).uint64(message.revision_height);
567
+ if (!message.revisionHeight.isZero()) {
568
+ writer.uint32(32).uint64(message.revisionHeight);
691
569
  }
692
570
 
693
571
  return writer;
@@ -702,19 +580,19 @@ var QueryChannelConsensusStateRequest = {
702
580
 
703
581
  switch (tag >>> 3) {
704
582
  case 1:
705
- message.port_id = reader.string();
583
+ message.portId = reader.string();
706
584
  break;
707
585
 
708
586
  case 2:
709
- message.channel_id = reader.string();
587
+ message.channelId = reader.string();
710
588
  break;
711
589
 
712
590
  case 3:
713
- message.revision_number = reader.uint64();
591
+ message.revisionNumber = reader.uint64();
714
592
  break;
715
593
 
716
594
  case 4:
717
- message.revision_height = reader.uint64();
595
+ message.revisionHeight = reader.uint64();
718
596
  break;
719
597
 
720
598
  default:
@@ -725,30 +603,14 @@ var QueryChannelConsensusStateRequest = {
725
603
 
726
604
  return message;
727
605
  },
728
- fromJSON: function fromJSON(object) {
729
- return {
730
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
731
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : "",
732
- revision_number: (0, _helpers.isSet)(object.revision_number) ? _helpers.Long.fromString(object.revision_number) : _helpers.Long.UZERO,
733
- revision_height: (0, _helpers.isSet)(object.revision_height) ? _helpers.Long.fromString(object.revision_height) : _helpers.Long.UZERO
734
- };
735
- },
736
- toJSON: function toJSON(message) {
737
- var obj = {};
738
- message.port_id !== undefined && (obj.port_id = message.port_id);
739
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
740
- message.revision_number !== undefined && (obj.revision_number = (message.revision_number || _helpers.Long.UZERO).toString());
741
- message.revision_height !== undefined && (obj.revision_height = (message.revision_height || _helpers.Long.UZERO).toString());
742
- return obj;
743
- },
744
606
  fromPartial: function fromPartial(object) {
745
- var _object$port_id3, _object$channel_id3;
607
+ var _object$portId3, _object$channelId3;
746
608
 
747
609
  var message = createBaseQueryChannelConsensusStateRequest();
748
- message.port_id = (_object$port_id3 = object.port_id) !== null && _object$port_id3 !== void 0 ? _object$port_id3 : "";
749
- message.channel_id = (_object$channel_id3 = object.channel_id) !== null && _object$channel_id3 !== void 0 ? _object$channel_id3 : "";
750
- message.revision_number = object.revision_number !== undefined && object.revision_number !== null ? _helpers.Long.fromValue(object.revision_number) : _helpers.Long.UZERO;
751
- message.revision_height = object.revision_height !== undefined && object.revision_height !== null ? _helpers.Long.fromValue(object.revision_height) : _helpers.Long.UZERO;
610
+ message.portId = (_object$portId3 = object.portId) !== null && _object$portId3 !== void 0 ? _object$portId3 : "";
611
+ message.channelId = (_object$channelId3 = object.channelId) !== null && _object$channelId3 !== void 0 ? _object$channelId3 : "";
612
+ message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? _helpers.Long.fromValue(object.revisionNumber) : _helpers.Long.UZERO;
613
+ message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? _helpers.Long.fromValue(object.revisionHeight) : _helpers.Long.UZERO;
752
614
  return message;
753
615
  }
754
616
  };
@@ -756,10 +618,10 @@ exports.QueryChannelConsensusStateRequest = QueryChannelConsensusStateRequest;
756
618
 
757
619
  function createBaseQueryChannelConsensusStateResponse() {
758
620
  return {
759
- consensus_state: undefined,
760
- client_id: "",
621
+ consensusState: undefined,
622
+ clientId: "",
761
623
  proof: new Uint8Array(),
762
- proof_height: undefined
624
+ proofHeight: undefined
763
625
  };
764
626
  }
765
627
 
@@ -767,20 +629,20 @@ var QueryChannelConsensusStateResponse = {
767
629
  encode: function encode(message) {
768
630
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
769
631
 
770
- if (message.consensus_state !== undefined) {
771
- _any.Any.encode(message.consensus_state, writer.uint32(10).fork()).ldelim();
632
+ if (message.consensusState !== undefined) {
633
+ _any.Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim();
772
634
  }
773
635
 
774
- if (message.client_id !== "") {
775
- writer.uint32(18).string(message.client_id);
636
+ if (message.clientId !== "") {
637
+ writer.uint32(18).string(message.clientId);
776
638
  }
777
639
 
778
640
  if (message.proof.length !== 0) {
779
641
  writer.uint32(26).bytes(message.proof);
780
642
  }
781
643
 
782
- if (message.proof_height !== undefined) {
783
- _client.Height.encode(message.proof_height, writer.uint32(34).fork()).ldelim();
644
+ if (message.proofHeight !== undefined) {
645
+ _client.Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
784
646
  }
785
647
 
786
648
  return writer;
@@ -795,11 +657,11 @@ var QueryChannelConsensusStateResponse = {
795
657
 
796
658
  switch (tag >>> 3) {
797
659
  case 1:
798
- message.consensus_state = _any.Any.decode(reader, reader.uint32());
660
+ message.consensusState = _any.Any.decode(reader, reader.uint32());
799
661
  break;
800
662
 
801
663
  case 2:
802
- message.client_id = reader.string();
664
+ message.clientId = reader.string();
803
665
  break;
804
666
 
805
667
  case 3:
@@ -807,7 +669,7 @@ var QueryChannelConsensusStateResponse = {
807
669
  break;
808
670
 
809
671
  case 4:
810
- message.proof_height = _client.Height.decode(reader, reader.uint32());
672
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
811
673
  break;
812
674
 
813
675
  default:
@@ -818,30 +680,14 @@ var QueryChannelConsensusStateResponse = {
818
680
 
819
681
  return message;
820
682
  },
821
- fromJSON: function fromJSON(object) {
822
- return {
823
- consensus_state: (0, _helpers.isSet)(object.consensus_state) ? _any.Any.fromJSON(object.consensus_state) : undefined,
824
- client_id: (0, _helpers.isSet)(object.client_id) ? String(object.client_id) : "",
825
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
826
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
827
- };
828
- },
829
- toJSON: function toJSON(message) {
830
- var obj = {};
831
- message.consensus_state !== undefined && (obj.consensus_state = message.consensus_state ? _any.Any.toJSON(message.consensus_state) : undefined);
832
- message.client_id !== undefined && (obj.client_id = message.client_id);
833
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
834
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
835
- return obj;
836
- },
837
683
  fromPartial: function fromPartial(object) {
838
- var _object$client_id, _object$proof3;
684
+ var _object$clientId, _object$proof3;
839
685
 
840
686
  var message = createBaseQueryChannelConsensusStateResponse();
841
- message.consensus_state = object.consensus_state !== undefined && object.consensus_state !== null ? _any.Any.fromPartial(object.consensus_state) : undefined;
842
- message.client_id = (_object$client_id = object.client_id) !== null && _object$client_id !== void 0 ? _object$client_id : "";
687
+ message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? _any.Any.fromPartial(object.consensusState) : undefined;
688
+ message.clientId = (_object$clientId = object.clientId) !== null && _object$clientId !== void 0 ? _object$clientId : "";
843
689
  message.proof = (_object$proof3 = object.proof) !== null && _object$proof3 !== void 0 ? _object$proof3 : new Uint8Array();
844
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
690
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
845
691
  return message;
846
692
  }
847
693
  };
@@ -849,8 +695,8 @@ exports.QueryChannelConsensusStateResponse = QueryChannelConsensusStateResponse;
849
695
 
850
696
  function createBaseQueryPacketCommitmentRequest() {
851
697
  return {
852
- port_id: "",
853
- channel_id: "",
698
+ portId: "",
699
+ channelId: "",
854
700
  sequence: _helpers.Long.UZERO
855
701
  };
856
702
  }
@@ -859,12 +705,12 @@ var QueryPacketCommitmentRequest = {
859
705
  encode: function encode(message) {
860
706
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
861
707
 
862
- if (message.port_id !== "") {
863
- writer.uint32(10).string(message.port_id);
708
+ if (message.portId !== "") {
709
+ writer.uint32(10).string(message.portId);
864
710
  }
865
711
 
866
- if (message.channel_id !== "") {
867
- writer.uint32(18).string(message.channel_id);
712
+ if (message.channelId !== "") {
713
+ writer.uint32(18).string(message.channelId);
868
714
  }
869
715
 
870
716
  if (!message.sequence.isZero()) {
@@ -883,11 +729,11 @@ var QueryPacketCommitmentRequest = {
883
729
 
884
730
  switch (tag >>> 3) {
885
731
  case 1:
886
- message.port_id = reader.string();
732
+ message.portId = reader.string();
887
733
  break;
888
734
 
889
735
  case 2:
890
- message.channel_id = reader.string();
736
+ message.channelId = reader.string();
891
737
  break;
892
738
 
893
739
  case 3:
@@ -902,26 +748,12 @@ var QueryPacketCommitmentRequest = {
902
748
 
903
749
  return message;
904
750
  },
905
- fromJSON: function fromJSON(object) {
906
- return {
907
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
908
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : "",
909
- sequence: (0, _helpers.isSet)(object.sequence) ? _helpers.Long.fromString(object.sequence) : _helpers.Long.UZERO
910
- };
911
- },
912
- toJSON: function toJSON(message) {
913
- var obj = {};
914
- message.port_id !== undefined && (obj.port_id = message.port_id);
915
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
916
- message.sequence !== undefined && (obj.sequence = (message.sequence || _helpers.Long.UZERO).toString());
917
- return obj;
918
- },
919
751
  fromPartial: function fromPartial(object) {
920
- var _object$port_id4, _object$channel_id4;
752
+ var _object$portId4, _object$channelId4;
921
753
 
922
754
  var message = createBaseQueryPacketCommitmentRequest();
923
- message.port_id = (_object$port_id4 = object.port_id) !== null && _object$port_id4 !== void 0 ? _object$port_id4 : "";
924
- message.channel_id = (_object$channel_id4 = object.channel_id) !== null && _object$channel_id4 !== void 0 ? _object$channel_id4 : "";
755
+ message.portId = (_object$portId4 = object.portId) !== null && _object$portId4 !== void 0 ? _object$portId4 : "";
756
+ message.channelId = (_object$channelId4 = object.channelId) !== null && _object$channelId4 !== void 0 ? _object$channelId4 : "";
925
757
  message.sequence = object.sequence !== undefined && object.sequence !== null ? _helpers.Long.fromValue(object.sequence) : _helpers.Long.UZERO;
926
758
  return message;
927
759
  }
@@ -932,7 +764,7 @@ function createBaseQueryPacketCommitmentResponse() {
932
764
  return {
933
765
  commitment: new Uint8Array(),
934
766
  proof: new Uint8Array(),
935
- proof_height: undefined
767
+ proofHeight: undefined
936
768
  };
937
769
  }
938
770
 
@@ -948,8 +780,8 @@ var QueryPacketCommitmentResponse = {
948
780
  writer.uint32(18).bytes(message.proof);
949
781
  }
950
782
 
951
- if (message.proof_height !== undefined) {
952
- _client.Height.encode(message.proof_height, writer.uint32(26).fork()).ldelim();
783
+ if (message.proofHeight !== undefined) {
784
+ _client.Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
953
785
  }
954
786
 
955
787
  return writer;
@@ -972,7 +804,7 @@ var QueryPacketCommitmentResponse = {
972
804
  break;
973
805
 
974
806
  case 3:
975
- message.proof_height = _client.Height.decode(reader, reader.uint32());
807
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
976
808
  break;
977
809
 
978
810
  default:
@@ -983,27 +815,13 @@ var QueryPacketCommitmentResponse = {
983
815
 
984
816
  return message;
985
817
  },
986
- fromJSON: function fromJSON(object) {
987
- return {
988
- commitment: (0, _helpers.isSet)(object.commitment) ? (0, _helpers.bytesFromBase64)(object.commitment) : new Uint8Array(),
989
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
990
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
991
- };
992
- },
993
- toJSON: function toJSON(message) {
994
- var obj = {};
995
- message.commitment !== undefined && (obj.commitment = (0, _helpers.base64FromBytes)(message.commitment !== undefined ? message.commitment : new Uint8Array()));
996
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
997
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
998
- return obj;
999
- },
1000
818
  fromPartial: function fromPartial(object) {
1001
819
  var _object$commitment, _object$proof4;
1002
820
 
1003
821
  var message = createBaseQueryPacketCommitmentResponse();
1004
822
  message.commitment = (_object$commitment = object.commitment) !== null && _object$commitment !== void 0 ? _object$commitment : new Uint8Array();
1005
823
  message.proof = (_object$proof4 = object.proof) !== null && _object$proof4 !== void 0 ? _object$proof4 : new Uint8Array();
1006
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
824
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
1007
825
  return message;
1008
826
  }
1009
827
  };
@@ -1011,8 +829,8 @@ exports.QueryPacketCommitmentResponse = QueryPacketCommitmentResponse;
1011
829
 
1012
830
  function createBaseQueryPacketCommitmentsRequest() {
1013
831
  return {
1014
- port_id: "",
1015
- channel_id: "",
832
+ portId: "",
833
+ channelId: "",
1016
834
  pagination: undefined
1017
835
  };
1018
836
  }
@@ -1021,12 +839,12 @@ var QueryPacketCommitmentsRequest = {
1021
839
  encode: function encode(message) {
1022
840
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
1023
841
 
1024
- if (message.port_id !== "") {
1025
- writer.uint32(10).string(message.port_id);
842
+ if (message.portId !== "") {
843
+ writer.uint32(10).string(message.portId);
1026
844
  }
1027
845
 
1028
- if (message.channel_id !== "") {
1029
- writer.uint32(18).string(message.channel_id);
846
+ if (message.channelId !== "") {
847
+ writer.uint32(18).string(message.channelId);
1030
848
  }
1031
849
 
1032
850
  if (message.pagination !== undefined) {
@@ -1045,11 +863,11 @@ var QueryPacketCommitmentsRequest = {
1045
863
 
1046
864
  switch (tag >>> 3) {
1047
865
  case 1:
1048
- message.port_id = reader.string();
866
+ message.portId = reader.string();
1049
867
  break;
1050
868
 
1051
869
  case 2:
1052
- message.channel_id = reader.string();
870
+ message.channelId = reader.string();
1053
871
  break;
1054
872
 
1055
873
  case 3:
@@ -1064,26 +882,12 @@ var QueryPacketCommitmentsRequest = {
1064
882
 
1065
883
  return message;
1066
884
  },
1067
- fromJSON: function fromJSON(object) {
1068
- return {
1069
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
1070
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : "",
1071
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined
1072
- };
1073
- },
1074
- toJSON: function toJSON(message) {
1075
- var obj = {};
1076
- message.port_id !== undefined && (obj.port_id = message.port_id);
1077
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
1078
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
1079
- return obj;
1080
- },
1081
885
  fromPartial: function fromPartial(object) {
1082
- var _object$port_id5, _object$channel_id5;
886
+ var _object$portId5, _object$channelId5;
1083
887
 
1084
888
  var message = createBaseQueryPacketCommitmentsRequest();
1085
- message.port_id = (_object$port_id5 = object.port_id) !== null && _object$port_id5 !== void 0 ? _object$port_id5 : "";
1086
- message.channel_id = (_object$channel_id5 = object.channel_id) !== null && _object$channel_id5 !== void 0 ? _object$channel_id5 : "";
889
+ message.portId = (_object$portId5 = object.portId) !== null && _object$portId5 !== void 0 ? _object$portId5 : "";
890
+ message.channelId = (_object$channelId5 = object.channelId) !== null && _object$channelId5 !== void 0 ? _object$channelId5 : "";
1087
891
  message.pagination = object.pagination !== undefined && object.pagination !== null ? _pagination.PageRequest.fromPartial(object.pagination) : undefined;
1088
892
  return message;
1089
893
  }
@@ -1156,30 +960,6 @@ var QueryPacketCommitmentsResponse = {
1156
960
 
1157
961
  return message;
1158
962
  },
1159
- fromJSON: function fromJSON(object) {
1160
- return {
1161
- commitments: Array.isArray(object === null || object === void 0 ? void 0 : object.commitments) ? object.commitments.map(function (e) {
1162
- return _channel.PacketState.fromJSON(e);
1163
- }) : [],
1164
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined,
1165
- height: (0, _helpers.isSet)(object.height) ? _client.Height.fromJSON(object.height) : undefined
1166
- };
1167
- },
1168
- toJSON: function toJSON(message) {
1169
- var obj = {};
1170
-
1171
- if (message.commitments) {
1172
- obj.commitments = message.commitments.map(function (e) {
1173
- return e ? _channel.PacketState.toJSON(e) : undefined;
1174
- });
1175
- } else {
1176
- obj.commitments = [];
1177
- }
1178
-
1179
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
1180
- message.height !== undefined && (obj.height = message.height ? _client.Height.toJSON(message.height) : undefined);
1181
- return obj;
1182
- },
1183
963
  fromPartial: function fromPartial(object) {
1184
964
  var _object$commitments;
1185
965
 
@@ -1196,8 +976,8 @@ exports.QueryPacketCommitmentsResponse = QueryPacketCommitmentsResponse;
1196
976
 
1197
977
  function createBaseQueryPacketReceiptRequest() {
1198
978
  return {
1199
- port_id: "",
1200
- channel_id: "",
979
+ portId: "",
980
+ channelId: "",
1201
981
  sequence: _helpers.Long.UZERO
1202
982
  };
1203
983
  }
@@ -1206,12 +986,12 @@ var QueryPacketReceiptRequest = {
1206
986
  encode: function encode(message) {
1207
987
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
1208
988
 
1209
- if (message.port_id !== "") {
1210
- writer.uint32(10).string(message.port_id);
989
+ if (message.portId !== "") {
990
+ writer.uint32(10).string(message.portId);
1211
991
  }
1212
992
 
1213
- if (message.channel_id !== "") {
1214
- writer.uint32(18).string(message.channel_id);
993
+ if (message.channelId !== "") {
994
+ writer.uint32(18).string(message.channelId);
1215
995
  }
1216
996
 
1217
997
  if (!message.sequence.isZero()) {
@@ -1230,11 +1010,11 @@ var QueryPacketReceiptRequest = {
1230
1010
 
1231
1011
  switch (tag >>> 3) {
1232
1012
  case 1:
1233
- message.port_id = reader.string();
1013
+ message.portId = reader.string();
1234
1014
  break;
1235
1015
 
1236
1016
  case 2:
1237
- message.channel_id = reader.string();
1017
+ message.channelId = reader.string();
1238
1018
  break;
1239
1019
 
1240
1020
  case 3:
@@ -1249,26 +1029,12 @@ var QueryPacketReceiptRequest = {
1249
1029
 
1250
1030
  return message;
1251
1031
  },
1252
- fromJSON: function fromJSON(object) {
1253
- return {
1254
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
1255
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : "",
1256
- sequence: (0, _helpers.isSet)(object.sequence) ? _helpers.Long.fromString(object.sequence) : _helpers.Long.UZERO
1257
- };
1258
- },
1259
- toJSON: function toJSON(message) {
1260
- var obj = {};
1261
- message.port_id !== undefined && (obj.port_id = message.port_id);
1262
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
1263
- message.sequence !== undefined && (obj.sequence = (message.sequence || _helpers.Long.UZERO).toString());
1264
- return obj;
1265
- },
1266
1032
  fromPartial: function fromPartial(object) {
1267
- var _object$port_id6, _object$channel_id6;
1033
+ var _object$portId6, _object$channelId6;
1268
1034
 
1269
1035
  var message = createBaseQueryPacketReceiptRequest();
1270
- message.port_id = (_object$port_id6 = object.port_id) !== null && _object$port_id6 !== void 0 ? _object$port_id6 : "";
1271
- message.channel_id = (_object$channel_id6 = object.channel_id) !== null && _object$channel_id6 !== void 0 ? _object$channel_id6 : "";
1036
+ message.portId = (_object$portId6 = object.portId) !== null && _object$portId6 !== void 0 ? _object$portId6 : "";
1037
+ message.channelId = (_object$channelId6 = object.channelId) !== null && _object$channelId6 !== void 0 ? _object$channelId6 : "";
1272
1038
  message.sequence = object.sequence !== undefined && object.sequence !== null ? _helpers.Long.fromValue(object.sequence) : _helpers.Long.UZERO;
1273
1039
  return message;
1274
1040
  }
@@ -1279,7 +1045,7 @@ function createBaseQueryPacketReceiptResponse() {
1279
1045
  return {
1280
1046
  received: false,
1281
1047
  proof: new Uint8Array(),
1282
- proof_height: undefined
1048
+ proofHeight: undefined
1283
1049
  };
1284
1050
  }
1285
1051
 
@@ -1295,8 +1061,8 @@ var QueryPacketReceiptResponse = {
1295
1061
  writer.uint32(26).bytes(message.proof);
1296
1062
  }
1297
1063
 
1298
- if (message.proof_height !== undefined) {
1299
- _client.Height.encode(message.proof_height, writer.uint32(34).fork()).ldelim();
1064
+ if (message.proofHeight !== undefined) {
1065
+ _client.Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
1300
1066
  }
1301
1067
 
1302
1068
  return writer;
@@ -1319,7 +1085,7 @@ var QueryPacketReceiptResponse = {
1319
1085
  break;
1320
1086
 
1321
1087
  case 4:
1322
- message.proof_height = _client.Height.decode(reader, reader.uint32());
1088
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
1323
1089
  break;
1324
1090
 
1325
1091
  default:
@@ -1330,27 +1096,13 @@ var QueryPacketReceiptResponse = {
1330
1096
 
1331
1097
  return message;
1332
1098
  },
1333
- fromJSON: function fromJSON(object) {
1334
- return {
1335
- received: (0, _helpers.isSet)(object.received) ? Boolean(object.received) : false,
1336
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
1337
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
1338
- };
1339
- },
1340
- toJSON: function toJSON(message) {
1341
- var obj = {};
1342
- message.received !== undefined && (obj.received = message.received);
1343
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
1344
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
1345
- return obj;
1346
- },
1347
1099
  fromPartial: function fromPartial(object) {
1348
1100
  var _object$received, _object$proof5;
1349
1101
 
1350
1102
  var message = createBaseQueryPacketReceiptResponse();
1351
1103
  message.received = (_object$received = object.received) !== null && _object$received !== void 0 ? _object$received : false;
1352
1104
  message.proof = (_object$proof5 = object.proof) !== null && _object$proof5 !== void 0 ? _object$proof5 : new Uint8Array();
1353
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
1105
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
1354
1106
  return message;
1355
1107
  }
1356
1108
  };
@@ -1358,8 +1110,8 @@ exports.QueryPacketReceiptResponse = QueryPacketReceiptResponse;
1358
1110
 
1359
1111
  function createBaseQueryPacketAcknowledgementRequest() {
1360
1112
  return {
1361
- port_id: "",
1362
- channel_id: "",
1113
+ portId: "",
1114
+ channelId: "",
1363
1115
  sequence: _helpers.Long.UZERO
1364
1116
  };
1365
1117
  }
@@ -1368,12 +1120,12 @@ var QueryPacketAcknowledgementRequest = {
1368
1120
  encode: function encode(message) {
1369
1121
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
1370
1122
 
1371
- if (message.port_id !== "") {
1372
- writer.uint32(10).string(message.port_id);
1123
+ if (message.portId !== "") {
1124
+ writer.uint32(10).string(message.portId);
1373
1125
  }
1374
1126
 
1375
- if (message.channel_id !== "") {
1376
- writer.uint32(18).string(message.channel_id);
1127
+ if (message.channelId !== "") {
1128
+ writer.uint32(18).string(message.channelId);
1377
1129
  }
1378
1130
 
1379
1131
  if (!message.sequence.isZero()) {
@@ -1392,11 +1144,11 @@ var QueryPacketAcknowledgementRequest = {
1392
1144
 
1393
1145
  switch (tag >>> 3) {
1394
1146
  case 1:
1395
- message.port_id = reader.string();
1147
+ message.portId = reader.string();
1396
1148
  break;
1397
1149
 
1398
1150
  case 2:
1399
- message.channel_id = reader.string();
1151
+ message.channelId = reader.string();
1400
1152
  break;
1401
1153
 
1402
1154
  case 3:
@@ -1411,26 +1163,12 @@ var QueryPacketAcknowledgementRequest = {
1411
1163
 
1412
1164
  return message;
1413
1165
  },
1414
- fromJSON: function fromJSON(object) {
1415
- return {
1416
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
1417
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : "",
1418
- sequence: (0, _helpers.isSet)(object.sequence) ? _helpers.Long.fromString(object.sequence) : _helpers.Long.UZERO
1419
- };
1420
- },
1421
- toJSON: function toJSON(message) {
1422
- var obj = {};
1423
- message.port_id !== undefined && (obj.port_id = message.port_id);
1424
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
1425
- message.sequence !== undefined && (obj.sequence = (message.sequence || _helpers.Long.UZERO).toString());
1426
- return obj;
1427
- },
1428
1166
  fromPartial: function fromPartial(object) {
1429
- var _object$port_id7, _object$channel_id7;
1167
+ var _object$portId7, _object$channelId7;
1430
1168
 
1431
1169
  var message = createBaseQueryPacketAcknowledgementRequest();
1432
- message.port_id = (_object$port_id7 = object.port_id) !== null && _object$port_id7 !== void 0 ? _object$port_id7 : "";
1433
- message.channel_id = (_object$channel_id7 = object.channel_id) !== null && _object$channel_id7 !== void 0 ? _object$channel_id7 : "";
1170
+ message.portId = (_object$portId7 = object.portId) !== null && _object$portId7 !== void 0 ? _object$portId7 : "";
1171
+ message.channelId = (_object$channelId7 = object.channelId) !== null && _object$channelId7 !== void 0 ? _object$channelId7 : "";
1434
1172
  message.sequence = object.sequence !== undefined && object.sequence !== null ? _helpers.Long.fromValue(object.sequence) : _helpers.Long.UZERO;
1435
1173
  return message;
1436
1174
  }
@@ -1441,7 +1179,7 @@ function createBaseQueryPacketAcknowledgementResponse() {
1441
1179
  return {
1442
1180
  acknowledgement: new Uint8Array(),
1443
1181
  proof: new Uint8Array(),
1444
- proof_height: undefined
1182
+ proofHeight: undefined
1445
1183
  };
1446
1184
  }
1447
1185
 
@@ -1457,8 +1195,8 @@ var QueryPacketAcknowledgementResponse = {
1457
1195
  writer.uint32(18).bytes(message.proof);
1458
1196
  }
1459
1197
 
1460
- if (message.proof_height !== undefined) {
1461
- _client.Height.encode(message.proof_height, writer.uint32(26).fork()).ldelim();
1198
+ if (message.proofHeight !== undefined) {
1199
+ _client.Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
1462
1200
  }
1463
1201
 
1464
1202
  return writer;
@@ -1481,7 +1219,7 @@ var QueryPacketAcknowledgementResponse = {
1481
1219
  break;
1482
1220
 
1483
1221
  case 3:
1484
- message.proof_height = _client.Height.decode(reader, reader.uint32());
1222
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
1485
1223
  break;
1486
1224
 
1487
1225
  default:
@@ -1492,27 +1230,13 @@ var QueryPacketAcknowledgementResponse = {
1492
1230
 
1493
1231
  return message;
1494
1232
  },
1495
- fromJSON: function fromJSON(object) {
1496
- return {
1497
- acknowledgement: (0, _helpers.isSet)(object.acknowledgement) ? (0, _helpers.bytesFromBase64)(object.acknowledgement) : new Uint8Array(),
1498
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
1499
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
1500
- };
1501
- },
1502
- toJSON: function toJSON(message) {
1503
- var obj = {};
1504
- message.acknowledgement !== undefined && (obj.acknowledgement = (0, _helpers.base64FromBytes)(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array()));
1505
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
1506
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
1507
- return obj;
1508
- },
1509
1233
  fromPartial: function fromPartial(object) {
1510
1234
  var _object$acknowledgeme, _object$proof6;
1511
1235
 
1512
1236
  var message = createBaseQueryPacketAcknowledgementResponse();
1513
1237
  message.acknowledgement = (_object$acknowledgeme = object.acknowledgement) !== null && _object$acknowledgeme !== void 0 ? _object$acknowledgeme : new Uint8Array();
1514
1238
  message.proof = (_object$proof6 = object.proof) !== null && _object$proof6 !== void 0 ? _object$proof6 : new Uint8Array();
1515
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
1239
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
1516
1240
  return message;
1517
1241
  }
1518
1242
  };
@@ -1520,10 +1244,10 @@ exports.QueryPacketAcknowledgementResponse = QueryPacketAcknowledgementResponse;
1520
1244
 
1521
1245
  function createBaseQueryPacketAcknowledgementsRequest() {
1522
1246
  return {
1523
- port_id: "",
1524
- channel_id: "",
1247
+ portId: "",
1248
+ channelId: "",
1525
1249
  pagination: undefined,
1526
- packet_commitment_sequences: []
1250
+ packetCommitmentSequences: []
1527
1251
  };
1528
1252
  }
1529
1253
 
@@ -1531,12 +1255,12 @@ var QueryPacketAcknowledgementsRequest = {
1531
1255
  encode: function encode(message) {
1532
1256
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
1533
1257
 
1534
- if (message.port_id !== "") {
1535
- writer.uint32(10).string(message.port_id);
1258
+ if (message.portId !== "") {
1259
+ writer.uint32(10).string(message.portId);
1536
1260
  }
1537
1261
 
1538
- if (message.channel_id !== "") {
1539
- writer.uint32(18).string(message.channel_id);
1262
+ if (message.channelId !== "") {
1263
+ writer.uint32(18).string(message.channelId);
1540
1264
  }
1541
1265
 
1542
1266
  if (message.pagination !== undefined) {
@@ -1545,7 +1269,7 @@ var QueryPacketAcknowledgementsRequest = {
1545
1269
 
1546
1270
  writer.uint32(34).fork();
1547
1271
 
1548
- var _iterator4 = _createForOfIteratorHelper(message.packet_commitment_sequences),
1272
+ var _iterator4 = _createForOfIteratorHelper(message.packetCommitmentSequences),
1549
1273
  _step4;
1550
1274
 
1551
1275
  try {
@@ -1572,11 +1296,11 @@ var QueryPacketAcknowledgementsRequest = {
1572
1296
 
1573
1297
  switch (tag >>> 3) {
1574
1298
  case 1:
1575
- message.port_id = reader.string();
1299
+ message.portId = reader.string();
1576
1300
  break;
1577
1301
 
1578
1302
  case 2:
1579
- message.channel_id = reader.string();
1303
+ message.channelId = reader.string();
1580
1304
  break;
1581
1305
 
1582
1306
  case 3:
@@ -1588,10 +1312,10 @@ var QueryPacketAcknowledgementsRequest = {
1588
1312
  var end2 = reader.uint32() + reader.pos;
1589
1313
 
1590
1314
  while (reader.pos < end2) {
1591
- message.packet_commitment_sequences.push(reader.uint64());
1315
+ message.packetCommitmentSequences.push(reader.uint64());
1592
1316
  }
1593
1317
  } else {
1594
- message.packet_commitment_sequences.push(reader.uint64());
1318
+ message.packetCommitmentSequences.push(reader.uint64());
1595
1319
  }
1596
1320
 
1597
1321
  break;
@@ -1604,40 +1328,14 @@ var QueryPacketAcknowledgementsRequest = {
1604
1328
 
1605
1329
  return message;
1606
1330
  },
1607
- fromJSON: function fromJSON(object) {
1608
- return {
1609
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
1610
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : "",
1611
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined,
1612
- packet_commitment_sequences: Array.isArray(object === null || object === void 0 ? void 0 : object.packet_commitment_sequences) ? object.packet_commitment_sequences.map(function (e) {
1613
- return _helpers.Long.fromString(e);
1614
- }) : []
1615
- };
1616
- },
1617
- toJSON: function toJSON(message) {
1618
- var obj = {};
1619
- message.port_id !== undefined && (obj.port_id = message.port_id);
1620
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
1621
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
1622
-
1623
- if (message.packet_commitment_sequences) {
1624
- obj.packet_commitment_sequences = message.packet_commitment_sequences.map(function (e) {
1625
- return (e || _helpers.Long.UZERO).toString();
1626
- });
1627
- } else {
1628
- obj.packet_commitment_sequences = [];
1629
- }
1630
-
1631
- return obj;
1632
- },
1633
1331
  fromPartial: function fromPartial(object) {
1634
- var _object$port_id8, _object$channel_id8, _object$packet_commit;
1332
+ var _object$portId8, _object$channelId8, _object$packetCommitm;
1635
1333
 
1636
1334
  var message = createBaseQueryPacketAcknowledgementsRequest();
1637
- message.port_id = (_object$port_id8 = object.port_id) !== null && _object$port_id8 !== void 0 ? _object$port_id8 : "";
1638
- message.channel_id = (_object$channel_id8 = object.channel_id) !== null && _object$channel_id8 !== void 0 ? _object$channel_id8 : "";
1335
+ message.portId = (_object$portId8 = object.portId) !== null && _object$portId8 !== void 0 ? _object$portId8 : "";
1336
+ message.channelId = (_object$channelId8 = object.channelId) !== null && _object$channelId8 !== void 0 ? _object$channelId8 : "";
1639
1337
  message.pagination = object.pagination !== undefined && object.pagination !== null ? _pagination.PageRequest.fromPartial(object.pagination) : undefined;
1640
- message.packet_commitment_sequences = ((_object$packet_commit = object.packet_commitment_sequences) === null || _object$packet_commit === void 0 ? void 0 : _object$packet_commit.map(function (e) {
1338
+ message.packetCommitmentSequences = ((_object$packetCommitm = object.packetCommitmentSequences) === null || _object$packetCommitm === void 0 ? void 0 : _object$packetCommitm.map(function (e) {
1641
1339
  return _helpers.Long.fromValue(e);
1642
1340
  })) || [];
1643
1341
  return message;
@@ -1711,30 +1409,6 @@ var QueryPacketAcknowledgementsResponse = {
1711
1409
 
1712
1410
  return message;
1713
1411
  },
1714
- fromJSON: function fromJSON(object) {
1715
- return {
1716
- acknowledgements: Array.isArray(object === null || object === void 0 ? void 0 : object.acknowledgements) ? object.acknowledgements.map(function (e) {
1717
- return _channel.PacketState.fromJSON(e);
1718
- }) : [],
1719
- pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined,
1720
- height: (0, _helpers.isSet)(object.height) ? _client.Height.fromJSON(object.height) : undefined
1721
- };
1722
- },
1723
- toJSON: function toJSON(message) {
1724
- var obj = {};
1725
-
1726
- if (message.acknowledgements) {
1727
- obj.acknowledgements = message.acknowledgements.map(function (e) {
1728
- return e ? _channel.PacketState.toJSON(e) : undefined;
1729
- });
1730
- } else {
1731
- obj.acknowledgements = [];
1732
- }
1733
-
1734
- message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
1735
- message.height !== undefined && (obj.height = message.height ? _client.Height.toJSON(message.height) : undefined);
1736
- return obj;
1737
- },
1738
1412
  fromPartial: function fromPartial(object) {
1739
1413
  var _object$acknowledgeme2;
1740
1414
 
@@ -1751,9 +1425,9 @@ exports.QueryPacketAcknowledgementsResponse = QueryPacketAcknowledgementsRespons
1751
1425
 
1752
1426
  function createBaseQueryUnreceivedPacketsRequest() {
1753
1427
  return {
1754
- port_id: "",
1755
- channel_id: "",
1756
- packet_commitment_sequences: []
1428
+ portId: "",
1429
+ channelId: "",
1430
+ packetCommitmentSequences: []
1757
1431
  };
1758
1432
  }
1759
1433
 
@@ -1761,17 +1435,17 @@ var QueryUnreceivedPacketsRequest = {
1761
1435
  encode: function encode(message) {
1762
1436
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
1763
1437
 
1764
- if (message.port_id !== "") {
1765
- writer.uint32(10).string(message.port_id);
1438
+ if (message.portId !== "") {
1439
+ writer.uint32(10).string(message.portId);
1766
1440
  }
1767
1441
 
1768
- if (message.channel_id !== "") {
1769
- writer.uint32(18).string(message.channel_id);
1442
+ if (message.channelId !== "") {
1443
+ writer.uint32(18).string(message.channelId);
1770
1444
  }
1771
1445
 
1772
1446
  writer.uint32(26).fork();
1773
1447
 
1774
- var _iterator6 = _createForOfIteratorHelper(message.packet_commitment_sequences),
1448
+ var _iterator6 = _createForOfIteratorHelper(message.packetCommitmentSequences),
1775
1449
  _step6;
1776
1450
 
1777
1451
  try {
@@ -1798,11 +1472,11 @@ var QueryUnreceivedPacketsRequest = {
1798
1472
 
1799
1473
  switch (tag >>> 3) {
1800
1474
  case 1:
1801
- message.port_id = reader.string();
1475
+ message.portId = reader.string();
1802
1476
  break;
1803
1477
 
1804
1478
  case 2:
1805
- message.channel_id = reader.string();
1479
+ message.channelId = reader.string();
1806
1480
  break;
1807
1481
 
1808
1482
  case 3:
@@ -1810,10 +1484,10 @@ var QueryUnreceivedPacketsRequest = {
1810
1484
  var end2 = reader.uint32() + reader.pos;
1811
1485
 
1812
1486
  while (reader.pos < end2) {
1813
- message.packet_commitment_sequences.push(reader.uint64());
1487
+ message.packetCommitmentSequences.push(reader.uint64());
1814
1488
  }
1815
1489
  } else {
1816
- message.packet_commitment_sequences.push(reader.uint64());
1490
+ message.packetCommitmentSequences.push(reader.uint64());
1817
1491
  }
1818
1492
 
1819
1493
  break;
@@ -1826,37 +1500,13 @@ var QueryUnreceivedPacketsRequest = {
1826
1500
 
1827
1501
  return message;
1828
1502
  },
1829
- fromJSON: function fromJSON(object) {
1830
- return {
1831
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
1832
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : "",
1833
- packet_commitment_sequences: Array.isArray(object === null || object === void 0 ? void 0 : object.packet_commitment_sequences) ? object.packet_commitment_sequences.map(function (e) {
1834
- return _helpers.Long.fromString(e);
1835
- }) : []
1836
- };
1837
- },
1838
- toJSON: function toJSON(message) {
1839
- var obj = {};
1840
- message.port_id !== undefined && (obj.port_id = message.port_id);
1841
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
1842
-
1843
- if (message.packet_commitment_sequences) {
1844
- obj.packet_commitment_sequences = message.packet_commitment_sequences.map(function (e) {
1845
- return (e || _helpers.Long.UZERO).toString();
1846
- });
1847
- } else {
1848
- obj.packet_commitment_sequences = [];
1849
- }
1850
-
1851
- return obj;
1852
- },
1853
1503
  fromPartial: function fromPartial(object) {
1854
- var _object$port_id9, _object$channel_id9, _object$packet_commit2;
1504
+ var _object$portId9, _object$channelId9, _object$packetCommitm2;
1855
1505
 
1856
1506
  var message = createBaseQueryUnreceivedPacketsRequest();
1857
- message.port_id = (_object$port_id9 = object.port_id) !== null && _object$port_id9 !== void 0 ? _object$port_id9 : "";
1858
- message.channel_id = (_object$channel_id9 = object.channel_id) !== null && _object$channel_id9 !== void 0 ? _object$channel_id9 : "";
1859
- message.packet_commitment_sequences = ((_object$packet_commit2 = object.packet_commitment_sequences) === null || _object$packet_commit2 === void 0 ? void 0 : _object$packet_commit2.map(function (e) {
1507
+ message.portId = (_object$portId9 = object.portId) !== null && _object$portId9 !== void 0 ? _object$portId9 : "";
1508
+ message.channelId = (_object$channelId9 = object.channelId) !== null && _object$channelId9 !== void 0 ? _object$channelId9 : "";
1509
+ message.packetCommitmentSequences = ((_object$packetCommitm2 = object.packetCommitmentSequences) === null || _object$packetCommitm2 === void 0 ? void 0 : _object$packetCommitm2.map(function (e) {
1860
1510
  return _helpers.Long.fromValue(e);
1861
1511
  })) || [];
1862
1512
  return message;
@@ -1932,28 +1582,6 @@ var QueryUnreceivedPacketsResponse = {
1932
1582
 
1933
1583
  return message;
1934
1584
  },
1935
- fromJSON: function fromJSON(object) {
1936
- return {
1937
- sequences: Array.isArray(object === null || object === void 0 ? void 0 : object.sequences) ? object.sequences.map(function (e) {
1938
- return _helpers.Long.fromString(e);
1939
- }) : [],
1940
- height: (0, _helpers.isSet)(object.height) ? _client.Height.fromJSON(object.height) : undefined
1941
- };
1942
- },
1943
- toJSON: function toJSON(message) {
1944
- var obj = {};
1945
-
1946
- if (message.sequences) {
1947
- obj.sequences = message.sequences.map(function (e) {
1948
- return (e || _helpers.Long.UZERO).toString();
1949
- });
1950
- } else {
1951
- obj.sequences = [];
1952
- }
1953
-
1954
- message.height !== undefined && (obj.height = message.height ? _client.Height.toJSON(message.height) : undefined);
1955
- return obj;
1956
- },
1957
1585
  fromPartial: function fromPartial(object) {
1958
1586
  var _object$sequences;
1959
1587
 
@@ -1969,9 +1597,9 @@ exports.QueryUnreceivedPacketsResponse = QueryUnreceivedPacketsResponse;
1969
1597
 
1970
1598
  function createBaseQueryUnreceivedAcksRequest() {
1971
1599
  return {
1972
- port_id: "",
1973
- channel_id: "",
1974
- packet_ack_sequences: []
1600
+ portId: "",
1601
+ channelId: "",
1602
+ packetAckSequences: []
1975
1603
  };
1976
1604
  }
1977
1605
 
@@ -1979,17 +1607,17 @@ var QueryUnreceivedAcksRequest = {
1979
1607
  encode: function encode(message) {
1980
1608
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
1981
1609
 
1982
- if (message.port_id !== "") {
1983
- writer.uint32(10).string(message.port_id);
1610
+ if (message.portId !== "") {
1611
+ writer.uint32(10).string(message.portId);
1984
1612
  }
1985
1613
 
1986
- if (message.channel_id !== "") {
1987
- writer.uint32(18).string(message.channel_id);
1614
+ if (message.channelId !== "") {
1615
+ writer.uint32(18).string(message.channelId);
1988
1616
  }
1989
1617
 
1990
1618
  writer.uint32(26).fork();
1991
1619
 
1992
- var _iterator8 = _createForOfIteratorHelper(message.packet_ack_sequences),
1620
+ var _iterator8 = _createForOfIteratorHelper(message.packetAckSequences),
1993
1621
  _step8;
1994
1622
 
1995
1623
  try {
@@ -2016,11 +1644,11 @@ var QueryUnreceivedAcksRequest = {
2016
1644
 
2017
1645
  switch (tag >>> 3) {
2018
1646
  case 1:
2019
- message.port_id = reader.string();
1647
+ message.portId = reader.string();
2020
1648
  break;
2021
1649
 
2022
1650
  case 2:
2023
- message.channel_id = reader.string();
1651
+ message.channelId = reader.string();
2024
1652
  break;
2025
1653
 
2026
1654
  case 3:
@@ -2028,10 +1656,10 @@ var QueryUnreceivedAcksRequest = {
2028
1656
  var end2 = reader.uint32() + reader.pos;
2029
1657
 
2030
1658
  while (reader.pos < end2) {
2031
- message.packet_ack_sequences.push(reader.uint64());
1659
+ message.packetAckSequences.push(reader.uint64());
2032
1660
  }
2033
1661
  } else {
2034
- message.packet_ack_sequences.push(reader.uint64());
1662
+ message.packetAckSequences.push(reader.uint64());
2035
1663
  }
2036
1664
 
2037
1665
  break;
@@ -2044,37 +1672,13 @@ var QueryUnreceivedAcksRequest = {
2044
1672
 
2045
1673
  return message;
2046
1674
  },
2047
- fromJSON: function fromJSON(object) {
2048
- return {
2049
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
2050
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : "",
2051
- packet_ack_sequences: Array.isArray(object === null || object === void 0 ? void 0 : object.packet_ack_sequences) ? object.packet_ack_sequences.map(function (e) {
2052
- return _helpers.Long.fromString(e);
2053
- }) : []
2054
- };
2055
- },
2056
- toJSON: function toJSON(message) {
2057
- var obj = {};
2058
- message.port_id !== undefined && (obj.port_id = message.port_id);
2059
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
2060
-
2061
- if (message.packet_ack_sequences) {
2062
- obj.packet_ack_sequences = message.packet_ack_sequences.map(function (e) {
2063
- return (e || _helpers.Long.UZERO).toString();
2064
- });
2065
- } else {
2066
- obj.packet_ack_sequences = [];
2067
- }
2068
-
2069
- return obj;
2070
- },
2071
1675
  fromPartial: function fromPartial(object) {
2072
- var _object$port_id10, _object$channel_id10, _object$packet_ack_se;
1676
+ var _object$portId10, _object$channelId10, _object$packetAckSequ;
2073
1677
 
2074
1678
  var message = createBaseQueryUnreceivedAcksRequest();
2075
- message.port_id = (_object$port_id10 = object.port_id) !== null && _object$port_id10 !== void 0 ? _object$port_id10 : "";
2076
- message.channel_id = (_object$channel_id10 = object.channel_id) !== null && _object$channel_id10 !== void 0 ? _object$channel_id10 : "";
2077
- message.packet_ack_sequences = ((_object$packet_ack_se = object.packet_ack_sequences) === null || _object$packet_ack_se === void 0 ? void 0 : _object$packet_ack_se.map(function (e) {
1679
+ message.portId = (_object$portId10 = object.portId) !== null && _object$portId10 !== void 0 ? _object$portId10 : "";
1680
+ message.channelId = (_object$channelId10 = object.channelId) !== null && _object$channelId10 !== void 0 ? _object$channelId10 : "";
1681
+ message.packetAckSequences = ((_object$packetAckSequ = object.packetAckSequences) === null || _object$packetAckSequ === void 0 ? void 0 : _object$packetAckSequ.map(function (e) {
2078
1682
  return _helpers.Long.fromValue(e);
2079
1683
  })) || [];
2080
1684
  return message;
@@ -2150,28 +1754,6 @@ var QueryUnreceivedAcksResponse = {
2150
1754
 
2151
1755
  return message;
2152
1756
  },
2153
- fromJSON: function fromJSON(object) {
2154
- return {
2155
- sequences: Array.isArray(object === null || object === void 0 ? void 0 : object.sequences) ? object.sequences.map(function (e) {
2156
- return _helpers.Long.fromString(e);
2157
- }) : [],
2158
- height: (0, _helpers.isSet)(object.height) ? _client.Height.fromJSON(object.height) : undefined
2159
- };
2160
- },
2161
- toJSON: function toJSON(message) {
2162
- var obj = {};
2163
-
2164
- if (message.sequences) {
2165
- obj.sequences = message.sequences.map(function (e) {
2166
- return (e || _helpers.Long.UZERO).toString();
2167
- });
2168
- } else {
2169
- obj.sequences = [];
2170
- }
2171
-
2172
- message.height !== undefined && (obj.height = message.height ? _client.Height.toJSON(message.height) : undefined);
2173
- return obj;
2174
- },
2175
1757
  fromPartial: function fromPartial(object) {
2176
1758
  var _object$sequences2;
2177
1759
 
@@ -2187,8 +1769,8 @@ exports.QueryUnreceivedAcksResponse = QueryUnreceivedAcksResponse;
2187
1769
 
2188
1770
  function createBaseQueryNextSequenceReceiveRequest() {
2189
1771
  return {
2190
- port_id: "",
2191
- channel_id: ""
1772
+ portId: "",
1773
+ channelId: ""
2192
1774
  };
2193
1775
  }
2194
1776
 
@@ -2196,12 +1778,12 @@ var QueryNextSequenceReceiveRequest = {
2196
1778
  encode: function encode(message) {
2197
1779
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
2198
1780
 
2199
- if (message.port_id !== "") {
2200
- writer.uint32(10).string(message.port_id);
1781
+ if (message.portId !== "") {
1782
+ writer.uint32(10).string(message.portId);
2201
1783
  }
2202
1784
 
2203
- if (message.channel_id !== "") {
2204
- writer.uint32(18).string(message.channel_id);
1785
+ if (message.channelId !== "") {
1786
+ writer.uint32(18).string(message.channelId);
2205
1787
  }
2206
1788
 
2207
1789
  return writer;
@@ -2216,11 +1798,11 @@ var QueryNextSequenceReceiveRequest = {
2216
1798
 
2217
1799
  switch (tag >>> 3) {
2218
1800
  case 1:
2219
- message.port_id = reader.string();
1801
+ message.portId = reader.string();
2220
1802
  break;
2221
1803
 
2222
1804
  case 2:
2223
- message.channel_id = reader.string();
1805
+ message.channelId = reader.string();
2224
1806
  break;
2225
1807
 
2226
1808
  default:
@@ -2231,24 +1813,12 @@ var QueryNextSequenceReceiveRequest = {
2231
1813
 
2232
1814
  return message;
2233
1815
  },
2234
- fromJSON: function fromJSON(object) {
2235
- return {
2236
- port_id: (0, _helpers.isSet)(object.port_id) ? String(object.port_id) : "",
2237
- channel_id: (0, _helpers.isSet)(object.channel_id) ? String(object.channel_id) : ""
2238
- };
2239
- },
2240
- toJSON: function toJSON(message) {
2241
- var obj = {};
2242
- message.port_id !== undefined && (obj.port_id = message.port_id);
2243
- message.channel_id !== undefined && (obj.channel_id = message.channel_id);
2244
- return obj;
2245
- },
2246
1816
  fromPartial: function fromPartial(object) {
2247
- var _object$port_id11, _object$channel_id11;
1817
+ var _object$portId11, _object$channelId11;
2248
1818
 
2249
1819
  var message = createBaseQueryNextSequenceReceiveRequest();
2250
- message.port_id = (_object$port_id11 = object.port_id) !== null && _object$port_id11 !== void 0 ? _object$port_id11 : "";
2251
- message.channel_id = (_object$channel_id11 = object.channel_id) !== null && _object$channel_id11 !== void 0 ? _object$channel_id11 : "";
1820
+ message.portId = (_object$portId11 = object.portId) !== null && _object$portId11 !== void 0 ? _object$portId11 : "";
1821
+ message.channelId = (_object$channelId11 = object.channelId) !== null && _object$channelId11 !== void 0 ? _object$channelId11 : "";
2252
1822
  return message;
2253
1823
  }
2254
1824
  };
@@ -2256,9 +1826,9 @@ exports.QueryNextSequenceReceiveRequest = QueryNextSequenceReceiveRequest;
2256
1826
 
2257
1827
  function createBaseQueryNextSequenceReceiveResponse() {
2258
1828
  return {
2259
- next_sequence_receive: _helpers.Long.UZERO,
1829
+ nextSequenceReceive: _helpers.Long.UZERO,
2260
1830
  proof: new Uint8Array(),
2261
- proof_height: undefined
1831
+ proofHeight: undefined
2262
1832
  };
2263
1833
  }
2264
1834
 
@@ -2266,16 +1836,16 @@ var QueryNextSequenceReceiveResponse = {
2266
1836
  encode: function encode(message) {
2267
1837
  var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
2268
1838
 
2269
- if (!message.next_sequence_receive.isZero()) {
2270
- writer.uint32(8).uint64(message.next_sequence_receive);
1839
+ if (!message.nextSequenceReceive.isZero()) {
1840
+ writer.uint32(8).uint64(message.nextSequenceReceive);
2271
1841
  }
2272
1842
 
2273
1843
  if (message.proof.length !== 0) {
2274
1844
  writer.uint32(18).bytes(message.proof);
2275
1845
  }
2276
1846
 
2277
- if (message.proof_height !== undefined) {
2278
- _client.Height.encode(message.proof_height, writer.uint32(26).fork()).ldelim();
1847
+ if (message.proofHeight !== undefined) {
1848
+ _client.Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
2279
1849
  }
2280
1850
 
2281
1851
  return writer;
@@ -2290,7 +1860,7 @@ var QueryNextSequenceReceiveResponse = {
2290
1860
 
2291
1861
  switch (tag >>> 3) {
2292
1862
  case 1:
2293
- message.next_sequence_receive = reader.uint64();
1863
+ message.nextSequenceReceive = reader.uint64();
2294
1864
  break;
2295
1865
 
2296
1866
  case 2:
@@ -2298,7 +1868,7 @@ var QueryNextSequenceReceiveResponse = {
2298
1868
  break;
2299
1869
 
2300
1870
  case 3:
2301
- message.proof_height = _client.Height.decode(reader, reader.uint32());
1871
+ message.proofHeight = _client.Height.decode(reader, reader.uint32());
2302
1872
  break;
2303
1873
 
2304
1874
  default:
@@ -2309,27 +1879,13 @@ var QueryNextSequenceReceiveResponse = {
2309
1879
 
2310
1880
  return message;
2311
1881
  },
2312
- fromJSON: function fromJSON(object) {
2313
- return {
2314
- next_sequence_receive: (0, _helpers.isSet)(object.next_sequence_receive) ? _helpers.Long.fromString(object.next_sequence_receive) : _helpers.Long.UZERO,
2315
- proof: (0, _helpers.isSet)(object.proof) ? (0, _helpers.bytesFromBase64)(object.proof) : new Uint8Array(),
2316
- proof_height: (0, _helpers.isSet)(object.proof_height) ? _client.Height.fromJSON(object.proof_height) : undefined
2317
- };
2318
- },
2319
- toJSON: function toJSON(message) {
2320
- var obj = {};
2321
- message.next_sequence_receive !== undefined && (obj.next_sequence_receive = (message.next_sequence_receive || _helpers.Long.UZERO).toString());
2322
- message.proof !== undefined && (obj.proof = (0, _helpers.base64FromBytes)(message.proof !== undefined ? message.proof : new Uint8Array()));
2323
- message.proof_height !== undefined && (obj.proof_height = message.proof_height ? _client.Height.toJSON(message.proof_height) : undefined);
2324
- return obj;
2325
- },
2326
1882
  fromPartial: function fromPartial(object) {
2327
1883
  var _object$proof7;
2328
1884
 
2329
1885
  var message = createBaseQueryNextSequenceReceiveResponse();
2330
- message.next_sequence_receive = object.next_sequence_receive !== undefined && object.next_sequence_receive !== null ? _helpers.Long.fromValue(object.next_sequence_receive) : _helpers.Long.UZERO;
1886
+ message.nextSequenceReceive = object.nextSequenceReceive !== undefined && object.nextSequenceReceive !== null ? _helpers.Long.fromValue(object.nextSequenceReceive) : _helpers.Long.UZERO;
2331
1887
  message.proof = (_object$proof7 = object.proof) !== null && _object$proof7 !== void 0 ? _object$proof7 : new Uint8Array();
2332
- message.proof_height = object.proof_height !== undefined && object.proof_height !== null ? _client.Height.fromPartial(object.proof_height) : undefined;
1888
+ message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? _client.Height.fromPartial(object.proofHeight) : undefined;
2333
1889
  return message;
2334
1890
  }
2335
1891
  };