File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,10 @@ const ProviderCreators: Array<ProviderCreator> = [
7070 name : "InfuraProvider" ,
7171 networks : ethNetworks ,
7272 create : function ( network : string ) {
73- return new InfuraProvider ( network , "49a0efa3aaee4fd99797bfa94d8ce2f1" ) ;
73+ //return new InfuraProvider(network, "49a0efa3aaee4fd99797bfa94d8ce2f1");
74+ // Important: INFURA selects netwowrks based on API key, so
75+ // to test proper default configuation, we must use it
76+ return new InfuraProvider ( network ) ;
7477 }
7578 } ,
7679 /*
Original file line number Diff line number Diff line change @@ -60,14 +60,15 @@ function getHost(name: string): string {
6060 return "arbitrum-sepolia.infura.io" ;
6161 case "base" :
6262 return "base-mainnet.infura.io" ;
63- case "base-goerlia" :
63+ case "base-goerlia" : // @TODO : Remove this typo in the future!
64+ case "base-goerli" :
6465 return "base-goerli.infura.io" ;
6566 case "base-sepolia" :
6667 return "base-sepolia.infura.io" ;
6768 case "bnb" :
68- return "bnbsmartchain -mainnet.infura.io" ;
69+ return "bsc -mainnet.infura.io" ;
6970 case "bnbt" :
70- return "bnbsmartchain -testnet.infura.io" ;
71+ return "bsc -testnet.infura.io" ;
7172 case "linea" :
7273 return "linea-mainnet.infura.io" ;
7374 case "linea-goerli" :
You can’t perform that action at this time.
0 commit comments