hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Minimally patch the viaIR issue for running unit tests

Open jflatow opened this issue 3 years ago • 9 comments

This minimally patches the viaIR issue for a particular case where we are encountering it.

I believe this is also addresses the cause of #2115.

jflatow avatar Feb 17 '22 22:02 jflatow

⚠️ No Changeset found

Latest commit: c4914b5bdc41eb74a93569454e132c157ab36560

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Feb 17 '22 22:02 changeset-bot[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 17 '22 22:02 CLAassistant

This PR was marked as stale because it didn't have any activity in the last 30 days. Please excuse us if we didn't have enough time to review it and get it merged. If you are still interested in getting these changes applied, please leave a comment indicating so. Otherwise, it will be closed in 7 days.

github-actions[bot] avatar May 05 '22 21:05 github-actions[bot]

This PR was marked as stale because it didn't have any activity in the last 30 days. Please excuse us if we didn't have enough time to review it and get it merged. If you are still interested in getting these changes applied, please leave a comment indicating so. Otherwise, it will be closed in 7 days.

Please don't close until fixed!

jflatow avatar May 05 '22 23:05 jflatow

This PR was marked as stale because it didn't have any activity in the last 30 days. Please excuse us if we didn't have enough time to review it and get it merged. If you are still interested in getting these changes applied, please leave a comment indicating so. Otherwise, it will be closed in 7 days.

github-actions[bot] avatar Jun 05 '22 02:06 github-actions[bot]

This PR was marked as stale because it didn't have any activity in the last 30 days. Please excuse us if we didn't have enough time to review it and get it merged. If you are still interested in getting these changes applied, please leave a comment indicating so. Otherwise, it will be closed in 7 days.

Please don't close until fixed!

jflatow avatar Jun 06 '22 21:06 jflatow

This PR was marked as stale because it didn't have any activity in the last 30 days. Please excuse us if we didn't have enough time to review it and get it merged. If you are still interested in getting these changes applied, please leave a comment indicating so. Otherwise, it will be closed in 7 days.

github-actions[bot] avatar Jul 06 '22 21:07 github-actions[bot]

This PR was marked as stale because it didn't have any activity in the last 30 days. Please excuse us if we didn't have enough time to review it and get it merged. If you are still interested in getting these changes applied, please leave a comment indicating so. Otherwise, it will be closed in 7 days.

Please don't close until fixed!

jflatow avatar Jul 06 '22 22:07 jflatow

Any reason NOT to merge this issue? while it doesn't "fix" the stack trace, at least it makes normal revert-to-error mapping works correctly and not break tests needlessly, and show the proper revert reason. I came up with the exact same problem (failed unittest) and almost exact same workaround...

drortirosh avatar Jul 11 '22 12:07 drortirosh

Hey guys, I'm very sorry for not merging this sooner. I believe this will be fixed (at least partially) by https://github.com/NomicFoundation/hardhat/pull/3205, so I'm going to close this one. I hope we can release that change in the coming weeks and I'll try to remember to let you know here when it's released.

fvictorio avatar Sep 28 '22 10:09 fvictorio