1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/app/scripts/controllers/network
Zachary Belford 6f6984fa58
Moved subscribe and filter into network controller (#16693)
Our middleware for handling subscription and filter-related methods (`eth-json-rpc-filters`) currently lives in our RPC pipeline ahead of the network stack. This commit moves this middleware to the network client middleware instead. There are two reasons for this change. First, this middleware wraps RPC methods that are supported by the network. Second, it is necessary for this middleware to live with the network client so that it will aid us in unifying the NetworkController in this repo and the NetworkController in the `controllers` repo.

Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
2022-12-20 10:28:09 -07:00
..
middleware @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
provider-api-tests Remove if to expose more network client tests (#16906) 2022-12-13 12:49:58 -07:00
createInfuraClient.js Update eth-json-rpc-infura (#15845) 2022-09-15 14:41:18 -02:30
createInfuraClient.test.js Add remaining tests for createInfuraClient (#15717) 2022-09-29 10:39:35 -06:00
createJsonRpcClient.js Fix isMainnet propType error (#12951) 2021-12-02 14:46:46 -03:30
createMetamaskMiddleware.js eth-json-rpc-middleware@8.0.0 (#10738) 2021-11-11 12:26:49 -08:00
index.js Rename the network controller module (#16974) 2022-12-16 16:37:06 -03:30
network-controller.js Moved subscribe and filter into network controller (#16693) 2022-12-20 10:28:09 -07:00
network-controller.test.js Rename the network controller module (#16974) 2022-12-16 16:37:06 -03:30
pending-middleware.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
util.js Ensure createPendingTxMiddleware returns gasPrice for EIP-1559 transactions (#11685) 2021-07-30 18:10:19 -02:30
util.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00