-
Notifications
You must be signed in to change notification settings - Fork 36
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
Upgrading zksync-ethers
to 6.12.0
breaks hardhat chai matchers
#200
Comments
We have updated how the error handling works since a lot of the custom ZKsync error messages where not displayed correctly with |
The error is not from the assertion. It's coming from the If it would've been the assertion that throws, the error message would be (example):
Also, I've been tinkering with it and I found that if i remove this overridden getRpcError method, it works again v6.11.2...v6.12.0#diff-e0e6d91455eef50c5793e300039e5cdc7e6d372707172b639564495e4fa0a2f3R2386-R2394 |
I have found the issue, the fix should be live today or tomorrow |
Thank you! |
It should work now with version |
🐛 Bug Report for zksync-ethers JavaScript SDK
📝 Description
The following assertion:
fails with zksync-ethers 6.12.0 with
but works with 6.11.2
🔄 Reproduction Steps
npm i && npm test:zk
, observe the test suite successfully rantest/accessors/SimulateTxAccessor.spec.ts
🤔 Expected Behavior
The test suite passes after the upgrade
😯 Current Behavior
The test suite fails
🖥️ Environment
The text was updated successfully, but these errors were encountered: