Removing NodesmithProvider from default provider as it is being discontinued.
This commit is contained in:
parent
da8ca2e8bc
commit
01ca35036c
@ -28,11 +28,13 @@ function ethDefaultProvider(network: string): (providers: any) => any {
|
|||||||
} catch(error) { }
|
} catch(error) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* NodeSmith is being discontinued on 2019-12-20
|
||||||
if (providers.NodesmithProvider) {
|
if (providers.NodesmithProvider) {
|
||||||
try {
|
try {
|
||||||
providerList.push(new providers.NodesmithProvider(network, options.nodesmith));
|
providerList.push(new providers.NodesmithProvider(network, options.nodesmith));
|
||||||
} catch(error) { }
|
} catch(error) { }
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (providers.AlchemyProvider) {
|
if (providers.AlchemyProvider) {
|
||||||
try {
|
try {
|
||||||
|
@ -20,6 +20,8 @@ export class NodesmithProvider extends UrlJsonRpcProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static getUrl(network: Network, apiKey?: any): string {
|
static getUrl(network: Network, apiKey?: any): string {
|
||||||
|
logger.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");
|
||||||
|
|
||||||
let host = null;
|
let host = null;
|
||||||
switch (network.name) {
|
switch (network.name) {
|
||||||
case "homestead":
|
case "homestead":
|
||||||
|
Loading…
Reference in New Issue
Block a user