Skip to content

in scroll, all the tx.wait() raise exception receipt.confirmations is not a function #4783

Open
@vvsuperman

Description

@vvsuperman

Ethers Version

6.13.0

Search Terms

receipt.confirmations is not a function

Describe the Problem

in scroll , when use contract.function to interact with contract, all the tx.wait() raise excepiont TypeError: receipt.confirmations is not a function

but actually the tx is success

Code Snippet

const croc = new CrocEnv.CrocEnv("scroll", this.wallet)
const tx =  await croc.sellEth(amount).for(usdc).swap()
await tx.wait()

Contract ABI

none

Errors

TypeError: receipt.confirmations is not a function

Environment

node.js (v12 or newer)

Environment (Other)

none

Metadata

Metadata

Assignees

Labels

investigateUnder investigation and may be a bug.v6Issues regarding v6

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions