staking-launchpad icon indicating copy to clipboard operation
staking-launchpad copied to clipboard

Deposit TX value conversion error

Open mkykadir opened this issue 2 years ago • 0 comments

https://github.com/ethereum/staking-launchpad/blob/1ef0ab384bd6f5911ede3dd84474d613f8d549d8/src/pages/Transactions/transactionUtils.tsx#L13

toNumber may result in exponential number under some conditions, i.e. pricePerValidator: 10_000

which results in exception when calling deposit from Deposit contract

mkykadir avatar Aug 19 '22 09:08 mkykadir