ethers.js: ReferenceError in JsonRpcProvider

Getting this error

 Uncaught (in promise) ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor

in https://github.com/ethers-io/ethers.js/blob/7f0374c5a5ecb636d02f30fc9aa4f358e8fee7e9/packages/providers/src.ts/json-rpc-provider.ts#L238

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (12 by maintainers)

Commits related to this issue

Most upvoted comments

FYI. Looks like that issue has been marked to be fixed in TypeScript 4. 😃

The FallbackProvider has also been updated and is available in 5.0.0-beta.187.