Skip to content

Commit

Permalink
fix: update testnet node of atom, ignore RUSTSEC-2023-0018 (#1692)
Browse files Browse the repository at this point in the history
* update testnet node of atom

* add duplicate crates to deny.toml

* ignore RUSTSEC-2023-0018 for now

* remove added duplicates from deny.toml

---------

Signed-off-by: ozkanonur <work@onurozkan.dev>
Co-authored-by: ozkanonur <work@onurozkan.dev>
  • Loading branch information
shamardy and onur-ozkan authored Mar 6, 2023
1 parent ec6d028 commit b6a9c92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ ignore = [
"RUSTSEC-2021-0059",
"RUSTSEC-2021-0060",
"RUSTSEC-2022-0090",
"RUSTSEC-2023-0018",
]
# Threshold for security vulnerabilities, any vulnerability with a CVSS score
# lower than the range specified will be ignored. Note that ignored advisories
Expand Down
2 changes: 1 addition & 1 deletion mm2src/coins/tendermint/rpc/tendermint_wasm_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ mod tests {

#[wasm_bindgen_test]
async fn test_get_abci_info() {
let client = HttpClient::new("https://cosmos-testnet-rpc.allthatnode.com:26657").unwrap();
let client = HttpClient::new("https://rpc.sentry-02.theta-testnet.polypore.xyz").unwrap();
client.abci_info().await.unwrap();
}
}
2 changes: 1 addition & 1 deletion mm2src/coins/tendermint/tendermint_coin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl RpcCommonOps for TendermintCoin {
let mut client_impl = self.client.0.lock().await;
// try to find first live client
for (i, client) in client_impl.rpc_clients.clone().into_iter().enumerate() {
match client.perform(HealthRequest).timeout(Duration::from_secs(5)).await {
match client.perform(HealthRequest).timeout(Duration::from_secs(15)).await {
Ok(Ok(_)) => {
// Bring the live client to the front of rpc_clients
client_impl.rpc_clients.rotate_left(i);
Expand Down
2 changes: 1 addition & 1 deletion mm2src/mm2_main/tests/mm2_tests/tendermint_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use serde_json::{self as json, json};
const ATOM_TEST_BALANCE_SEED: &str = "atom test seed";
const ATOM_TEST_WITHDRAW_SEED: &str = "atom test withdraw seed";
const ATOM_TICKER: &str = "ATOM";
const ATOM_TENDERMINT_RPC_URLS: &[&str] = &["https://cosmos-testnet-rpc.allthatnode.com:26657"];
const ATOM_TENDERMINT_RPC_URLS: &[&str] = &["https://rpc.sentry-02.theta-testnet.polypore.xyz"];

const IRIS_TESTNET_RPC_URLS: &[&str] = &["http://34.80.202.172:26657"];

Expand Down

0 comments on commit b6a9c92

Please sign in to comment.