Skip to content

fix: remove unused metamask.rpcUrl from redux state + fix tests to reflect that#10714

Merged
shanejonas merged 1 commit intodevelopfrom
fix/remove-metamask-rpcUrl
Mar 24, 2021
Merged

fix: remove unused metamask.rpcUrl from redux state + fix tests to reflect that#10714
shanejonas merged 1 commit intodevelopfrom
fix/remove-metamask-rpcUrl

Conversation

@shanejonas
Copy link
Contributor

Explanation:
metamask.rpcUrl is unused

@shanejonas shanejonas requested a review from a team as a code owner March 24, 2021 21:28
@shanejonas shanejonas requested a review from Gudahtt March 24, 2021 21:28
@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.

@Gudahtt
Copy link
Member

Gudahtt commented Mar 24, 2021

I think this line can be removed as well: https://github.com/MetaMask/metamask-extension/blob/develop/ui/app/ducks/metamask/metamask.js#L10

@shanejonas shanejonas force-pushed the fix/remove-metamask-rpcUrl branch from 202ae94 to ca184d1 Compare March 24, 2021 22:02
@metamaskbot
Copy link
Collaborator

Builds ready [ca184d1]
Page Load Metrics (594 ± 14 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint44695484
domContentLoaded5556695923014
load5616705943014
domInteractive5556695913014

@Gudahtt
Copy link
Member

Gudahtt commented Mar 24, 2021

Found one more! https://github.com/MetaMask/metamask-extension/blob/develop/.storybook/test-data.js#L8

I looked at every other instance of rpcUrl in the extension, and that's the last example I found of this.

@shanejonas shanejonas force-pushed the fix/remove-metamask-rpcUrl branch from ca184d1 to 40e2c67 Compare March 24, 2021 22:36
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@metamaskbot
Copy link
Collaborator

Builds ready [40e2c67]
Page Load Metrics (605 ± 12 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint44665473
domContentLoaded5576506042612
load5586516052612
domInteractive5576506032612

@shanejonas shanejonas merged commit 0fdc8a4 into develop Mar 24, 2021
@shanejonas shanejonas deleted the fix/remove-metamask-rpcUrl branch March 24, 2021 22:54
@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2021
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