Description
When I'm trying to call the ethers.Contract function (with a uint type argument(s)) I'm getting the next error:
TypeError: Cannot read property 'toHexString' of null
The stack trace leads me to the ethers.utils.bigNumberify method. I tried to convert args to BigNumber, string, number (using parseInt), BN (why not) - all this tries failed. Initial values are normal integers, when I call the same methods using web3 all is fine. What can be wrong? Thanks in advance for your help 😄
Versions
- web3
1.0.0-beta.37
- ethers
4.0.27
Description
When I'm trying to call the
ethers.Contractfunction (with auinttype argument(s)) I'm getting the next error:The stack trace leads me to the
ethers.utils.bigNumberifymethod. I tried to convert args toBigNumber,string,number(usingparseInt),BN(why not) - all this tries failed. Initial values are normal integers, when I call the same methods using web3 all is fine. What can be wrong? Thanks in advance for your help 😄Versions
1.0.0-beta.374.0.27