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

feat: gracefully handle mm impersonators #657

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

gomesalexandre
Copy link
Contributor

@gomesalexandre gomesalexandre commented Dec 19, 2023

This PR:

In conjunction with the matching web PR (shapeshift/web#5896), this allows to connect previously not working MM impersonators like Zerion wallet extension.

Screenshots

  • Develop - Zerion borked
Screenshot 2023-12-19 at 12 51 21 Screenshot 2023-12-19 at 12 51 30
  • This diff with its web fren - happy Zerion
Screenshot 2023-12-19 at 12 51 54 Screenshot 2023-12-19 at 12 52 12
  • MM is still happy
image image
  • Brave is still happy
image image

Copy link

vercel bot commented Dec 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hdwallet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2024 4:11am

Copy link
Contributor Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@gomesalexandre gomesalexandre changed the title feat: handle mm impersonators feat: gracefully handle mm impersonators Dec 19, 2023
@gomesalexandre gomesalexandre force-pushed the feat_improve_mm_impersonator_checks branch from aa9f3f2 to e13522e Compare December 19, 2023 12:01
@gomesalexandre gomesalexandre marked this pull request as ready for review December 19, 2023 12:01
Copy link
Contributor

@0xApotheosis 0xApotheosis left a comment

Choose a reason for hiding this comment

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

Code-wise looking sane, will give it a runtime test with shapeshift/web#5896.

Copy link
Contributor

@0xApotheosis 0xApotheosis left a comment

Choose a reason for hiding this comment

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

Runtime is also looking sane against shapeshift/web#5896 👌

I'm getting a snaps install prompt with using actual metamask, but not when using Brave Wallet.

@0xApotheosis 0xApotheosis merged commit d339991 into master Jan 30, 2024
7 checks passed
@0xApotheosis 0xApotheosis deleted the feat_improve_mm_impersonator_checks branch January 30, 2024 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants