We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whenever you use
new web3.BigNumber(X)
X should be a STRING, not a number.
example:
new web3.BigNumber('0.02714285714285714') //success new web3.BigNumber(0.02714285714285714) //error
Uncaught Error: new BigNumber() number type has more than 15 significant digits: 0.02714285714285714
@fernandomg @pablofullana
hence why the UI can't load the screen https://wizard.oracles.org/crowdsale?addr=0x603a69c48a3175e99C06581feFC7a8D22D6ad894&networkID=1 (mainnet)
token-wizard/src/components/Common/BigNumberInput.js
Line 52 in 28b179e
value.toString()
The text was updated successfully, but these errors were encountered:
Reproduced it once Parameters: decimals=18, rate=1401, supply=51578 Purshase=6+0.000000000000011
wizard.oracles.org-1521179283492.log
Sorry, something went wrong.
Merge pull request #709 from poanetwork/fix-numbers-operations-#706
2c751b7
(Fix) Cast to bigNumber values returned by contracts
fernandomg
No branches or pull requests
Whenever you use
X should be a STRING, not a number.
example:
@fernandomg @pablofullana
hence why the UI can't load the screen
https://wizard.oracles.org/crowdsale?addr=0x603a69c48a3175e99C06581feFC7a8D22D6ad894&networkID=1
(mainnet)
token-wizard/src/components/Common/BigNumberInput.js
Line 52 in 28b179e
value.toString()
should beThe text was updated successfully, but these errors were encountered: