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: Remove blockaid migration BannerAlert #25556

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

pedronfigueiredo
Copy link
Contributor

@pedronfigueiredo pedronfigueiredo commented Jun 27, 2024

Description

On #23743, we introduced a BannerAlert that warns the user if they migrated from OpenSea to Blockaid security alerts and they are on a network that doesn't support them.

Since enough time has passed, this PR removes that logic

Open in GitHub Codespaces

Related issues

#23743

Manual testing steps

See instructions on #23743

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@pedronfigueiredo pedronfigueiredo added the team-confirmations Push issues to confirmations team label Jun 27, 2024
@pedronfigueiredo pedronfigueiredo self-assigned this Jun 27, 2024
@pedronfigueiredo pedronfigueiredo requested review from a team as code owners June 27, 2024 12:14
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.

@pedronfigueiredo pedronfigueiredo force-pushed the pnf/remove-blockaid-banner-alert branch from fb6dad3 to ee52290 Compare June 27, 2024 12:17
@@ -51,7 +51,6 @@ export default class PreferencesController {
eth_sign: false,
},
useMultiAccountBalanceChecker: true,
hasDismissedOpenSeaToBlockaidBanner: false,
Copy link
Member

Choose a reason for hiding this comment

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

Just for audit sake, I agree that no migration is needed for this since it's a single boolean rather than a large array or object.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good shout, thanks for pointing it out

@pedronfigueiredo pedronfigueiredo force-pushed the pnf/remove-blockaid-banner-alert branch from ee52290 to 7eb550f Compare July 1, 2024 12:24
@pedronfigueiredo pedronfigueiredo force-pushed the pnf/remove-blockaid-banner-alert branch from 7eb550f to 5465fa6 Compare July 1, 2024 12:57
Copy link

sonarcloud bot commented Jul 1, 2024

Copy link

codecov bot commented Jul 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (develop@df81e73). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #25556   +/-   ##
==========================================
  Coverage           ?   69.60%           
==========================================
  Files              ?     1364           
  Lines              ?    48172           
  Branches           ?    13291           
==========================================
  Hits               ?    33526           
  Misses             ?    14646           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@metamaskbot
Copy link
Collaborator

Builds ready [5465fa6]
Page Load Metrics (487 ± 418 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint632781345225
domContentLoaded10110422311
load403392487872418
domInteractive10110422311
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -209 Bytes (-0.01%)
  • ui: -3.17 KiB (-0.05%)
  • common: -701 Bytes (-0.01%)

@pedronfigueiredo pedronfigueiredo merged commit 699ddcc into develop Jul 1, 2024
73 checks passed
@pedronfigueiredo pedronfigueiredo deleted the pnf/remove-blockaid-banner-alert branch July 1, 2024 14:06
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2024
@metamaskbot metamaskbot added the release-12.2.0 Issue or pull request that will be included in release 12.2.0 label Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.2.0 Issue or pull request that will be included in release 12.2.0 team-confirmations Push issues to confirmations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants