-
Notifications
You must be signed in to change notification settings - Fork 987
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
chore(wallet): remove legacy network settings options #18955
Conversation
@@ -443,9 +442,6 @@ | |||
(= method "wallet_switchEthereumChain") | |||
(eip3326/handle-switch-ethereum-chain cofx dapp-name id message-id (first params)) | |||
|
|||
(= method "wallet_addEthereumChain") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed this method - which I couldn't see how to access from "browser" but perhaps it's not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly used by dApps in the old wallet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pavloburykh, @qoqobolo - do you know if this is needed?
Also @smohamedjavid if our current wallet can't handle it then does this really matter?
we have also removed wallet connect - not sure if that effects this here but probably this won't work anyway 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it's safe to remove it as we don't allow users to add any Ethereum chain at this moment (at least foreseeable future)👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pavloburykh, @qoqobolo - do you know if this is needed?
@J-Son89 we do not know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pavloburykh, @qoqobolo - do you know if this is needed?
@J-Son89 we are not aware of the use of this method, sorry.
I think it would be safer to check this with someone from the devs who implemented the old wallet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I think it's safe to remove for now
Jenkins BuildsClick to see older builds (12)
|
@@ -24,22 +23,6 @@ | |||
(keep | |||
identity | |||
[{:size :small | |||
:title (i18n/label :t/network) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing network buttons
@@ -33,7 +33,6 @@ | |||
"add-custom-token": "Add custom token", | |||
"add-mailserver": "Add Status node", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
verified and all of these removed translation strings are not used elsewhere 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 💣
@@ -443,9 +442,6 @@ | |||
(= method "wallet_switchEthereumChain") | |||
(eip3326/handle-switch-ethereum-chain cofx dapp-name id message-id (first params)) | |||
|
|||
(= method "wallet_addEthereumChain") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly used by dApps in the old wallet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of code removed! 👍
8% of end-end tests have passed
Failed tests (43)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Class TestActivityMultipleDevicePRTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestDeepLinksOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestCommunityMultipleDeviceMerged:
Class TestCommunityOneDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestGroupChatMultipleDeviceMergedNewUI:
Expected to fail tests (1)Click to expandClass TestCommunityOneDeviceMerged:
Passed tests (4)Click to expandClass TestCommunityOneDeviceMerged:
|
57cf08f
to
9463462
Compare
21% of end-end tests have passed
Failed tests (37)Click to expandClass TestActivityMultipleDevicePRTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestDeepLinksOneDevice:
Class TestActivityMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Expected to fail tests (1)Click to expandClass TestCommunityOneDeviceMerged:
Passed tests (10)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityOneDeviceMerged:
|
@yevh-berdnyk could you please check latest e2e results in this PR? |
Just pushed a fix and restarting the tests. @J-Son89 please don't forget my commit when merging |
92% of end-end tests have passed
Failed tests (3)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestCommunityMultipleDeviceMergedTwo:
Expected to fail tests (1)Click to expandClass TestCommunityOneDeviceMerged:
Passed tests (44)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePRTwo:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityMultipleDevicePR:
Class TestDeepLinksOneDevice:
|
4dc6e0b
to
e199174
Compare
@pavloburykh - rebase was straightforward so I think should be all good 👍 |
another piece of #18559
This pr removes the Legacy settings:
"Network" & "Network Info"
Before
After
These settings are no longer used in the wallet and instead we make use of "testnet mode" on the same page