From eca9fed51dd2e905e534d693a29f84b302d717ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Wed, 7 Sep 2022 17:17:24 +0200 Subject: [PATCH] update tests --- clients/validator/tests/query/balance.test.ts | 4 ++-- nym-wallet/src-tauri/src/config/mod.rs | 2 +- nym-wallet/src-tauri/src/state.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/validator/tests/query/balance.test.ts b/clients/validator/tests/query/balance.test.ts index b9ed9e8737..254e54a745 100644 --- a/clients/validator/tests/query/balance.test.ts +++ b/clients/validator/tests/query/balance.test.ts @@ -4,8 +4,8 @@ import expect from 'expect'; describe('Query: balances', () => { it('can query for an account balance', async () => { const client = await ValidatorClient.connectForQuery( - 'https://rpc.nyx.nodes.guru/', 'https://validator.nymtech.net/api/', 'n', 'n14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sjyvg3g', 'n1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrq73f2nw', 'nym'); + 'https://rpc.nymtech.net/', 'https://validator.nymtech.net/api/', 'n', 'n14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sjyvg3g', 'n1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrq73f2nw', 'nym'); const balance = await client.getBalance('n10yyd98e2tuwu0f7ypz9dy3hhjw7v772q6287gy'); expect(Number.parseFloat(balance.amount)).toBeGreaterThan(0); }).timeout(5000); -}) \ No newline at end of file +}) diff --git a/nym-wallet/src-tauri/src/config/mod.rs b/nym-wallet/src-tauri/src/config/mod.rs index 6ac65f3b45..8fcfc95a6c 100644 --- a/nym-wallet/src-tauri/src/config/mod.rs +++ b/nym-wallet/src-tauri/src/config/mod.rs @@ -552,7 +552,7 @@ api_url = 'https://baz/api' .next() .map(|v| v.nymd_url) .unwrap(); - assert_eq!(nymd_url.as_ref(), "https://rpc.nyx.nodes.guru/"); + assert_eq!(nymd_url.as_ref(), "https://rpc.nymtech.net/"); let api_url = config .get_base_validators(WalletNetwork::MAINNET) diff --git a/nym-wallet/src-tauri/src/state.rs b/nym-wallet/src-tauri/src/state.rs index 3abcb29324..458aa3e418 100644 --- a/nym-wallet/src-tauri/src/state.rs +++ b/nym-wallet/src-tauri/src/state.rs @@ -516,7 +516,7 @@ mod tests { "http://nymd_url.com/".parse().unwrap(), "http://foo.com".parse().unwrap(), "http://bar.com".parse().unwrap(), - "https://rpc.nyx.nodes.guru".parse().unwrap(), + "https://rpc.nymtech.net".parse().unwrap(), ], ); assert_eq!( @@ -538,7 +538,7 @@ mod tests { "http://nymd_url.com/".parse().unwrap(), "http://foo.com".parse().unwrap(), "http://bar.com".parse().unwrap(), - "https://rpc.nyx.nodes.guru".parse().unwrap(), + "https://rpc.nymtech.net".parse().unwrap(), ], ) }