This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
fix: latest changes in sov_bank
#343
dependency_review.yml
on: pull_request
dependency-review
4s
Annotations
3 errors and 1 warning
the trait bound `<S as sov_modules_api::Spec>::Address: std::convert::From<[u8; 32]>` is not satisfied:
modules/sov-ibc-transfer/src/utils.rs#L21
error[E0277]: the trait bound `<S as sov_modules_api::Spec>::Address: std::convert::From<[u8; 32]>` is not satisfied
--> modules/sov-ibc-transfer/src/utils.rs:21:26
|
21 | escrow_account_bytes.into()
| ^^^^ the trait `std::convert::From<[u8; 32]>` is not implemented for `<S as sov_modules_api::Spec>::Address`, which is required by `[u8; 32]: std::convert::Into<_>`
|
= note: required for `[u8; 32]` to implement `std::convert::Into<<S as sov_modules_api::Spec>::Address>`
help: consider further restricting the associated type
|
10 | pub fn compute_escrow_address<S: Spec>(port_id: &PortId, channel_id: &ChannelId) -> S::Address where <S as sov_modules_api::Spec>::Address: std::convert::From<[u8; 32]> {
| +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
the trait bound `<S as sov_modules_api::Spec>::Address: std::convert::From<[u8; 32]>` is not satisfied:
modules/sov-ibc-transfer/src/utils.rs#L21
error[E0277]: the trait bound `<S as sov_modules_api::Spec>::Address: std::convert::From<[u8; 32]>` is not satisfied
--> modules/sov-ibc-transfer/src/utils.rs:21:26
|
21 | escrow_account_bytes.into()
| ^^^^ the trait `std::convert::From<[u8; 32]>` is not implemented for `<S as sov_modules_api::Spec>::Address`, which is required by `[u8; 32]: std::convert::Into<_>`
|
= note: required for `[u8; 32]` to implement `std::convert::Into<<S as sov_modules_api::Spec>::Address>`
help: consider further restricting the associated type
|
10 | pub fn compute_escrow_address<S: Spec>(port_id: &PortId, channel_id: &ChannelId) -> S::Address where <S as sov_modules_api::Spec>::Address: std::convert::From<[u8; 32]> {
| +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
the trait bound `<S as sov_modules_api::Spec>::Address: std::convert::From<[u8; 32]>` is not satisfied:
modules/sov-ibc-transfer/src/utils.rs#L21
error[E0277]: the trait bound `<S as sov_modules_api::Spec>::Address: std::convert::From<[u8; 32]>` is not satisfied
--> modules/sov-ibc-transfer/src/utils.rs:21:26
|
21 | escrow_account_bytes.into()
| ^^^^ the trait `std::convert::From<[u8; 32]>` is not implemented for `<S as sov_modules_api::Spec>::Address`, which is required by `[u8; 32]: std::convert::Into<_>`
|
= note: required for `[u8; 32]` to implement `std::convert::Into<<S as sov_modules_api::Spec>::Address>`
help: consider further restricting the associated type
|
10 | pub fn compute_escrow_address<S: Spec>(port_id: &PortId, channel_id: &ChannelId) -> S::Address where <S as sov_modules_api::Spec>::Address: std::convert::From<[u8; 32]> {
| +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
dependency-review
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/dependency-review-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|