Skip to main content

Timeline for Ethers JS BigNumber Errors

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Sep 11, 2022 at 15:22 vote accept Mark55
Sep 11, 2022 at 8:47 comment added Paul Razvan Berg @Mark55 you might need to take a Node.js development course.
Sep 11, 2022 at 3:24 comment added Yilmaz can you try it with smaller values. That might be a bug if your are using v5
Sep 11, 2022 at 2:14 answer added always_beta timeline score: 1
Sep 10, 2022 at 23:21 comment added Mark55 @PaulRazvanBerg Can you please elaborate on your previous comment? I have no idea what I'm supposed to be doing with this @ethersproject/constants or MaxUint256 - and how to use them in my javascript code to pass the value of 2^256-1 into my smart-contract
Sep 10, 2022 at 22:46 comment added Mark55 OK I looked into this - and I'm not sure I follow. (I've made a small update to my original question - please have a look at the bottom.) But this @ethersproject/constants seems like a node module for Solidity, not for Javascript. (I think.) So I don't understand how exactly I'm supposed to import it into my JS code, or how I'm supposed to then use this MaxUint256 in my JS code. Please look at the update. Thank you.
Sep 10, 2022 at 22:41 history edited Mark55 CC BY-SA 4.0
added 510 characters in body
Sep 10, 2022 at 20:53 comment added Paul Razvan Berg You can just import MaxUint256 from @ethersproject/constants
Sep 10, 2022 at 18:11 history asked Mark55 CC BY-SA 4.0