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

[FIX] Fixes renderFromGwei related crashes #3538

Merged
merged 16 commits into from
Feb 4, 2022

Conversation

andreahaku
Copy link
Member

@andreahaku andreahaku commented Jan 5, 2022

Description

Fixes some crashes related to transaction notification info display and others related to calculating/displaying gas fees. The main issue was that calculated gwei where not always integers/string format but could be undefined/decimal crashing the numberToBN method.

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

Issue

Resolves #3537

@andreahaku andreahaku self-assigned this Jan 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2022

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@andreahaku andreahaku marked this pull request as ready for review January 5, 2022 14:04
@andreahaku andreahaku requested a review from a team as a code owner January 5, 2022 14:04
app/util/number/index.js Outdated Show resolved Hide resolved
Copy link
Member

@rickycodes rickycodes left a comment

Choose a reason for hiding this comment

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

LGTM! thanks for working through the suggestions :)

Copy link
Member

@gantunesr gantunesr left a comment

Choose a reason for hiding this comment

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

🚀 🚀 🚀 🚀

@gantunesr gantunesr added the needs-qa Any New Features that needs a full manual QA prior to being added to a release. label Jan 8, 2022
@gantunesr
Copy link
Member

@andreahaku can you provide steps to reproduce the bug for QA? Please

@andreahaku
Copy link
Member Author

@andreahaku can you provide steps to reproduce the bug for QA? Please

This can be replicated by doing and ETH transaction from one account to another (same wallet or different wallet) and by tapping on any of the popup notification messages confirming the transaction on both the sending and/or receiving wallets/accounts.

@andreahaku andreahaku added the Code Impact - Medium Average task code change that can relatively safely being applied to the codebase label Jan 10, 2022
@andreahaku andreahaku added the Priority - Medium Task with medium priority label Jan 18, 2022
@cortisiko cortisiko added QA in Progress QA has started on the feature. and removed needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels Jan 26, 2022
Copy link
Member

@cortisiko cortisiko left a comment

Choose a reason for hiding this comment

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

🌮 🌮 🌮 🌮

@cortisiko cortisiko added QA Passed A successful QA run through has been done and removed QA in Progress QA has started on the feature. labels Jan 31, 2022
@andreahaku andreahaku changed the base branch from develop to main February 1, 2022 17:55
@andrepimenta andrepimenta merged commit 191fb0f into main Feb 4, 2022
@andrepimenta andrepimenta deleted the bugfix/rederFromWei_crashes branch February 4, 2022 19:48
@github-actions github-actions bot locked and limited conversation to collaborators Feb 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Code Impact - Medium Average task code change that can relatively safely being applied to the codebase Priority - Medium Task with medium priority QA Passed A successful QA run through has been done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transaction crash caused by undefined or decimal values
5 participants