Trying InfuraProvider for contract tests.
This commit is contained in:
parent
647fbd8cbf
commit
55d98e852b
@ -6,8 +6,8 @@ import { ethers } from "ethers";
|
||||
|
||||
import contractData from "./test-contract.json";
|
||||
|
||||
//const provider = new ethers.providers.InfuraProvider('rinkeby');
|
||||
const provider = ethers.getDefaultProvider("rinkeby");
|
||||
const provider = new ethers.providers.InfuraProvider('rinkeby');
|
||||
//const provider = ethers.getDefaultProvider("rinkeby");
|
||||
|
||||
const TIMEOUT_PERIOD = 120000;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user