Hi!
I get the following error (TypeError: ethers.utils.bigNumberify is not a function) with "ethers": "5.0.0-beta.191", but not with lastest v4.
Not sure if it's a bug or just documentation for v5 beta not up to date (https://docs.ethers.io/ethers.js/v5-beta/api-utils.html)...
Docs are not updated yet. There is an API change.
Can you try:
ethers.BigNumber.from()
@zemse is correct. :)
The beta docs will be migrated to docs today as I prepare for the prod release tomorrow.
In the meantime, here are the beta docs: https://docs-beta.ethers.io/migration/ethers-v4/#migration-v4--bignumber
:)
The beta docs for migration are now here and will become non-beta tomorrow. :)
Ok, thanks everyone for your answers. Working great and wish you a happy release!
Most helpful comment
The beta docs for migration are now here and will become non-beta tomorrow. :)