1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/controllers/network
Mark Stacey 7226357422
Fix isMainnet propType error ()
A propType error was showing up during e2e tests with a `testDev`
build. It was caused by `process.env.IN_TEST` being treated as a
boolean, when in fact it is either the string `'true'` or a boolean.

`IN_TEST` has been updated to always be a boolean. `loose-envify` has
no trouble injecting boolean values, so there's no reason to treat this
as a string.
2021-12-02 14:46:46 -03:30
..
middleware
createInfuraClient.js eth-json-rpc-middleware@8.0.0 () 2021-11-11 12:26:49 -08:00
createJsonRpcClient.js Fix isMainnet propType error () 2021-12-02 14:46:46 -03:30
createMetamaskMiddleware.js eth-json-rpc-middleware@8.0.0 () 2021-11-11 12:26:49 -08:00
index.js
network-controller.test.js
network.js Fix isMainnet propType error () 2021-12-02 14:46:46 -03:30
pending-middleware.test.js Use TRANSACTION_ENVELOPE_TYPES for legacy transaction type testing () 2021-10-27 18:55:02 -05:00
util.js Ensure createPendingTxMiddleware returns gasPrice for EIP-1559 transactions () 2021-07-30 18:10:19 -02:30
util.test.js Use TRANSACTION_ENVELOPE_TYPES for legacy transaction type testing () 2021-10-27 18:55:02 -05:00