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

Remove endowment:long-running #1751

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Conversation

david0xd
Copy link
Contributor

@david0xd david0xd commented Sep 18, 2023

Fixes: #945

This PR will remove the existence of the long-running endowment.

Related metamask-extension PR: MetaMask/metamask-extension#20951
Documentation update PR: MetaMask/metamask-docs#919

@david0xd david0xd self-assigned this Sep 18, 2023
@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.02% 🎉

Comparison is base (8eda0bf) 95.79% compared to head (e7c53a9) 95.82%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1751      +/-   ##
==========================================
+ Coverage   95.79%   95.82%   +0.02%     
==========================================
  Files         240      239       -1     
  Lines        5476     5464      -12     
  Branches      852      851       -1     
==========================================
- Hits         5246     5236      -10     
+ Misses        230      228       -2     
Files Changed Coverage Δ
...ages/snaps-controllers/src/snaps/SnapController.ts 96.77% <ø> (+0.27%) ⬆️
...ges/snaps-controllers/src/snaps/endowments/enum.ts 100.00% <ø> (ø)
...es/snaps-controllers/src/snaps/endowments/index.ts 100.00% <ø> (ø)
packages/snaps-utils/src/manifest/validation.ts 100.00% <ø> (ø)

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

GuillaumeRx
GuillaumeRx previously approved these changes Sep 20, 2023
@david0xd david0xd force-pushed the dd/remove-endowment-long-running branch 2 times, most recently from 1fd2373 to 8ec7034 Compare September 21, 2023 10:06
Copy link
Member

@FrederikBolding FrederikBolding left a comment

Choose a reason for hiding this comment

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

Please hold off merging this until I complete the release

@david0xd david0xd force-pushed the dd/remove-endowment-long-running branch from 8ec7034 to e7c53a9 Compare September 21, 2023 14:59
@david0xd david0xd merged commit 8b547af into main Sep 21, 2023
131 checks passed
@david0xd david0xd deleted the dd/remove-endowment-long-running branch September 21, 2023 15:10
david0xd added a commit to MetaMask/metamask-extension that referenced this pull request Sep 27, 2023
## **Description**
This PR removes `long-running` Snap endowment/permission.

Snaps team have decided to remove this endowment because of its
unpredictable security concerns around running Snaps indefinitely. This
endowment is removed in favor of the new endowments that will be focused
on solving certain use cases that require snap to be running for more
time than default.

## **Related issues**

_Fixes [#945](MetaMask/snaps#945

## **Related PR**
MetaMask/snaps#1751 (**required**)
MetaMask/metamask-docs#919

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained:
  - [ ] What problem this PR is solving.
  - [ ] How this problem was solved.
  - [ ] How reviewers can test my changes.
- [ ] I’ve indicated what issue this PR is linked to: Fixes #???
- [ ] I’ve included tests if applicable.
- [ ] I’ve documented any added code.
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.
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.

Remove endowment:long-running from Snap APIs
3 participants