merge with upstream #1
guide-templates.yaml
on: pull_request
template-checker
8m 19s
Annotations
86 errors and 5 warnings
use of a fallible conversion when an infallible one could be used:
crates/relayer/src/chain/astria/utils.rs#L25
error: use of a fallible conversion when an infallible one could be used
--> crates/relayer/src/chain/astria/utils.rs:25:10
|
25 | .try_into()
| ^^^^^^^^ help: use: `into`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `-D clippy::unnecessary-fallible-conversions` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_fallible_conversions)]`
|
redundant field names in struct initialization:
crates/relayer/src/transfer.rs#L212
error: redundant field names in struct initialization
--> crates/relayer/src/transfer.rs:212:9
|
212 | denom: denom,
| ^^^^^^^^^^^^ help: replace it with: `denom`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
|
unused imports: `ics04_channel::packet::Sequence`, `timestamp::Timestamp`:
crates/relayer/src/event.rs#L501
error: unused imports: `ics04_channel::packet::Sequence`, `timestamp::Timestamp`
--> crates/relayer/src/event.rs:501:13
|
501 | ics04_channel::packet::Sequence,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
502 | },
503 | timestamp::Timestamp,
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L592
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:592:36
|
592 | assert_eq!(ChannelAttributes::from(e), close_confirm.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L591
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:591:21
|
591 | IbcEvent::CloseConfirmChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L589
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:589:36
|
589 | assert_eq!(ChannelAttributes::from(e), close_init.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L588
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:588:21
|
588 | IbcEvent::CloseInitChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L586
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:586:36
|
586 | assert_eq!(ChannelAttributes::from(e), open_confirm.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L585
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:585:21
|
585 | IbcEvent::OpenConfirmChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L583
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:583:36
|
583 | assert_eq!(ChannelAttributes::from(e), open_ack.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L582
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:582:21
|
582 | IbcEvent::OpenAckChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L580
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:580:36
|
580 | assert_eq!(ChannelAttributes::from(e), open_try.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L579
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:579:21
|
579 | IbcEvent::OpenTryChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L577
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:577:36
|
577 | assert_eq!(ChannelAttributes::from(e), open_init.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L576
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:576:21
|
576 | IbcEvent::OpenInitChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
cannot find function `ibc_event_try_from_abci_event` in this scope:
crates/relayer/src/event.rs#L574
error[E0425]: cannot find function `ibc_event_try_from_abci_event` in this scope
--> crates/relayer/src/event.rs:574:19
|
574 | match ibc_event_try_from_abci_event(&abci_event).ok() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
490 + use crate::event::ibc_event_try_from_abci_event;
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L571
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:571:26
|
571 | abci_events.push(AbciEvent::from(close_confirm.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L570
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:570:29
|
570 | let close_confirm = channel_events::CloseConfirm::try_from(attributes).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::CloseConfirm;
|
490 + use ibc_relayer_types::core::ics04_channel::events::CloseConfirm;
|
help: if you import `CloseConfirm`, refer to it directly
|
570 - let close_confirm = channel_events::CloseConfirm::try_from(attributes).unwrap();
570 + let close_confirm = CloseConfirm::try_from(attributes).unwrap();
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L569
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:569:26
|
569 | abci_events.push(AbciEvent::from(close_init.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L568
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:568:26
|
568 | let close_init = channel_events::CloseInit::try_from(attributes.clone()).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::CloseInit;
|
490 + use ibc_relayer_types::core::ics04_channel::events::CloseInit;
|
help: if you import `CloseInit`, refer to it directly
|
568 - let close_init = channel_events::CloseInit::try_from(attributes.clone()).unwrap();
568 + let close_init = CloseInit::try_from(attributes.clone()).unwrap();
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L567
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:567:26
|
567 | abci_events.push(AbciEvent::from(open_confirm.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L564
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:564:24
|
564 | let open_ack = channel_events::OpenAck::try_from(attributes.clone()).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenAck;
|
490 + use crate::event::connection_events::OpenAck;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenAck;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenAck;
|
help: if you import `OpenAck`, refer to it directly
|
564 - let open_ack = channel_events::OpenAck::try_from(attributes.clone()).unwrap();
564 + let open_ack = OpenAck::try_from(attributes.clone()).unwrap();
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L563
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:563:26
|
563 | abci_events.push(AbciEvent::from(open_try.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L562
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:562:24
|
562 | let open_try = channel_events::OpenTry::try_from(attributes.clone()).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenTry;
|
490 + use crate::event::connection_events::OpenTry;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenTry;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenTry;
|
help: if you import `OpenTry`, refer to it directly
|
562 - let open_try = channel_events::OpenTry::try_from(attributes.clone()).unwrap();
562 + let open_try = OpenTry::try_from(attributes.clone()).unwrap();
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L561
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:561:26
|
561 | abci_events.push(AbciEvent::from(open_init.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L560
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:560:25
|
560 | let open_init = channel_events::OpenInit::try_from(attributes.clone()).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenInit;
|
490 + use crate::event::connection_events::OpenInit;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenInit;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenInit;
|
help: if you import `OpenInit`, refer to it directly
|
560 - let open_init = channel_events::OpenInit::try_from(attributes.clone()).unwrap();
560 + let open_init = OpenInit::try_from(attributes.clone()).unwrap();
|
|
cannot find struct, variant or union type `ChannelAttributes` in this scope:
crates/relayer/src/event.rs#L552
error[E0422]: cannot find struct, variant or union type `ChannelAttributes` in this scope
--> crates/relayer/src/event.rs:552:26
|
552 | let attributes = ChannelAttributes {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L542
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:542:21
|
542 | IbcEvent::OpenConfirmConnection(e) => assert_eq!(e, open_confirm),
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L541
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:541:21
|
541 | IbcEvent::OpenAckConnection(e) => assert_eq!(e, open_ack),
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L540
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:540:21
|
540 | IbcEvent::OpenTryConnection(e) => assert_eq!(e, open_try),
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L539
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:539:21
|
539 | IbcEvent::OpenInitConnection(e) => assert_eq!(e, open_init),
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
cannot find function `ibc_event_try_from_abci_event` in this scope:
crates/relayer/src/event.rs#L537
error[E0425]: cannot find function `ibc_event_try_from_abci_event` in this scope
--> crates/relayer/src/event.rs:537:19
|
537 | match ibc_event_try_from_abci_event(&abci_event).ok() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
490 + use crate::event::ibc_event_try_from_abci_event;
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L534
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:534:26
|
534 | abci_events.push(AbciEvent::from(open_confirm.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `connection_events`:
crates/relayer/src/event.rs#L533
error[E0433]: failed to resolve: use of undeclared crate or module `connection_events`
--> crates/relayer/src/event.rs:533:28
|
533 | let open_confirm = connection_events::OpenConfirm::from(attributes);
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `connection_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenConfirm;
|
490 + use crate::event::connection_events::OpenConfirm;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenConfirm;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenConfirm;
|
help: if you import `OpenConfirm`, refer to it directly
|
533 - let open_confirm = connection_events::OpenConfirm::from(attributes);
533 + let open_confirm = OpenConfirm::from(attributes);
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L532
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:532:26
|
532 | abci_events.push(AbciEvent::from(open_ack.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `connection_events`:
crates/relayer/src/event.rs#L531
error[E0433]: failed to resolve: use of undeclared crate or module `connection_events`
--> crates/relayer/src/event.rs:531:24
|
531 | let open_ack = connection_events::OpenAck::from(attributes.clone());
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `connection_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenAck;
|
490 + use crate::event::connection_events::OpenAck;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenAck;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenAck;
|
help: if you import `OpenAck`, refer to it directly
|
531 - let open_ack = connection_events::OpenAck::from(attributes.clone());
531 + let open_ack = OpenAck::from(attributes.clone());
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L530
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:530:26
|
530 | abci_events.push(AbciEvent::from(open_try.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `connection_events`:
crates/relayer/src/event.rs#L529
error[E0433]: failed to resolve: use of undeclared crate or module `connection_events`
--> crates/relayer/src/event.rs:529:24
|
529 | let open_try = connection_events::OpenTry::from(attributes.clone());
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `connection_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenTry;
|
490 + use crate::event::connection_events::OpenTry;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenTry;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenTry;
|
help: if you import `OpenTry`, refer to it directly
|
529 - let open_try = connection_events::OpenTry::from(attributes.clone());
529 + let open_try = OpenTry::from(attributes.clone());
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L528
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:528:26
|
528 | abci_events.push(AbciEvent::from(open_init.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `connection_events`:
crates/relayer/src/event.rs#L527
error[E0433]: failed to resolve: use of undeclared crate or module `connection_events`
--> crates/relayer/src/event.rs:527:25
|
527 | let open_init = connection_events::OpenInit::from(attributes.clone());
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `connection_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenInit;
|
490 + use crate::event::connection_events::OpenInit;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenInit;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenInit;
|
help: if you import `OpenInit`, refer to it directly
|
527 - let open_init = connection_events::OpenInit::from(attributes.clone());
527 + let open_init = OpenInit::from(attributes.clone());
|
|
cannot find struct, variant or union type `ConnectionAttributes` in this scope:
crates/relayer/src/event.rs#L520
error[E0422]: cannot find struct, variant or union type `ConnectionAttributes` in this scope
--> crates/relayer/src/event.rs:520:26
|
520 | let attributes = ConnectionAttributes {
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ConnectionAttributes;
|
|
redundant field names in struct initialization:
crates/relayer/src/transfer.rs#L212
error: redundant field names in struct initialization
--> crates/relayer/src/transfer.rs:212:9
|
212 | denom: denom,
| ^^^^^^^^^^^^ help: replace it with: `denom`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
|
use of a fallible conversion when an infallible one could be used:
crates/relayer/src/chain/astria/utils.rs#L25
error: use of a fallible conversion when an infallible one could be used
--> crates/relayer/src/chain/astria/utils.rs:25:10
|
25 | .try_into()
| ^^^^^^^^ help: use: `into`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `-D clippy::unnecessary-fallible-conversions` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_fallible_conversions)]`
|
redundant field names in struct initialization:
crates/relayer/src/transfer.rs#L212
error: redundant field names in struct initialization
--> crates/relayer/src/transfer.rs:212:9
|
212 | denom: denom,
| ^^^^^^^^^^^^ help: replace it with: `denom`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
|
unused imports: `ics04_channel::packet::Sequence`, `timestamp::Timestamp`:
crates/relayer/src/event.rs#L501
error: unused imports: `ics04_channel::packet::Sequence`, `timestamp::Timestamp`
--> crates/relayer/src/event.rs:501:13
|
501 | ics04_channel::packet::Sequence,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
502 | },
503 | timestamp::Timestamp,
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L592
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:592:36
|
592 | assert_eq!(ChannelAttributes::from(e), close_confirm.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L591
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:591:21
|
591 | IbcEvent::CloseConfirmChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L589
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:589:36
|
589 | assert_eq!(ChannelAttributes::from(e), close_init.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L588
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:588:21
|
588 | IbcEvent::CloseInitChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L586
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:586:36
|
586 | assert_eq!(ChannelAttributes::from(e), open_confirm.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L585
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:585:21
|
585 | IbcEvent::OpenConfirmChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L583
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:583:36
|
583 | assert_eq!(ChannelAttributes::from(e), open_ack.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L582
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:582:21
|
582 | IbcEvent::OpenAckChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L580
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:580:36
|
580 | assert_eq!(ChannelAttributes::from(e), open_try.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L579
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:579:21
|
579 | IbcEvent::OpenTryChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `ChannelAttributes`:
crates/relayer/src/event.rs#L577
error[E0433]: failed to resolve: use of undeclared type `ChannelAttributes`
--> crates/relayer/src/event.rs:577:36
|
577 | assert_eq!(ChannelAttributes::from(e), open_init.clone().into())
| ^^^^^^^^^^^^^^^^^ use of undeclared type `ChannelAttributes`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L576
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:576:21
|
576 | IbcEvent::OpenInitChannel(e) => {
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
cannot find function `ibc_event_try_from_abci_event` in this scope:
crates/relayer/src/event.rs#L574
error[E0425]: cannot find function `ibc_event_try_from_abci_event` in this scope
--> crates/relayer/src/event.rs:574:19
|
574 | match ibc_event_try_from_abci_event(&abci_event).ok() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
490 + use crate::event::ibc_event_try_from_abci_event;
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L571
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:571:26
|
571 | abci_events.push(AbciEvent::from(close_confirm.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L570
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:570:29
|
570 | let close_confirm = channel_events::CloseConfirm::try_from(attributes).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::CloseConfirm;
|
490 + use ibc_relayer_types::core::ics04_channel::events::CloseConfirm;
|
help: if you import `CloseConfirm`, refer to it directly
|
570 - let close_confirm = channel_events::CloseConfirm::try_from(attributes).unwrap();
570 + let close_confirm = CloseConfirm::try_from(attributes).unwrap();
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L569
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:569:26
|
569 | abci_events.push(AbciEvent::from(close_init.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L568
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:568:26
|
568 | let close_init = channel_events::CloseInit::try_from(attributes.clone()).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::CloseInit;
|
490 + use ibc_relayer_types::core::ics04_channel::events::CloseInit;
|
help: if you import `CloseInit`, refer to it directly
|
568 - let close_init = channel_events::CloseInit::try_from(attributes.clone()).unwrap();
568 + let close_init = CloseInit::try_from(attributes.clone()).unwrap();
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L567
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:567:26
|
567 | abci_events.push(AbciEvent::from(open_confirm.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L566
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:566:28
|
566 | let open_confirm = channel_events::OpenConfirm::try_from(attributes.clone()).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenConfirm;
|
490 + use crate::event::connection_events::OpenConfirm;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenConfirm;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenConfirm;
|
help: if you import `OpenConfirm`, refer to it directly
|
566 - let open_confirm = channel_events::OpenConfirm::try_from(attributes.clone()).unwrap();
566 + let open_confirm = OpenConfirm::try_from(attributes.clone()).unwrap();
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L565
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:565:26
|
565 | abci_events.push(AbciEvent::from(open_ack.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L564
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:564:24
|
564 | let open_ack = channel_events::OpenAck::try_from(attributes.clone()).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenAck;
|
490 + use crate::event::connection_events::OpenAck;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenAck;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenAck;
|
help: if you import `OpenAck`, refer to it directly
|
564 - let open_ack = channel_events::OpenAck::try_from(attributes.clone()).unwrap();
564 + let open_ack = OpenAck::try_from(attributes.clone()).unwrap();
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L563
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:563:26
|
563 | abci_events.push(AbciEvent::from(open_try.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L562
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:562:24
|
562 | let open_try = channel_events::OpenTry::try_from(attributes.clone()).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenTry;
|
490 + use crate::event::connection_events::OpenTry;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenTry;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenTry;
|
help: if you import `OpenTry`, refer to it directly
|
562 - let open_try = channel_events::OpenTry::try_from(attributes.clone()).unwrap();
562 + let open_try = OpenTry::try_from(attributes.clone()).unwrap();
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L561
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:561:26
|
561 | abci_events.push(AbciEvent::from(open_init.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `channel_events`:
crates/relayer/src/event.rs#L560
error[E0433]: failed to resolve: use of undeclared crate or module `channel_events`
--> crates/relayer/src/event.rs:560:25
|
560 | let open_init = channel_events::OpenInit::try_from(attributes.clone()).unwrap();
| ^^^^^^^^^^^^^^ use of undeclared crate or module `channel_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenInit;
|
490 + use crate::event::connection_events::OpenInit;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenInit;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenInit;
|
help: if you import `OpenInit`, refer to it directly
|
560 - let open_init = channel_events::OpenInit::try_from(attributes.clone()).unwrap();
560 + let open_init = OpenInit::try_from(attributes.clone()).unwrap();
|
|
cannot find struct, variant or union type `ChannelAttributes` in this scope:
crates/relayer/src/event.rs#L552
error[E0422]: cannot find struct, variant or union type `ChannelAttributes` in this scope
--> crates/relayer/src/event.rs:552:26
|
552 | let attributes = ChannelAttributes {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ChannelAttributes;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L542
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:542:21
|
542 | IbcEvent::OpenConfirmConnection(e) => assert_eq!(e, open_confirm),
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L541
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:541:21
|
541 | IbcEvent::OpenAckConnection(e) => assert_eq!(e, open_ack),
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L540
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:540:21
|
540 | IbcEvent::OpenTryConnection(e) => assert_eq!(e, open_try),
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
failed to resolve: use of undeclared type `IbcEvent`:
crates/relayer/src/event.rs#L539
error[E0433]: failed to resolve: use of undeclared type `IbcEvent`
--> crates/relayer/src/event.rs:539:21
|
539 | IbcEvent::OpenInitConnection(e) => assert_eq!(e, open_init),
| ^^^^^^^^ use of undeclared type `IbcEvent`
|
help: consider importing one of these items
|
490 + use crate::event::IbcEvent;
|
490 + use ibc_relayer_types::events::IbcEvent;
|
|
cannot find function `ibc_event_try_from_abci_event` in this scope:
crates/relayer/src/event.rs#L537
error[E0425]: cannot find function `ibc_event_try_from_abci_event` in this scope
--> crates/relayer/src/event.rs:537:19
|
537 | match ibc_event_try_from_abci_event(&abci_event).ok() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
490 + use crate::event::ibc_event_try_from_abci_event;
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L534
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:534:26
|
534 | abci_events.push(AbciEvent::from(open_confirm.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `connection_events`:
crates/relayer/src/event.rs#L533
error[E0433]: failed to resolve: use of undeclared crate or module `connection_events`
--> crates/relayer/src/event.rs:533:28
|
533 | let open_confirm = connection_events::OpenConfirm::from(attributes);
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `connection_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenConfirm;
|
490 + use crate::event::connection_events::OpenConfirm;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenConfirm;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenConfirm;
|
help: if you import `OpenConfirm`, refer to it directly
|
533 - let open_confirm = connection_events::OpenConfirm::from(attributes);
533 + let open_confirm = OpenConfirm::from(attributes);
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L532
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:532:26
|
532 | abci_events.push(AbciEvent::from(open_ack.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `connection_events`:
crates/relayer/src/event.rs#L531
error[E0433]: failed to resolve: use of undeclared crate or module `connection_events`
--> crates/relayer/src/event.rs:531:24
|
531 | let open_ack = connection_events::OpenAck::from(attributes.clone());
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `connection_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenAck;
|
490 + use crate::event::connection_events::OpenAck;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenAck;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenAck;
|
help: if you import `OpenAck`, refer to it directly
|
531 - let open_ack = connection_events::OpenAck::from(attributes.clone());
531 + let open_ack = OpenAck::from(attributes.clone());
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L530
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:530:26
|
530 | abci_events.push(AbciEvent::from(open_try.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `connection_events`:
crates/relayer/src/event.rs#L529
error[E0433]: failed to resolve: use of undeclared crate or module `connection_events`
--> crates/relayer/src/event.rs:529:24
|
529 | let open_try = connection_events::OpenTry::from(attributes.clone());
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `connection_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenTry;
|
490 + use crate::event::connection_events::OpenTry;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenTry;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenTry;
|
help: if you import `OpenTry`, refer to it directly
|
529 - let open_try = connection_events::OpenTry::from(attributes.clone());
529 + let open_try = OpenTry::from(attributes.clone());
|
|
failed to resolve: use of undeclared type `AbciEvent`:
crates/relayer/src/event.rs#L528
error[E0433]: failed to resolve: use of undeclared type `AbciEvent`
--> crates/relayer/src/event.rs:528:26
|
528 | abci_events.push(AbciEvent::from(open_init.clone()));
| ^^^^^^^^^ use of undeclared type `AbciEvent`
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::AbciEvent;
|
|
failed to resolve: use of undeclared crate or module `connection_events`:
crates/relayer/src/event.rs#L527
error[E0433]: failed to resolve: use of undeclared crate or module `connection_events`
--> crates/relayer/src/event.rs:527:25
|
527 | let open_init = connection_events::OpenInit::from(attributes.clone());
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `connection_events`
|
help: consider importing one of these items
|
490 + use crate::event::channel_events::OpenInit;
|
490 + use crate::event::connection_events::OpenInit;
|
490 + use ibc_relayer_types::core::ics03_connection::events::OpenInit;
|
490 + use ibc_relayer_types::core::ics04_channel::events::OpenInit;
|
help: if you import `OpenInit`, refer to it directly
|
527 - let open_init = connection_events::OpenInit::from(attributes.clone());
527 + let open_init = OpenInit::from(attributes.clone());
|
|
cannot find struct, variant or union type `ConnectionAttributes` in this scope:
crates/relayer/src/event.rs#L520
error[E0422]: cannot find struct, variant or union type `ConnectionAttributes` in this scope
--> crates/relayer/src/event.rs:520:26
|
520 | let attributes = ConnectionAttributes {
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct through its public re-export
|
490 + use crate::event::ConnectionAttributes;
|
|
redundant field names in struct initialization:
crates/relayer/src/transfer.rs#L212
error: redundant field names in struct initialization
--> crates/relayer/src/transfer.rs:212:9
|
212 | denom: denom,
| ^^^^^^^^^^^^ help: replace it with: `denom`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
|
template-checker
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
template-checker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
template-checker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
template-checker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
template-checker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|