-
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
feat(wallet)_: Remove EIP-3770 address format #21995
base: develop
Are you sure you want to change the base?
Conversation
Jenkins BuildsClick to see older builds (4)
|
8d7cc13
to
1c9deb2
Compare
Signed-off-by: Mohamed Javid <[email protected]>
1c9deb2
to
875478b
Compare
75% of end-end tests have passed
Not executed tests (2)Failed tests (2)Click to expandClass TestWalletOneDevice:
Class TestCommunityOneDeviceMerged:
Passed tests (6)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestWalletMultipleDevice:
Class TestWalletOneDevice:
Class TestCommunityOneDeviceMerged:
|
@@ -6,7 +6,8 @@ | |||
|
|||
|
|||
(def hex-prefix "0x") | |||
;; EIP-3770 is a format used by Status and described here: https://eips.ethereum.org/EIPS/eip-3770 | |||
;; EIP-3770 is a format used by Status until v2.32 and described here: | |||
;; https://eips.ethereum.org/EIPS/eip-3770 | |||
(def regx-eip-3770-address #"^(?:(?:eth:|arb1:|oeth:)(?=:|))*0x[0-9a-fA-F]{40}$") |
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.
Given that we are removing support for these type of addresses, could we remove this regex?
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! I just left a non-blocking question, but I'm happy we're getting rid of these types of addresses 🎉
fixes #21958
Summary
This PR:
Testing notes
A complete smoke testing of wallet is appreciated
This PR doesn't restrict the user from typing EIP-3770 address in the address inputs (send flow and saved address flow) as we supported it in earlier public releases. When user moves to next screen, it just ignores the prefix and takes only the address.
Platforms
Steps to test
Profile > Wallet > Saved addresses
)status: ready