Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Handle scientific notation in argument initializers #355

Merged
merged 1 commit into from
Oct 25, 2018

Conversation

spalladino
Copy link
Contributor

Apparently ethereumjs-abi is using a version of bignumber that fails to
properly parse a number of the form '20e10'. To workaround this, we
pre-parse all arguments, pass them through bignumber, and then send them
to the encode function.

Fixes #327

Apparently ethereumjs-abi is using a version of bignumber that fails to
properly parse a number of the form '20e10'. To workaround this, we
pre-parse all arguments, pass them through bignumber, and then send them
to the encode function.

Fixes #327
Copy link
Contributor

@facuspagnuolo facuspagnuolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, putting this PR on-hold until we tag v2.0.0

@facuspagnuolo facuspagnuolo self-assigned this Oct 25, 2018
@facuspagnuolo facuspagnuolo added status:on-hold Do not move forward for now and removed status:on-hold Do not move forward for now labels Oct 25, 2018
@facuspagnuolo facuspagnuolo merged commit 5975fc1 into master Oct 25, 2018
@facuspagnuolo facuspagnuolo deleted the fix/scientific-notation-in-init-args-#327 branch October 25, 2018 21:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle scientific notation for init arguments in CLI
2 participants