Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardhat-ethers makes stack traces miss frames #3929

Open
fvictorio opened this issue May 15, 2023 · 0 comments
Open

hardhat-ethers makes stack traces miss frames #3929

fvictorio opened this issue May 15, 2023 · 0 comments
Labels
status:ready This issue is ready to be worked on type:bug Something isn't working

Comments

@fvictorio
Copy link
Member

This works

  await network.provider.send("eth_sendTransaction", [
    {
      from: "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
      data: "0xff",
    },
  ]);

But adding something like console.log(await ethers.provider.getBlockNumber()) (which will initialize the ethers provider) makes the revert miss the frame that sends the tx.

@fvictorio fvictorio added type:bug Something isn't working status:ready This issue is ready to be worked on labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on type:bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant