Skip to content

[Signature Redesign] fix Error: new BigNumber() number type has more than 15 significant digits: 3.000123123123121e+26 #25751

@digiwand

Description

@digiwand

What is this about?

On the redesign signature pages, an error displays when the value in the parsed message or the calculation to insert the tokenDecimals exceeds 15 digits. This happens for both the simulation and the data tree value display. We need to fix the error message and fix the precision.

CleanShot 2024-07-10 at 01 14 52

Related: #25438

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

No response

Stakeholder review needed before the work gets merged

  • Engineering (needed in most cases)
  • Design
  • Product
  • QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
  • Security
  • Legal
  • Marketing
  • Management (please specify)
  • Other (please specify)

References

No response

Metadata

Metadata

Assignees

Labels

release-12.1.0Issue or pull request that will be included in release 12.1.0release-12.3.0Issue or pull request that will be included in release 12.3.0team-confirmationsPush issues to confirmations teamtype-bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions