Open hzhu opened 1 year ago
This issue is reproducible in the sandbox with the following code as well.
import { FetchRequest } from "ethers";
async function example() {
const f = new FetchRequest("https://google.com");
await f.send();
}
example();
Might be somewhere around: https://github.com/ethers-io/ethers.js/blob/c785c1e5153d5a85a78f90f177577f2c8df15529/src.ts/utils/fetch.ts#L127.
Ethers Version
6.2.3
Search Terms
provider, v6, getTransaction
Describe the Problem
The usage of the
provider.getTransaction
throws an error in this minimal CodeSandbox demo:and then repeatedly logs:
Code Snippet
Contract ABI
No response
Errors
Environment
Other (please specify)
Environment (Other)
CodeSandbox