@@ -182,12 +182,12 @@ impl PacketInspector {
182
182
183
183
/// This is a wrapper to follow a packet directly in a single future
184
184
/// Prefer the use of `await_ibc_execution` for following IBC packets related to a transaction
185
- pub async fn follow_packet < ' a > (
185
+ pub async fn follow_packet (
186
186
self ,
187
- src_chain : ChainId < ' a > ,
187
+ src_chain : ChainId < ' _ > ,
188
188
src_port : PortId ,
189
189
src_channel : ChannelId ,
190
- dst_chain : ChainId < ' a > ,
190
+ dst_chain : ChainId < ' _ > ,
191
191
sequence : Sequence ,
192
192
) -> IcDaemonResult < SinglePacketFlow < Daemon > > {
193
193
let src_grpc_channel = self . get_grpc_channel ( src_chain) . await ?;
@@ -255,10 +255,10 @@ impl PacketInspector {
255
255
/// This is also logged for debugging purposes
256
256
///
257
257
/// We return the tx hash of the received packet on the remote chain as well as the ack packet transaction on the origin chain
258
- pub async fn follow_packet_cycle < ' a > (
258
+ pub async fn follow_packet_cycle (
259
259
& self ,
260
- from : ChainId < ' a > ,
261
- ibc_channel : & ' a InterchainChannel < Channel > ,
260
+ from : ChainId < ' _ > ,
261
+ ibc_channel : & InterchainChannel < Channel > ,
262
262
sequence : Sequence ,
263
263
) -> Result < SinglePacketFlow < Daemon > , InterchainDaemonError > {
264
264
let ( src_port, dst_port) = ibc_channel. get_ordered_ports_from ( from) ?;
@@ -348,10 +348,10 @@ impl PacketInspector {
348
348
}
349
349
350
350
/// This functions looks for timeouts of an IBC packet on its origin chain. It returns the tx hash of the timeout tx.
351
- pub async fn follow_packet_timeout < ' a > (
351
+ pub async fn follow_packet_timeout (
352
352
& self ,
353
- from : ChainId < ' a > ,
354
- ibc_channel : & ' a InterchainChannel < Channel > ,
353
+ from : ChainId < ' _ > ,
354
+ ibc_channel : & InterchainChannel < Channel > ,
355
355
sequence : Sequence ,
356
356
) -> Result < SinglePacketFlow < Daemon > , InterchainDaemonError > {
357
357
// 0. Query the send tx hash for analysis
@@ -410,10 +410,10 @@ impl PacketInspector {
410
410
}
411
411
412
412
// From is the channel from which the send packet has been sent
413
- pub async fn get_packet_send_tx < ' a > (
413
+ pub async fn get_packet_send_tx (
414
414
& self ,
415
- from : ChainId < ' a > ,
416
- ibc_channel : & ' a InterchainChannel < Channel > ,
415
+ from : ChainId < ' _ > ,
416
+ ibc_channel : & InterchainChannel < Channel > ,
417
417
packet_sequence : Sequence ,
418
418
) -> Result < CosmTxResponse , InterchainDaemonError > {
419
419
let ( src_port, dst_port) = ibc_channel. get_ordered_ports_from ( from) ?;
@@ -437,10 +437,10 @@ impl PacketInspector {
437
437
}
438
438
439
439
// on is the chain on which the packet will be received
440
- pub async fn get_packet_receive_tx < ' a > (
440
+ pub async fn get_packet_receive_tx (
441
441
& self ,
442
- from : ChainId < ' a > ,
443
- ibc_channel : & ' a InterchainChannel < Channel > ,
442
+ from : ChainId < ' _ > ,
443
+ ibc_channel : & InterchainChannel < Channel > ,
444
444
packet_sequence : Sequence ,
445
445
) -> Result < CosmTxResponse , InterchainDaemonError > {
446
446
let ( src_port, dst_port) = ibc_channel. get_ordered_ports_from ( from) ?;
@@ -464,10 +464,10 @@ impl PacketInspector {
464
464
}
465
465
466
466
// on is the chain on which the packet will be received
467
- pub async fn get_packet_timeout_tx < ' a > (
467
+ pub async fn get_packet_timeout_tx (
468
468
& self ,
469
- from : ChainId < ' a > ,
470
- ibc_channel : & ' a InterchainChannel < Channel > ,
469
+ from : ChainId < ' _ > ,
470
+ ibc_channel : & InterchainChannel < Channel > ,
471
471
packet_sequence : Sequence ,
472
472
) -> Result < CosmTxResponse , InterchainDaemonError > {
473
473
let ( src_port, dst_port) = ibc_channel. get_ordered_ports_from ( from) ?;
@@ -491,10 +491,10 @@ impl PacketInspector {
491
491
}
492
492
493
493
// From is the channel from which the original send packet has been sent
494
- pub async fn get_packet_ack_receive_tx < ' a > (
494
+ pub async fn get_packet_ack_receive_tx (
495
495
& self ,
496
- from : ChainId < ' a > ,
497
- ibc_channel : & ' a InterchainChannel < Channel > ,
496
+ from : ChainId < ' _ > ,
497
+ ibc_channel : & InterchainChannel < Channel > ,
498
498
packet_sequence : Sequence ,
499
499
) -> Result < CosmTxResponse , InterchainDaemonError > {
500
500
let ( src_port, dst_port) = ibc_channel. get_ordered_ports_from ( from) ?;
0 commit comments