DO NOT MERGE: this is essentially just dusterbloom/neutron-testnet-websocket-url syncd with main (for testing the rust cw client) #65
Annotations
4 warnings
useless use of `format!`:
crates/cli/src/handler/enclave_start.rs#L35
warning: useless use of `format!`
--> crates/cli/src/handler/enclave_start.rs:35:27
|
35 | let enclave_dir = format!("/tmp/neutrond_wasm");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"/tmp/neutrond_wasm".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
|
useless use of `format!`:
crates/cli/src/handler/enclave_start.rs#L35
warning: useless use of `format!`
--> crates/cli/src/handler/enclave_start.rs:35:27
|
35 | let enclave_dir = format!("/tmp/neutrond_wasm");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"/tmp/neutrond_wasm".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
|
writing `&String` instead of `&str` involves a new object where a slice will do:
crates/cli/src/handler/utils/helpers.rs#L62
warning: writing `&String` instead of `&str` involves a new object where a slice will do
--> crates/cli/src/handler/utils/helpers.rs:62:43
|
62 | pub fn query_latest_height_hash(node_url: &String) -> Result<(Height, Hash), Error> {
| ^^^^^^^ help: change this to: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
writing `&String` instead of `&str` involves a new object where a slice will do:
crates/cli/src/handler/utils/helpers.rs#L62
warning: writing `&String` instead of `&str` involves a new object where a slice will do
--> crates/cli/src/handler/utils/helpers.rs:62:43
|
62 | pub fn query_latest_height_hash(node_url: &String) -> Result<(Height, Hash), Error> {
| ^^^^^^^ help: change this to: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|