Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
chore: remove outdated warning about EIP-1193 fork providers (#2856)
Browse files Browse the repository at this point in the history
closes #2558
  • Loading branch information
gnidan authored and davidmurdoch committed Apr 22, 2022
1 parent 01aeb2e commit 892c68f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ export class ProviderHandler extends BaseHandler implements Handler {
}
};
} else if (typeof (provider as any).send === "function") {
// TODO: remove support for legacy providers' legacy `.send`
console.warn(
"WARNING: Ganache forking only supports EIP-1193-compliant providers. Legacy support for send is currently enabled, but will be removed in a future version _without_ a breaking change. To remove this warning, switch to an EIP-1193 provider. This error is probably caused by an old version of Web3's HttpProvider (or ganache < v7)"
);
this._request = async (method: string, params: unknown[]) => {
return await new Promise((resolve, reject) => {
const request = {
Expand Down

0 comments on commit 892c68f

Please sign in to comment.