Trying InfuraProvider for contract tests.

This commit is contained in:
Richard Moore 2020-05-12 23:23:43 -04:00
parent 647fbd8cbf
commit 55d98e852b
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

View File

@ -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;