File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 )  { 
Original file line number Diff line number Diff line change @@ -220,7 +220,6 @@ the data on the blockchain. This can be used to query the current
220220account 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()
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments