aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/network
Commit message (Collapse)AuthorAgeFilesLines
* Add support for eth_signTypedData_v4 (#6930)Brendan Chou2019-08-211-0/+2
|
* Enable indent linting via ESLint (#6936)Whymarrh Whitby2019-08-011-4/+4
| | | | | | * Enable indent linting via ESLint * yarn run lint:fix
* Version 6.7.2 gas limit fix (#6786)Dan J Miller2019-07-051-0/+18
| | | | | | | | | | | | | | | | | | | | | | * Introduce delay for eth_estimateGas calls with in test * Add test that fails when gas estimates of contract method calls without gas are too high. * Get transaction gas data from unApprovedTxs instead of confirmTransaction * Fix selection of gas data in gas-modal-page-container.container * Lint changes related to Version-6.7.2-gasLimitFix * Fix e2e tests on Version-6.7.2-gasLimitFix * Fix unit and integration tests for changes from Version-6.7.2-gasLimitFix * more e2e fixes * Add assertions for transaction values on confirm screen * Fix display of transaction amount on confirm screen.
* New settings custom rpc form (#6490)Dan J Miller2019-05-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add networks tab to settings, with header. * Adds network list to settings network tab. * Adds form to settings networks tab and connects it to network list. * Network tab: form adding and editing working * Settings network form properly handles input errors * Add translations for settings network form * Clean up styles of settings network tab. * Add popup-view styles and behaviour to settings network tab. * Fix save button on settings network form * Adds 'Add Network' button and addMode to settings networks tab * Lint fix for settings networks tab addition * Fix navigation in settings networks tab. * Editing an rpcurl in networks tab does not create new network, just changes rpc of old * Fix layout of settings tabs other than network * Networks dropdown 'Custom Rpc' item links to networks tab in settings. * Update settings sidebar networks subheader. * Make networks tab buttons width consistent with input widths in extension view. * Fix settings screen subheader height in popup view * Fix height of add networks button in popup view * Add optional label to chainId and symbol form labels in networks setting tab * Style fixes for networks tab headers * Add ability to customize block explorer used by custom rpc * Stylistic improvements+fixes to custom rpc form. * Hide cancel button. * Highlight and show network form of provider by default. * Standardize network subheader name to 'Networks' * Update e2e tests for new settings network form * Update unit tests for new rpcPrefs prop * Extract blockexplorer url construction into method. * Fix broken styles on non-network tabs in popup mode * Fix block explorer url links for cases when provider in state has not been updated. * Fix vertical spacing of network form * Don't allow click of save button on network form if nothing has changed * Ensure add network button is shown in popup view * Lint fix for networks tab * Fix block explorer url preference setting. * Fix e2e tests for custom blockexplorer in account details modal changes. * Update integration test states to include frequentRpcList property * Fix some capitalizations in en/messages.json * Remove some console.logs added during custom rpc form work * Fix external account link text and url for modal and dropdown. * Documentation, url validation, proptype required additions and lint fixes on network tab and form.
* Refactor ProviderApprovalController to use rpc and publicConfigStore (#6410)kumavis2019-05-045-33/+13
| | | | | | | | | | * Ensure home screen does not render if there are unapproved txs (#6501) * Ensure that the confirm screen renders before the home screen if there are unapproved txs. * Only render confirm screen before home screen on mount. * inpage - revert _metamask api to isEnabled isApproved isUnlocked
* feature: add Goerli support (#6459)Paul Bouchon2019-04-184-1/+17
|
* Set rpcTarget, nickname, and ticker when selecting one of the default networksThomas Huang2019-04-171-2/+2
|
* Default to localhost network when running e2e testsDan Miller2019-03-291-2/+10
|
* account tracker - update accounts from balanceChecker contract (#6181)Jenny Pollack2019-02-211-0/+11
| | | | | | * account tracker - update accounts from balanceChecker contract * fall back to getBalance if the contract query fails
* EIP-1193: standard provider API (#6170)Paul Bouchon2019-02-205-13/+33
| | | | | | | | | | | | | | | | * EIP-1193: Implement new provider API * EIP-1193: Updated implementation * Remove test file * Fix tests * Update ping check * Update logic * PR feedback
* recent-blocks - dont listen for block when on infura providersfrankiebee2019-02-121-1/+1
|
* add source for header in create infura client (#6023)Jenny Pollack2019-01-251-1/+1
| | | | | | * add source for header in create infura client * bump eth-json-rpc-infura
* Fix race condition in network controller lookup() method.Dan Miller2018-12-071-4/+10
|
* ESLint fixes (#5775)Whymarrh Whitby2018-11-171-1/+1
| | | | | | * eslint . --fix * Upgrade all ESLint warnings to errors
* network - infura - hardcode net_version and eth_chainId (#5670)kumavis2018-11-061-0/+33
| | | | | | * network - infura - hardcode net_version and eth_chainId * network - infura - add rinkeby handling * lint fix
* Revert "support eth_chainId"Thomas Huang2018-11-041-14/+4
|
* Merge pull request #5596 from MetaMask/validateSignTypedDatakumavis2018-10-301-0/+2
|\ | | | | Validate signTypedData signer/address in eth-json-rpc-middleware
| * Validate signTypedData in eth-json-rpc-middlewareThomas2018-10-251-0/+2
| |
* | Merge branch 'develop' into eth_chainidhackyminer2018-10-261-10/+52
|\ \
| * | Add support for RPC endpoints with custom chain IDs (#5134)HackyMiner2018-10-261-9/+51
| |/
* | Update network.jskumavis2018-10-211-0/+1
| |
* | network - improve logging and type conversionkumavis2018-10-211-4/+6
| |
* | support both eth_chainId and net_versionhackyminer2018-10-201-4/+11
|/ | | | get the real chainId using eth_chainId and use net_version as a fallback
* provider - network - restore block-ref-rewrite middleware referenceskumavis2018-10-092-4/+4
|
* provider - enable subscription support (newHeads, logs)kumavis2018-10-081-4/+6
|
* Adds getPendingNonce method to provider initialization options in ↵Dan Miller2018-09-221-1/+1
| | | | metamask-controller.
* bugfix - prevents old blocktracker from getting internal hooks migratedkumavis2018-08-221-1/+1
|
* Merge branch 'network-remove-provider-engine' into ↵frankiebee2018-08-071-1/+1
|\ | | | | | | network-remove-provider-engine-tests
| * network - fix blockTracker reference to return the blockTrackerProxy instead ↵frankiebee2018-08-071-1/+1
| | | | | | | | of the direct blockTracker reference
* | Merge branch 'develop' into network-remove-provider-engineThomas2018-07-261-1/+2
|\ \ | |/ |/|
| * network.js: convert rpc protocol to lower case (#4855)pinkiebell2018-07-251-0/+3
| | | | | | Fixes #4253
| * Refactor and redesign confirm transaction viewsAlexander Tseung2018-07-071-1/+2
| |
| * eslint --fix .brunobar792018-07-031-1/+1
| |
* | Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-07-031-2/+9
|\| | | | | | | network-remove-provider-engine
| * Fix bug where reset account would not work.Dan Finlay2018-06-071-2/+9
| | | | | | | | | | | | | | | | | | | | Fixes #4462 Ensures that resetAccount() can work on non-stock providers. I'm unclear how this was ever working, this code hasn't moved in months, but users report it recently breaking. Maybe we only recently pushed it to prod.
* | lint - fix lint for networkkumavis2018-06-133-3/+0
| |
* | network - import createBlockTrackerInspectorMiddleware and rearrange cache ↵kumavis2018-06-133-37/+4
| | | | | | | | middleware order
* | network - provider - infura - use block-reemit middlewarekumavis2018-06-081-2/+2
| |
* | deps - fix incorrect dep paths and versionskumavis2018-05-174-4/+4
| |
* | remove unused events-proxy, was replaced with module swappable-obj-proxykumavis2018-05-171-1/+0
| |
* | lint fixkumavis2018-05-175-13/+18
| |
* | network - create provider and block-tracker via json-rpc-enginekumavis2018-05-175-53/+208
|/
* network - remove debugging console.logkumavis2018-05-171-1/+0
|
* lint - cleanup some unused variableskumavis2018-05-031-1/+0
|
* controllers - network - move default config out of first-time-statekumavis2018-05-031-2/+15
|
* network - refactor to remove unnecesary codekumavis2018-05-013-124/+29
|
* network - remove setNetworkEndpointskumavis2018-05-011-13/+0
|
* controllers - network - more semantic assertkumavis2018-05-011-1/+1
|
* rpc - bump provider-engine + eth-json-rpc-filterskumavis2018-04-261-1/+1
|
* Clean up network configAlexander Tseung2018-04-244-0/+341