Skip to content

Commit 4838939

Browse files
committed
docs: switch from test Infura key which seems to have been abducted by someone else
1 parent b630a57 commit 4838939

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs.wrm/config.mjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ export default {
3535
// Prepare the context for running the examples
3636
contextify: function(context) {
3737
Object.assign(context, ethers);
38-
context.provider = new ethers.InfuraProvider("mainnet", "49a0efa3aaee4fd99797bfa94d8ce2f1");
38+
//context.provider = new ethers.InfuraProvider("mainnet", "49a0efa3aaee4fd99797bfa94d8ce2f1");
39+
context.provider = new ethers.InfuraProvider("mainnet");
3940
context.Uint8Array = Uint8Array;
4041

4142
ethers.InfuraProvider.prototype[inspect.custom] = function(depth, options, inspect) {

docs.wrm/getting-started.wrm

-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ the data on the blockchain. This can be used to query the current
220220
account state, fetch historic logs, look up contract code and so on.
221221

222222
_code: @lang<javascript>
223-
//_hide: provider = new InfuraProvider();
224223

225224
// Look up the current block number (i.e. height)
226225
await provider.getBlockNumber()

0 commit comments

Comments
 (0)