Skip to content

Add backwards compatibility for ETH <-> WETH contract address validation#10962

Merged
brad-decker merged 1 commit intoMetaMask:developfrom
dan437:swaps-weth-validation
Apr 30, 2021
Merged

Add backwards compatibility for ETH <-> WETH contract address validation#10962
brad-decker merged 1 commit intoMetaMask:developfrom
dan437:swaps-weth-validation

Conversation

@dan437
Copy link
Copy Markdown
Contributor

@dan437 dan437 commented Apr 30, 2021

Explanation

Before we only rely on the WETH contract address for ETH <-> WETH validation, we also need to allow contractAddressForChainId for validating ETH <-> WETH.

@dan437 dan437 requested a review from a team as a code owner April 30, 2021 17:55
@dan437 dan437 requested a review from adonesky1 April 30, 2021 17:55
@github-actions
Copy link
Copy Markdown
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.

@brad-decker brad-decker merged commit d6d924b into MetaMask:develop Apr 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 30, 2021
@dan437 dan437 deleted the swaps-weth-validation branch July 24, 2023 11:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants