await <ethers.ContractTransaction>.wait(1) return ContractReceipt with confirmation > 1 #2698
Unanswered
ChrisChan888
asked this question in
Q&A
Replies: 1 comment
-
I don't understand the issue being reported. Please remove the template text and fill in the details. The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Note: Not all sections may be relevant, but please be as thorough while remaining concise as possible. Remove this Notice and any sections that don't feel pertinent.
If you are unsure if something is a bug, start a thread in the "discussions" tab above..
Describe the bug
A clear and concise description of what the bug is.
await <ethers.ContractTransaction>.wait(1) return ContractTransaction with confirmation > 1
await <ethers.Providers.JsonRpcProvider >.waitForTransaction(tx.hash, 1) is the same.
Reproduction steps
Please include code snippets, with console.log output, any contract ABI, contract address, network and the full error.
tx = await <Contract>.function() if (tx) { await tx.wait(1) }
Environment:
Please include anything that may be useful in diagnosing the issue. Node vs Browser? Geth vs Parity vs Ganache? Third Party tools, like Hardhat? Mobile vs. Desktop?
"ethers": "^5.4.1",
Search Terms
Often similar issues have come up before. Include any search terms you have tried in this repository's Issues (including closed issues) and "Discussions", so if there are matching issues, we can be sure to add those keywords and link this issue to it, making it easier for people to find in the future.
Beta Was this translation helpful? Give feedback.
All reactions