@@ -175,7 +175,8 @@ func (endpoint *Endpoint) ConnOpenInit() error {
175
175
176
176
// ConnOpenTry will construct and execute a MsgConnectionOpenTry on the associated endpoint.
177
177
func (endpoint * Endpoint ) ConnOpenTry () error {
178
- endpoint .UpdateClient ()
178
+ err := endpoint .UpdateClient ()
179
+ require .NoError (endpoint .Chain .T , err )
179
180
180
181
counterpartyClient , proofClient , proofConsensus , consensusHeight , proofInit , proofHeight := endpoint .QueryConnectionHandshakeProof ()
181
182
@@ -202,7 +203,8 @@ func (endpoint *Endpoint) ConnOpenTry() error {
202
203
203
204
// ConnOpenAck will construct and execute a MsgConnectionOpenAck on the associated endpoint.
204
205
func (endpoint * Endpoint ) ConnOpenAck () error {
205
- endpoint .UpdateClient ()
206
+ err := endpoint .UpdateClient ()
207
+ require .NoError (endpoint .Chain .T , err )
206
208
207
209
counterpartyClient , proofClient , proofConsensus , consensusHeight , proofTry , proofHeight := endpoint .QueryConnectionHandshakeProof ()
208
210
@@ -218,7 +220,8 @@ func (endpoint *Endpoint) ConnOpenAck() error {
218
220
219
221
// ConnOpenConfirm will construct and execute a MsgConnectionOpenConfirm on the associated endpoint.
220
222
func (endpoint * Endpoint ) ConnOpenConfirm () error {
221
- endpoint .UpdateClient ()
223
+ err := endpoint .UpdateClient ()
224
+ require .NoError (endpoint .Chain .T , err )
222
225
223
226
connectionKey := host .ConnectionKey (endpoint .Counterparty .ConnectionID )
224
227
proof , height := endpoint .Counterparty .Chain .QueryProof (connectionKey )
@@ -281,7 +284,8 @@ func (endpoint *Endpoint) ChanOpenInit() error {
281
284
282
285
// ChanOpenTry will construct and execute a MsgChannelOpenTry on the associated endpoint.
283
286
func (endpoint * Endpoint ) ChanOpenTry () error {
284
- endpoint .UpdateClient ()
287
+ err := endpoint .UpdateClient ()
288
+ require .NoError (endpoint .Chain .T , err )
285
289
286
290
channelKey := host .ChannelKey (endpoint .Counterparty .ChannelConfig .PortID , endpoint .Counterparty .ChannelID )
287
291
proof , height := endpoint .Counterparty .Chain .QueryProof (channelKey )
@@ -312,7 +316,8 @@ func (endpoint *Endpoint) ChanOpenTry() error {
312
316
313
317
// ChanOpenAck will construct and execute a MsgChannelOpenAck on the associated endpoint.
314
318
func (endpoint * Endpoint ) ChanOpenAck () error {
315
- endpoint .UpdateClient ()
319
+ err := endpoint .UpdateClient ()
320
+ require .NoError (endpoint .Chain .T , err )
316
321
317
322
channelKey := host .ChannelKey (endpoint .Counterparty .ChannelConfig .PortID , endpoint .Counterparty .ChannelID )
318
323
proof , height := endpoint .Counterparty .Chain .QueryProof (channelKey )
@@ -328,7 +333,8 @@ func (endpoint *Endpoint) ChanOpenAck() error {
328
333
329
334
// ChanOpenConfirm will construct and execute a MsgChannelOpenConfirm on the associated endpoint.
330
335
func (endpoint * Endpoint ) ChanOpenConfirm () error {
331
- endpoint .UpdateClient ()
336
+ err := endpoint .UpdateClient ()
337
+ require .NoError (endpoint .Chain .T , err )
332
338
333
339
channelKey := host .ChannelKey (endpoint .Counterparty .ChannelConfig .PortID , endpoint .Counterparty .ChannelID )
334
340
proof , height := endpoint .Counterparty .Chain .QueryProof (channelKey )
0 commit comments