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

[FLASK] BREAKING - snaps-monorepo@0.30.0 #17718

Merged
merged 103 commits into from
Mar 8, 2023

Conversation

hmalik88
Copy link
Contributor

@hmalik88 hmalik88 commented Feb 10, 2023

Closes #17091

  • wallet_snap_* permission was removed in favor of wallet_snap and the use of caveats to track dapp <> snap permissions, this PR makes changes to account for the new permission and adds a migration to migrate from the old permissions.
  • Changes made to account for the new webassembly endowment & disablement of eth_accounts.
  • Snaps packages updated to latest release.
    • snap_confirm rpc method was removed.

Please see parent issue https://github.com/MetaMask/MetaMask-planning/issues/297.

@hmalik88 hmalik88 requested a review from a team as a code owner February 10, 2023 16:54
@hmalik88 hmalik88 requested a review from jpuri February 10, 2023 16:54
@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.

@GuillaumeRx
Copy link
Contributor

+10 rep. for the meme

@hmalik88 hmalik88 marked this pull request as draft February 14, 2023 23:02
@socket-security
Copy link

socket-security bot commented Feb 15, 2023

Socket Security Pull Request Report

👍 No new dependency issues detected in pull request

Pull request report summary
Issue Status
Install scripts ✅ 0 issues
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

Powered by socket.dev

app/_locales/en/messages.json Outdated Show resolved Hide resolved
app/_locales/ko/messages.json Outdated Show resolved Hide resolved
app/_locales/tl/messages.json Outdated Show resolved Hide resolved
app/_locales/tr/messages.json Outdated Show resolved Hide resolved
app/_locales/zh_CN/messages.json Outdated Show resolved Hide resolved
@metamaskbot
Copy link
Collaborator

Builds ready [973abd1]
Page Load Metrics (1429 ± 55 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint92142105126
domContentLoaded12151759141412057
load12461759142911455
domInteractive12151759141412057
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 12704 bytes
  • ui: 0 bytes
  • common: 0 bytes

@metamaskbot
Copy link
Collaborator

Builds ready [1171b08]
Page Load Metrics (1569 ± 49 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint943431405828
domContentLoaded1313174715459847
load13131747156910349
domInteractive1313174715459847
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 12704 bytes
  • ui: 0 bytes
  • common: 0 bytes

FrederikBolding
FrederikBolding previously approved these changes Mar 7, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [875088d]
Page Load Metrics (1723 ± 141 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1012821465024
domContentLoaded144728011700293141
load144728201723295141
domInteractive144728001700293141
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 12704 bytes
  • ui: 0 bytes
  • common: 0 bytes

@metamaskbot
Copy link
Collaborator

Builds ready [d89877e]
Page Load Metrics (1627 ± 121 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint981921292613
domContentLoaded122320941608254122
load122320941627252121
domInteractive122320931608254122
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 12704 bytes
  • ui: 0 bytes
  • common: 0 bytes

FrederikBolding
FrederikBolding previously approved these changes Mar 7, 2023
@Gudahtt
Copy link
Member

Gudahtt commented Mar 7, 2023

I haven't had time to fully review this, but I have confirmed that my previous suggestions have been addressed/resolved. The new migration looks like it comprehensively checks for invalid input 👍

@metamaskbot
Copy link
Collaborator

Builds ready [1045b9f]
Page Load Metrics (1507 ± 35 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint9712711194
domContentLoaded1270153414695326
load1270160715077335
domInteractive1270153414695326
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 12704 bytes
  • ui: 0 bytes
  • common: 0 bytes

@metamaskbot
Copy link
Collaborator

Builds ready [bbe7281]
Page Load Metrics (1498 ± 55 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint96153116126
domContentLoaded12841692147411053
load12841692149811555
domInteractive12841692147411053
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 12704 bytes
  • ui: 0 bytes
  • common: 0 bytes

@metamaskbot
Copy link
Collaborator

Builds ready [b15b9ba]
Page Load Metrics (1668 ± 69 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint100156119168
domContentLoaded13731925164013364
load13732019166814369
domInteractive13731925164013364
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 12704 bytes
  • ui: 0 bytes
  • common: 0 bytes

@hmalik88 hmalik88 merged commit 7086494 into develop Mar 8, 2023
@hmalik88 hmalik88 deleted the hm/migrate-snap-permissions-to-caveats branch March 8, 2023 18:29
@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [0c7a772]
Page Load Metrics (1649 ± 92 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint963711425727
domContentLoaded13161993163720297
load13951993164919392
domInteractive13151993163720297
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 12704 bytes
  • ui: 0 bytes
  • common: 0 bytes

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.

[FLASK] Migrate snap permissions from wildcards to caveats
6 participants