1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app
Mark Stacey bd23a49013
Revert "Moved subscribe and filter into network controller (#16693)" (#18129)
* Revert "Moved subscribe and filter into network controller (#16693)"

This reverts commit 6f6984fa58. That
commit was an RPC middleware refactor intended to move the subscribe
and filter middleware into the network controller, to simplify the
process of sharing this middleware between clients.

This refactor resulted in `eth_subscribe` notifications being sent on
the wrong connections, causing the UI to break in some cases (the UI
`provider` connection does not support notifications). This happened
because the `setupProviderEngine` function runs per-connection,
whereas the engine setup inside the network controller is global. The
global network client cannot support notifications because it has no
way to route them; they'll need to stay in the per-connection provider
engine.

Closes #17467

* Add e2e test

An e2e test has been added that confirms subscriptions are only
broadcast to the site that registered them. This test fails on
`develop`.
2023-03-15 12:16:31 -02:30
..
_locales Adding NFT autodetection to "What's New" Announcements (#17653) 2023-03-14 11:07:58 -04:00
build-types [MMI] Adds mmi build type + manifest files and images (#17842) 2023-03-01 09:38:15 +00:00
fonts UI-14395: typography v2 (#15408) 2022-08-18 10:51:53 -07:00
images Adding NFT autodetection to "What's New" Announcements (#17653) 2023-03-14 11:07:58 -04:00
manifest Update minimum browser versions (#12847) 2023-02-24 11:39:56 -03:30
scripts Revert "Moved subscribe and filter into network controller (#16693)" (#18129) 2023-03-15 12:16:31 -02:30
vendor/trezor Update postMessage structure for TrezorConnect 8 (#10192) 2021-01-21 11:12:54 -06:00
background.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
home.html [MMI] Conditional change title in home if buildType is MMI (#17898) 2023-03-02 10:18:46 -06:00
loading.html
notification.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
popup.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
trezor-usb-permissions.html chore: Adjust trailing whitespace (#15636) 2022-08-24 14:11:49 -05:00