Implement mock cosmos chain using ibc-rs
, tendermint-rs
and basecoin
libs
#1628
Annotations
4 errors
this `if` branch is empty:
crates/relayer/src/chain/cosmos.rs#L572
error: this `if` branch is empty
--> crates/relayer/src/chain/cosmos.rs:572:9
|
572 | if prove {}
| ^^^^^^^^^^^ help: you can remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_if
= note: `#[deny(clippy::needless_if)]` implied by `#[deny(warnings)]`
|
unnecessary hashes around raw string literal:
crates/relayer/src/error.rs#L693
error: unnecessary hashes around raw string literal
--> crates/relayer/src/error.rs:693:20
|
693 | Regex::new(r#"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"#)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
note: the lint level is defined here
--> crates/relayer/src/lib.rs:3:5
|
3 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_raw_string_hashes)]` implied by `#[deny(warnings)]`
|
this `if` branch is empty:
crates/relayer/src/chain/cosmos.rs#L572
error: this `if` branch is empty
--> crates/relayer/src/chain/cosmos.rs:572:9
|
572 | if prove {}
| ^^^^^^^^^^^ help: you can remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_if
= note: `#[deny(clippy::needless_if)]` implied by `#[deny(warnings)]`
|
unnecessary hashes around raw string literal:
crates/relayer/src/error.rs#L693
error: unnecessary hashes around raw string literal
--> crates/relayer/src/error.rs:693:20
|
693 | Regex::new(r#"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"#)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
note: the lint level is defined here
--> crates/relayer/src/lib.rs:3:5
|
3 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_raw_string_hashes)]` implied by `#[deny(warnings)]`
|