From 738d028fe3c4a30af81c5d0064d57e7964dcb94a Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Tue, 27 Jun 2023 16:03:09 +0200 Subject: [PATCH] Remove websockets url where not needed for tests --- testmodule/testEnums.nim | 2 +- testmodule/testReturns.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testmodule/testEnums.nim b/testmodule/testEnums.nim index 8c7a6c6..0731ceb 100644 --- a/testmodule/testEnums.nim +++ b/testmodule/testEnums.nim @@ -15,7 +15,7 @@ suite "Contract enum parameters and return values": var snapshot: JsonNode setup: - provider = JsonRpcProvider.new("ws://localhost:8545") + provider = JsonRpcProvider.new() snapshot = await provider.send("evm_snapshot") let deployment = readDeployment() contract = TestEnums.new(!deployment.address(TestEnums), provider) diff --git a/testmodule/testReturns.nim b/testmodule/testReturns.nim index d76fb9c..77fbbee 100644 --- a/testmodule/testReturns.nim +++ b/testmodule/testReturns.nim @@ -14,7 +14,7 @@ suite "Contract return values": var snapshot: JsonNode setup: - provider = JsonRpcProvider.new("ws://localhost:8545") + provider = JsonRpcProvider.new() snapshot = await provider.send("evm_snapshot") let deployment = readDeployment() contract = TestReturns.new(!deployment.address(TestReturns), provider)