Skip to content

Commit

Permalink
update testnet node of atom
Browse files Browse the repository at this point in the history
Signed-off-by: ozkanonur <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Mar 6, 2023
1 parent 72a8882 commit b0908d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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 b0908d5

Please sign in to comment.