diff --git a/build.gradle b/build.gradle index 77ae9d4..b3392b0 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ repositories { } dependencies { - implementation 'org.torusresearch:fetch-node-details-java:3.0.0' + implementation 'org.torusresearch:fetch-node-details-java:3.1.0' implementation 'org.web3j:core:4.8.8-android' implementation 'com.google.code.gson:gson:2.9.0' implementation 'com.squareup.okhttp3:okhttp:4.9.3' diff --git a/src/test/java/org/torusresearch/torusutilstest/OneKeyTest.java b/src/test/java/org/torusresearch/torusutilstest/OneKeyTest.java index 7305913..bebffb7 100644 --- a/src/test/java/org/torusresearch/torusutilstest/OneKeyTest.java +++ b/src/test/java/org/torusresearch/torusutilstest/OneKeyTest.java @@ -42,7 +42,7 @@ public class OneKeyTest { @BeforeAll static void setup() throws ExecutionException, InterruptedException, IOException, NoSuchAlgorithmException, InvalidKeySpecException { System.out.println("Setup Starting"); - fetchNodeDetails = new FetchNodeDetails("https://small-long-brook.ropsten.quiknode.pro/e2fd2eb01412e80623787d1c40094465aa67624a", FetchNodeDetails.PROXY_ADDRESS_TESTNET); + fetchNodeDetails = new FetchNodeDetails(TorusNetwork.TESTNET, FetchNodeDetails.PROXY_ADDRESS_TESTNET); TorusCtorOptions opts = new TorusCtorOptions("Custom"); opts.setNetwork("testnet"); opts.setEnableOneKey(true); diff --git a/src/test/java/org/torusresearch/torusutilstest/TorusUtilsTest.java b/src/test/java/org/torusresearch/torusutilstest/TorusUtilsTest.java index 7803264..8a254fe 100644 --- a/src/test/java/org/torusresearch/torusutilstest/TorusUtilsTest.java +++ b/src/test/java/org/torusresearch/torusutilstest/TorusUtilsTest.java @@ -42,7 +42,7 @@ public class TorusUtilsTest { @BeforeAll static void setup() throws ExecutionException, InterruptedException, IOException, NoSuchAlgorithmException, InvalidKeySpecException { System.out.println("Setup Starting"); - fetchNodeDetails = new FetchNodeDetails("https://small-long-brook.ropsten.quiknode.pro/e2fd2eb01412e80623787d1c40094465aa67624a", FetchNodeDetails.PROXY_ADDRESS_TESTNET); + fetchNodeDetails = new FetchNodeDetails(TorusNetwork.TESTNET, FetchNodeDetails.PROXY_ADDRESS_TESTNET); TorusCtorOptions opts = new TorusCtorOptions("Custom"); opts.setNetwork("testnet"); torusUtils = new TorusUtils(opts);