solana-ibc: get host consensus state based on feature #1801
master.yml
on: pull_request
Miscellaneous checks
3m 15s
Anchor Test
20m 12s
Rust tests
5m 56s
Annotations
3 errors and 2 warnings
mismatched types:
solana/solana-ibc/programs/solana-ibc/src/validation_context.rs#L116
error[E0308]: mismatched types
--> solana/solana-ibc/programs/solana-ibc/src/validation_context.rs:116:9
|
82 | ) -> Result<Self::AnyConsensusState> {
| ------------------------------- expected `std::result::Result<consensus_state::AnyConsensusState, ibc::core::handler::types::error::ContextError>` because of return type
...
116 | / state.ok_or(
117 | | ibc::ClientError::MissingLocalConsensusState { height: *height }
118 | | .into(),
119 | | )
| |_________^ expected `Result<AnyConsensusState, ...>`, found `Result<Option<...>, ...>`
|
= note: expected enum `std::result::Result<consensus_state::AnyConsensusState, ibc::core::handler::types::error::ContextError>`
found enum `std::result::Result<std::option::Option<consensus_state::AnyConsensusState>, _>`
|
Miscellaneous checks
Clippy had exited with the 101 exit code
|
Rust tests
Process completed with exit code 101.
|
Miscellaneous checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Miscellaneous checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|