Infer compatibility mode from version specs and fallback to node info only if necessary #3444
Annotations
4 errors
useless conversion to the same type: `tendermint_rpc::client::CompatMode`:
crates/relayer-cli/src/commands/listen.rs#L203
error: useless conversion to the same type: `tendermint_rpc::client::CompatMode`
--> crates/relayer-cli/src/commands/listen.rs:203:8
|
203 | Ok(compat_mode.into())
| ^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `compat_mode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
|
useless conversion to the same type: `tendermint_rpc::client::CompatMode`:
crates/relayer-cli/src/commands/listen.rs#L203
error: useless conversion to the same type: `tendermint_rpc::client::CompatMode`
--> crates/relayer-cli/src/commands/listen.rs:203:8
|
203 | Ok(compat_mode.into())
| ^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `compat_mode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
|
useless conversion to the same type: `tendermint_rpc::client::CompatMode`:
crates/relayer-cli/src/commands/listen.rs#L203
error: useless conversion to the same type: `tendermint_rpc::client::CompatMode`
--> crates/relayer-cli/src/commands/listen.rs:203:8
|
203 | Ok(compat_mode.into())
| ^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `compat_mode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
|
useless conversion to the same type: `tendermint_rpc::client::CompatMode`:
crates/relayer-cli/src/commands/listen.rs#L203
error: useless conversion to the same type: `tendermint_rpc::client::CompatMode`
--> crates/relayer-cli/src/commands/listen.rs:203:8
|
203 | Ok(compat_mode.into())
| ^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `compat_mode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
|