Skip to content
New issue

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

Replace parseFloat calls with BigNumber #544

Merged
merged 2 commits into from
Jan 16, 2018

Conversation

mhuggins
Copy link
Contributor

What current issue(s) from Trello/Github does this address?
N/A

What problem does this PR solve?
It replaces several remaining parseFloat calls to ensure we use BigNumber instead.

How did you solve this problem?
I reused our existing toBigNumber and toNumber calls.

How did you make sure your solution works?
I ran the test suite and sent transactions. I did not test the sale changes since this is dependent on #528.

Are there any special changes in the code that we should be aware of?
N/A

Is there anything else we should know?
N/A

  • Unit tests written?

@mhuggins mhuggins changed the title Replace parseFloats with BigNumber Replace parseFloat calls with BigNumber Jan 16, 2018
@coveralls
Copy link

Coverage Status

Coverage remained the same at 40.401% when pulling 0f8997b on neoverse:validate-transaction-bignumber into 9715348 on CityOfZion:dev.

@dvdschwrtz-zz dvdschwrtz-zz merged commit 4b83e4a into CityOfZion:dev Jan 16, 2018
dvdschwrtz-zz pushed a commit that referenced this pull request Jan 18, 2018
* Fixed transaction history verbosity (#513)

* Add RHT token (Redeemable HashPuppy Token) (#499)

* Add custom tokens (#539)

* Adds token management

* Add .settings to ignore

* Remove

* Remove <div>

* Fix e2e

*  FIX: application gets in bad state if incorrect json filed is used when restoring wallet (#533)

* FIX: application gets in bad state if incorrect json filed is used in recovery method

* EDIT restore walletHasKey to original format

* Replace parseFloat calls with BigNumber (#544)

* Removed parseFloat from transaction validation functions

* Removed parseFloat from token sale functions

* Token sale UI (#546)

* setup structure for token sale and fix merge conflicts

* working on finishing ICO portion

* still working on changes to mint tokens

* working on token sale - successfully minting

* update token sale code

* work in progress. restructured inside dashboard

* adding ledger support

* ledger and non-ledger minting on the non verified smart contracts

* Remove symbol

* implement tokens sales ui & lots of other fixes

* rework notifications

* Fix zero balance bug

* Fix nep5 sending

* Fixing test

* fix tests

* remove condtional

* update to 0.1.0

* update to 010 (#550)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants