Skip to content

Commit

Permalink
Removing NodesmithProvider from default provider as it is being disco…
Browse files Browse the repository at this point in the history
…ntinued.
  • Loading branch information
ricmoo committed Nov 19, 2019
1 parent da8ca2e commit 01ca350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/networks/src.ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ function ethDefaultProvider(network: string): (providers: any) => any {
} catch(error) { }
}

/* NodeSmith is being discontinued on 2019-12-20
if (providers.NodesmithProvider) {
try {
providerList.push(new providers.NodesmithProvider(network, options.nodesmith));
} catch(error) { }
}
*/

if (providers.AlchemyProvider) {
try {
Expand Down
2 changes: 2 additions & 0 deletions packages/providers/src.ts/nodesmith-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export class NodesmithProvider extends UrlJsonRpcProvider {
}

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;
switch (network.name) {
case "homestead":
Expand Down

0 comments on commit 01ca350

Please sign in to comment.