-
-
Notifications
You must be signed in to change notification settings - Fork 698
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
Expect fails while comparing BigNumber #1382
Comments
i think #1365 fixed it but there isn't interest in fixing the problem in chai for some reason |
It's been 5 months since you posted the PR, but still no fix, sad :( |
i'd understand if the overhaul was coming soon and no new release were being made, but dev/fixes have continued in the branch, and new releases cut. so it seems odd that @keithamus prefers to leave chai broken. |
yeah, the latest release was 8 days ago, could have added your PR, even it wasn't that long, just a couple lines of code. |
If you want to re-raise it on the |
@AbdulRafaySiddiqui can you give #1383 a try and see if it fixes your problems ? |
On second glance this is using a custom @AbdulRafaySiddiqui you should consider using |
Thanks, @keithamus , I checked, using |
Looks like it overrides the matchers. Do you have the following added: import { solidity } from "ethereum-waffle";
chai.use(solidity); If you don't it won't work |
No, I don't have that, I was following hardhat docs |
This is my exact code. |
I'm not familiar with any of these APIs so I can't tell you what you need to do but the default behaviour of Chai's |
Hmm, that's the reason, Anyways thanks for your help, I can just use the |
Does this issue fixed? I just encoutered the same issue. |
Can anyone tell, why both of the following expects are failing
The text was updated successfully, but these errors were encountered: