fix(ibc-core): copy substitute consensus state during client recovery #17
Annotations
5 errors and 1 warning
the trait bound `ibc_primitives::proto::Any: core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not satisfied:
ibc-core/ics02-client/src/handler/recover_client.rs#L86
error[E0277]: the trait bound `ibc_primitives::proto::Any: core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not satisfied
--> ibc-core/ics02-client/src/handler/recover_client.rs:86:36
|
86 | substitute_consensus_state.into(),
| ^^^^ the trait `core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not implemented for `ibc_primitives::proto::Any`, which is required by `<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef: core::convert::Into<_>`
|
= note: required for `<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef` to implement `core::convert::Into<ibc_primitives::proto::Any>`
help: consider extending the `where` clause, but there might be an alternative better way to express this requirement
|
66 | Ctx: ExecutionContext, ibc_primitives::proto::Any: core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
the trait bound `ibc_primitives::proto::Any: core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not satisfied:
ibc-core/ics02-client/src/handler/recover_client.rs#L86
error[E0277]: the trait bound `ibc_primitives::proto::Any: core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not satisfied
--> ibc-core/ics02-client/src/handler/recover_client.rs:86:36
|
86 | substitute_consensus_state.into(),
| ^^^^ the trait `core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not implemented for `ibc_primitives::proto::Any`, which is required by `<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef: core::convert::Into<_>`
|
= note: required for `<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef` to implement `core::convert::Into<ibc_primitives::proto::Any>`
help: consider extending the `where` clause, but there might be an alternative better way to express this requirement
|
66 | Ctx: ExecutionContext, ibc_primitives::proto::Any: core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
the trait bound `ibc_primitives::proto::Any: core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not satisfied:
ibc-core/ics02-client/src/handler/recover_client.rs#L86
error[E0277]: the trait bound `ibc_primitives::proto::Any: core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not satisfied
--> ibc-core/ics02-client/src/handler/recover_client.rs:86:36
|
86 | substitute_consensus_state.into(),
| ^^^^ the trait `core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not implemented for `ibc_primitives::proto::Any`, which is required by `<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef: core::convert::Into<_>`
|
= note: required for `<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef` to implement `core::convert::Into<ibc_primitives::proto::Any>`
help: consider extending the `where` clause, but there might be an alternative better way to express this requirement
|
66 | Ctx: ExecutionContext, ibc_primitives::proto::Any: core::convert::From<<<Ctx as ibc_core_host::ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
Code Coverage:
ibc-core/ics02-client/src/handler/recover_client.rs#L86
the trait bound `ibc_primitives::proto::Any: From<<<Ctx as ExecutionContext>::E as ibc_core_client_context::ClientValidationContext>::ConsensusStateRef>` is not satisfied
|
Code Coverage
Process completed with exit code 1.
|
Code Coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|