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] Patch assets-controller to not use BigInt #6305

Merged
merged 5 commits into from
May 1, 2023
Merged

Conversation

Cal-L
Copy link
Contributor

@Cal-L Cal-L commented Apr 28, 2023

Development & PR Process

  1. Follow MetaMask Mobile Coding Standards
  2. Add release-xx label to identify the PR slated for a upcoming release (will be used in release discussion)
  3. Add needs-dev-review label when work is completed
  4. Add needs-qa label when dev review is completed
  5. Add QA Passed label when QA has signed off

Description

This PR patches @metamask/assets-controller to comment out BigInt related code for now. We will reintroduce it once RN 0.71.6 upgrade is finished.

Screenshots/Recordings

bigintfix.mov

Issue

Description

Whenever I try to make an Approve tx, the app crashes with this errror Can't find variable: BigInt

[only-android]

After first reporting it here, we've seen that it's a separate issue, happening on the RC branch 6.4

Screenshots

bigint-module-not-found.mp4

Steps to reproduce the behavior

  1. Go to the test dapp
  2. Deploy the Collectibles contract
  3. Mint a token
  4. Click Approve
  5. MM crashes with the error Can't find variable: BigInt
  • Device: Pixel
  • OS: Android
  • App Version: v6.4.0

Issue: #6307

Progresses #???

Checklist

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

@Cal-L Cal-L requested a review from a team as a code owner April 28, 2023 22:50
@github-actions
Copy link
Contributor

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.

@Cal-L Cal-L added release-6.5.0 Issue or pull request that will be included in release 6.5.0 type-bug Something isn't working needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) team-mobile-client labels Apr 28, 2023
@Cal-L Cal-L changed the title Patch assets-controller to not use BigInt [FIX] Patch assets-controller to not use BigInt Apr 28, 2023
Cal-L and others added 4 commits May 1, 2023 09:07
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Copy link
Contributor

@sethkfman sethkfman left a comment

Choose a reason for hiding this comment

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

LGTM

@Cal-L Cal-L added needs-qa Any New Features that needs a full manual QA prior to being added to a release. and removed needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels May 1, 2023
@Cal-L Cal-L merged commit be8b196 into release/6.5.0 May 1, 2023
@Cal-L Cal-L deleted the fix/913-big-int branch May 1, 2023 19:00
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2023
@Cal-L Cal-L restored the fix/913-big-int branch May 1, 2023 19:09
@chrisleewilcox chrisleewilcox added the QA Passed A successful QA run through has been done label May 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
QA Passed A successful QA run through has been done release-6.5.0 Issue or pull request that will be included in release 6.5.0 team-mobile-platform type-bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants