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

Ergo Connector: Fix for large token amounts #2232

Merged
merged 2 commits into from
Jul 14, 2021

Conversation

rooooooooob
Copy link
Contributor

The previous definition of the TxJson we had amount/value as just
number, but now it accepts number/string so we can fully support values
too big for a 53-bit JS number. The dApp example was updated to fully
use BigInt as well.

Fixes #2209

The previous definition of the TxJson we had had amount/value as just
number, but now it accepts number/string so we can fully support values
too big for a 53-bit JS number. The dApp example was updated to fully
use BigInt as well.
Copy link
Contributor

@vsubhuman vsubhuman left a comment

Choose a reason for hiding this comment

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

/check

@vsubhuman vsubhuman merged commit 7bbf299 into develop Jul 14, 2021
@vsubhuman vsubhuman deleted the ergo-connector-large-token-values-fix branch July 14, 2021 22:51
This was referenced Jul 14, 2021
@vsubhuman vsubhuman mentioned this pull request Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ergo connector: Large (>Number.MAX_SAFE_INTEGER) quantities in txs render them unsignable.
2 participants