Purpose of this PR is to confirm that the wallet module accepts a KOVAN Infura RPC url and it is functional. The 'basic connectivity' test confirms that the urls works by reading the network ID.
To test that the Kovan RPC URL is validated by ethers js I have made some manual changes in the tests/keeper.test.jsfile.
I've changed network.rpcURL = 'http://localhost:2000'; to network.rpcURL = 'infura_url on line 16
and ran the below test function which should test that the kovan network ID is 42
test('basic connectivity', async () => {
let id = await network.provider.getNetwork();
expect(typeof id.chainId).toBe(42);
});
Purpose of this PR is to confirm that the wallet module accepts a KOVAN Infura RPC url and it is functional. The 'basic connectivity' test confirms that the urls works by reading the network ID.
To test that the Kovan RPC URL is validated by ethers js I have made some manual changes in the
tests/keeper.test.js
file. I've changednetwork.rpcURL = 'http://localhost:2000'
; tonetwork.rpcURL = 'infura_url
on line 16 and ran the below test function which should test that the kovan network ID is 42