Skip to content

fix: Update origin in Snap requests#5616

Merged
FrederikBolding merged 2 commits intomainfrom
fb/update-origin-in-snap-requests
Apr 9, 2025
Merged

fix: Update origin in Snap requests#5616
FrederikBolding merged 2 commits intomainfrom
fb/update-origin-in-snap-requests

Conversation

@FrederikBolding
Copy link
Copy Markdown
Member

@FrederikBolding FrederikBolding commented Apr 9, 2025

Explanation

We are making a change to the SnapController to more strictly validate the origin parameter. This disallows empty string which was previously allowed. This PR updates the profile-sync-controller to comply with these new requirements.

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@FrederikBolding FrederikBolding marked this pull request as ready for review April 9, 2025 08:28
@FrederikBolding FrederikBolding requested review from a team as code owners April 9, 2025 08:28
@FrederikBolding FrederikBolding enabled auto-merge (squash) April 9, 2025 08:31
@FrederikBolding FrederikBolding merged commit 8de21e0 into main Apr 9, 2025
199 checks passed
@FrederikBolding FrederikBolding deleted the fb/update-origin-in-snap-requests branch April 9, 2025 09:01
mirceanis added a commit to MetaMask/message-signing-snap that referenced this pull request Apr 9, 2025
mirceanis added a commit to MetaMask/message-signing-snap that referenced this pull request Apr 9, 2025
mirceanis added a commit to MetaMask/message-signing-snap that referenced this pull request Apr 9, 2025
MetaMask internal calls now specify `metamask` as origin instead of the
empty string.

see MetaMask/core#5616
matallui added a commit that referenced this pull request Apr 9, 2025
* main:
  Fix unmocked block tracker warning in NetworkController tests (#5289)
  ci: GH action to remind developers to add release notes in CHANGELOG.md (#5620)
  Release 355.0.0 (#5619)
  Release 354.0.0 (#5615)
  fix: Update origin in Snap requests (#5616)
  Release/353.0.0 (#5612)
  refactor(accounts-controller): use type-cast instead of `@ts-expect-error` (#5568)
  feat: support external sign transactions (#5604)
  feat: extend isAtomicBatchSupported result (#5600)
  fix: Rename `enableTxParamsGasFeeUpdates` to `isAutomaticGasFeeUpdateEnabled` and also callback (#5602)
  Release/352.0.0 (#5608)
  feat: STAKE-1005: refresh staking data when staking txs are confirmed (#5607)
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