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

Update @metamask/swaps-controller #5331

Merged
merged 2 commits into from
Dec 1, 2022

Conversation

dan437
Copy link
Contributor

@dan437 dan437 commented Dec 1, 2022

Description

It changes Arbitrum and Optimism smart contract addresses to lowercase and updates a fn for checking direct wrapping.

@dan437 dan437 requested a review from a team as a code owner December 1, 2022 19:16
@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 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.

@cortisiko
Copy link
Member

Issue:

when i attempt to swap an ERC-20 token i get TypeError: undefined is not an object (evaluating 'destinationToken.toLowerCase')

see recording

@rickycodes
Copy link
Member

rickycodes commented Dec 1, 2022

Issue:

when i attempt to swap an ERC-20 token i get TypeError: undefined is not an object (evaluating 'destinationToken.toLowerCase')

see recording

perhaps we should consider: destinationToken.toLowerCase?.() upstream for instances where destinationToken might be undefined? /cc @dan437

@dan437 dan437 changed the title @metamask/swaps-controller": "^6.7.1" Update @metamask/swaps-controller Dec 1, 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 the QA Passed A successful QA run through has been done label Dec 1, 2022
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

@cortisiko cortisiko merged commit 1452e56 into MetaMask:release/5.12.0 Dec 1, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 1, 2022
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants