Skip to content

Network does not support ENS #5009

@doubleb219

Description

@doubleb219

Ethers Version

5.8.0

Search Terms

ENS

Describe the Problem

I've tried to call write function of the contract on Pulse testnetchain. But I saw error like this
network does not support ENS (operation="getResolver", network="unknown", code=UNSUPPORTED_OPERATION, version=providers/5.8.0) {"reason":"network does not support ENS","code":"UNSUPPORTED_OPERATION","operation":"getResolver","network":"unknown","stack"
How should I solve this problem?

Code Snippet

const tx = await this.pool.flashLoan(
        flashLoanParams.receiver,
        flashLoanParams.assets,
        flashLoanParams.amounts,
        flashLoanParams.interestRateModes,
        this.wallet!.address,
        flashLoanParams.params,
        flashLoanParams.referralCode,
        {
          gasLimit: 2000000,
          gasPrice: currentGasPrice
        }
      );

Contract ABI

Errors

Environment

No response

Environment (Other)

No response

Metadata

Metadata

Assignees

Labels

v5Issues regarding legacy-v5

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions