Open ahmedali8 opened 1 year ago
Yeah, go for it, thanks very much!
I think there are two possible ways, correct me if I'm wrong please.
toBn
and fromBn
:return parseFixed(xs, decimals).toBigInt()
https://github.com/PaulRBerg/evm-bn/blob/bff6991c697150f2d387e0b591ce81d23efb8271/src/toBn.ts#L40
parseFixed
for bigintWhat do you suggest?
@ahmedali8 I'm unfortunately tied up with my work at Sablier V2 and not able to provide implementation feedback at the moment
No worries @PaulRBerg, do let me know whenever you get time. I'll use a workaround for my task as of now. Thanks!
Hi @PaulRBerg, would like to open a PR for this, if you think it's a good idea to migrate as ethers now use bigint in v6.