1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Elliot Winkler d7a812f42f
Add remaining tests for createInfuraClient (#15717)
Add tests for the `block-tracker-inspector` middleware — which makes
sure that the block tracker never has a reference to the latest block
which is less than a block number that shows up in an RPC method's
response — and the Infura middleware — which takes care of sending the
request to Infura, and will retry the request up to 5 times if Infura
sends back a certain type of error.

Note that the `retry-on-empty` middleware is not tested because it
currently has a [bug][1] which is making it ineffective.

[1]: https://github.com/MetaMask/eth-json-rpc-middleware/issues/139
2022-09-29 10:39:35 -06:00
..
account-import-strategies Bump keystone package versions to latest (#15878) 2022-09-22 10:04:24 -05:00
constants Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
controllers Add remaining tests for createInfuraClient (#15717) 2022-09-29 10:39:35 -06:00
flask Add changes to support blocking Snaps by source shasum (#15830) 2022-09-23 18:56:46 +02:00
lib Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
migrations Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
platforms
app-init.js MV3: catch "Duplicate script ID 'inpage'" error (#15973) 2022-09-27 15:29:27 -03:00
background.js Replace lavamoat-runtime.js patch (#15682) 2022-08-24 09:50:45 -02:30
contentscript.js Send message to inpage when extension revives (#15958) 2022-09-27 11:51:44 +05:30
detect-multiple-instances.js
detect-multiple-instances.test.js
disable-console.js
first-time-state.js
init-globals.js
inpage.js MV3: contentscript.js - re-activate streams when Service Worker terminates and then resets (#15494) 2022-09-13 14:20:08 -07:00
lockdown-more.js
lockdown-run.js
metamask-controller.actions.test.js Make updateTransactionSendFlowHistory background method idempotent (#15585) 2022-09-06 14:39:12 +05:30
metamask-controller.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
metamask-controller.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
sentry-install.js Replace lavamoat-runtime.js patch (#15682) 2022-08-24 09:50:45 -02:30
ui.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00