Issue with BigNumber format in arrays after bumping HH #3901
-
HI, i bumped my Hardhat version to 2.12.3 because I wanted to take advantage of some OZ plugin improvements. But I found out a bunch of my tests are now failing because seems like BigNumbers are coming in a different way? (hex value and isBigNumber) This causes all my chai assertions for arrays that contain BigNumbers to fail. Im defining all big numbers in my tests as :
How can I fix this? Anyone experienced this? This tests worked fine before doing the bump. Im quite shocked. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This was fixed by bumping ethers as well. |
Beta Was this translation helpful? Give feedback.
This was fixed by bumping ethers as well.