Whymarrh Whitby
247659ca65
Connections settings tab ( #7013 )
...
* Nix notification for Share Address
* Add Connections settings tab in place of privacy mode toggle
* Split ProviderApprovalController into two stores
* Remove privacyMode feature flag altogether
* Add migration to remove privacyMode feature flag
2019-08-15 18:37:18 -02:30
Whymarrh Whitby
22b20837d4
Remove reload from Share Address button ( #6991 )
...
* Update tooltip words for Share Address
* Don't forceReload anything on Share Address
2019-08-09 15:00:59 -02:30
Dan J Miller
da7fe65599
Ensure seed phrase backup only shows up for new users ( #6975 )
2019-08-08 09:08:41 -02:30
Dan J Miller
9d5be5d29f
New notification fixes ( #6955 )
...
* Replace use of backup-notification with use of home notification
* Pin notifications relative to window
* Remove unneeded isRequired condition on some home.component properties
* Refactor rendering of home notifications
* UX for multiple notifications
* Adds dismissal to provider request notification.
* Fix test failures
The e2e tests have been updated to reference `home-notification`
classnames instead of the removed `background-notification`. The
active tab proptypes and default values were updated as well.
2019-08-02 18:01:26 -02:30
Dan J Miller
3eff478775
I5849 incremental account security ( #6874 )
...
* Implements ability to defer seed phrase backup to later
* Adds incremental-security.spec.js, including test dapp that sends signed tx with stand alone localhost provider
* Update metamask-responsive-ui for incremental account security changes
* Update backup-notification style and fix responsiveness of seed phrase screen
* Remove uneeded files from send-eth-with-private-key-test/
* Apply linguist flags in .gitattributes for send-eth-with-private-key-test/ethereumjs-tx.js
* Improve docs in controllers/onboarding.js
* Clean up metamask-extension/test/e2e/send-eth-with-private-key-test/index.html
* Remove unnecessary newlines in a couple first-time-flow/ files
* Fix import of backup-notification in home.component
* Fix git attrs file
2019-08-02 01:27:26 -02:30
Whymarrh Whitby
e9a63d5d5b
Default Privacy Mode to ON, allow force sharing address ( #6904 )
2019-08-01 10:54:33 -02:30
Whymarrh Whitby
4d88e1cf86
Enable indent linting via ESLint ( #6936 )
...
* Enable indent linting via ESLint
* yarn run lint:fix
2019-07-31 10:17:11 -10:00
Mark Stacey
1112277cd6
Remove seedWords
completely from metamask state ( #6920 )
...
`seedWords` used to be stored on the metamask state temporarily at
certain points. This hasn't been the case since #5994 , but references
to this state remained. All of the logic remained for correctly updating
these `seedWords`, handling them during navigation, and scrubbing them
from the state.
However the state was never updated in practice. The `seedWords` are
still returned by `verifySeedPhrase`, and they're still stored in
component state in a few places. But they aren't ever set in the Redux
metadata state or the Preferences controller.
All references to this state have been removed, along with any logic
for interacting with this state. A few unused actions were removed as
well.
2019-07-26 10:35:21 -03:00
Whymarrh Whitby
fc3b035aac
Check balance before testing it w/ isZero ( #6898 )
2019-07-23 17:14:04 -02:30
Dan Finlay
aea54d1b86
Address resubmit bug ( #6886 )
...
* Add some notes
* Add explanatory comment and TODO
* Typo
* Improve verbage
* Remove contextual comment
2019-07-18 20:37:51 -07:00
Dan J Miller
05e2120814
Version 6.7.2 gas limit fix ( #6786 )
...
* 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.
2019-07-04 14:14:03 -02:30
Whymarrh Whitby
df17853502
Remove UiMigrationAnnouncement and associated state ( #6794 )
2019-07-04 12:21:21 -02:30
Akshit Kr Nagpal
d16d6f483c
Validate txParams in TransactionStateManager.addTx ( #6713 )
...
* Normalize and Validate txParams in TransactionStateManager.addTx too
* Added Tests
* Updated normalizeAndValidateParams to return the new txParams
2019-06-29 00:51:51 +02:00
frankiebee
5cf5359e78
transactions - always hexprefix txParams on update; fixes #6724
2019-06-19 14:36:24 +02:00
Paul Bouchon
47024fd9a5
feature: integrate gaba/CurrencyRateController ( #6570 )
2019-05-31 18:14:22 -04:00
Frankie
2b5c7b82a9
transactions/deps - use broken out nonce-tracker module ( #6555 )
2019-05-21 17:17:09 +02:00
bitpshr
8c0bc7b3e2
bugfix: show extension window if locked regardless of approval
2019-05-16 10:53:37 -04:00
Frankie
a34103987a
drop transactions who's nonce is lower then the known network nonce but were not included in a block ( #6388 )
...
* transactions/pending - check nonce against the network and mark as dropped if not included in a block
* transactions/pending - unifiy "dropped" txs
* transactions/pending - test - fix for new expected behavior
* fix comment
* transactions/pending - clean up dropped event
* fix spelling
Co-Authored-By: frankiebee <frankie.diamond@gmail.com>
* nit fix
* test/tx-pending - clarify test description
2019-05-16 07:36:53 +02:00
Paul Bouchon
e57ffbed59
feature: integrate gaba/ShapeShiftController ( #6569 )
2019-05-14 14:38:55 -04:00
Dan J Miller
b81c4e5c98
Set a default value for code in _determineTransactionCategory ( #6604 )
...
* Set a default value for code in _determineTransactionCategory
* Adds e2e tests that fail when token txs without gas param are not properly handled.
* Adds unit tests for _determineTransactionCategory
* Base error throwing and simple gas setting in estimateTxGas on transactionCategory
2019-05-14 14:14:07 -04:00
Whymarrh Whitby
28c4001f52
Update auto-logout to recognize idle time in background ( #6593 )
...
* Fix wording of autoLogoutTimeLimitDescription
* AppStateController and update auto-logout functionality
2019-05-13 13:46:09 -02:30
Thomas Huang
08e8fb21dc
Merge pull request #6568 from MetaMask/feature/gaba-phishing-controller
...
feature: integrate gaba/PhishingController
2019-05-10 13:43:20 -07:00
Dan J Miller
13be683701
New settings custom rpc form ( #6490 )
...
* 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.
2019-05-09 14:57:14 -02:30
bitpshr
77d3bc252d
feature: integrate gaba/PhishingController
2019-05-08 17:56:52 -04:00
Whymarrh Whitby
094e4cf555
Check for unused function arguments ( #6583 )
...
* eslint: Check for unused function arguments
* eslint: Ignore unused '_' in argument list
Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly
* Remove and rename unused arguments
2019-05-08 15:51:33 -04:00
Dan J Miller
ef8a07c2ce
Adds a transactionCategory to txMeta for use in UI ( #6567 )
...
* Adds a transactionCategory to txMeta for use in UI
* Update transaction controller and tx-gas-util documentation on new code param in multiple functions.
2019-05-08 16:48:33 -02:30
kumavis
2845398c3d
Refactor ProviderApprovalController to use rpc and publicConfigStore ( #6410 )
...
* 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
2019-05-03 13:32:05 -04:00
Thomas Huang
c7492f4f54
Include token checksum address in prices lookup for token rates ( #6526 )
2019-04-30 14:19:58 -02:30
Dan J Miller
4fea9d0cc2
Send metrics event from backend for on chain transaction failures ( #6500 )
...
* Send metrics event from backend for on chain transaction failures
* Passes state object to backEndMetaMetricsEvent, and adds getMetaMetricState selector
2019-04-29 03:48:40 -02:30
Paul Bouchon
0db0a187c8
feature: add Goerli support ( #6459 )
2019-04-17 15:04:49 -02:30
Thomas Huang
00133d31b1
Merge pull request #6444 from MetaMask/localhost-network-dropdown
...
Fixes #6321 & #6421 - Add Localhost 8545 for network dropdown names
2019-04-16 14:39:00 -05:00
Thomas Huang
33836c0463
Set rpcTarget, nickname, and ticker when selecting one of the default networks
2019-04-16 11:15:53 -06:00
Paul Bouchon
a973a7420a
feature: switch token pricing to CoinGecko API ( #6424 )
2019-04-10 18:37:15 -04:00
Jenny Pollack
98a2fb43fb
Merge pull request #6406 from MetaMask/remove-user-actions-controller
...
remove user actions controller
2019-04-04 17:30:39 -07:00
Dan Miller
10097b6a11
Default to localhost network when running e2e tests
2019-03-28 16:20:11 -02:30
Thomas Huang
2a0b98492a
enable privacy mode for first time users ( #6347 )
2019-03-26 12:37:53 -02:30
Jenny Pollack
e09e54bebb
remove user actions controller
2019-03-25 23:27:36 -10:00
Chi Kei Chan
31175625b4
Folder restructure ( #6304 )
...
* Remove ui/app/keychains/
* Remove ui/app/img/ (unused images)
* Move conversion-util to helpers/utils/
* Move token-util to helpers/utils/
* Move /helpers/*.js inside /helpers/utils/
* Move util tests inside /helpers/utils/
* Renameand move confirm-transaction/util.js to helpers/utils/
* Move higher-order-components to helpers/higher-order-components/
* Move infura-conversion.json to helpers/constants/
* Move all utility functions to helpers/utils/
* Move pages directory to top-level
* Move all constants to helpers/constants/
* Move metametrics inside helpers/
* Move app and root inside pages/
* Move routes inside helpers/
* Re-organize ducks/
* Move reducers to ducks/
* Move selectors inside selectors/
* Move test out of test folder
* Move action, reducer, store inside store/
* Move ui components inside ui/
* Move UI components inside ui/
* Move connected components inside components/app/
* Move i18n-helper inside helpers/
* Fix unit tests
* Fix unit test
* Move pages components
* Rename routes component
* Move reducers to ducks/index
* Fix bad path in unit test
2019-03-21 20:33:30 -02:30
Paul Bouchon
daae155ce2
GABA: Integrate AddressBookController ( #5847 )
...
* gaba: integrate AddressBookController
* pin gaba version and update lockfile
2019-03-11 18:40:41 -10:00
Dan J Miller
c757366355
Metametrics ( #6171 )
...
* Add metametrics provider and util.
* Add backend api and state for participating in metametrics.
* Add frontend action for participating in metametrics.
* Add metametrics opt-in screen.
* Add metametrics events to first time flow.
* Add metametrics events for route changes
* Add metametrics events for send and confirm screens
* Add metametrics events to dropdowns, transactions, log in and out, settings, sig requests and main screen
* Ensures each log in is measured as a new visit by metametrics.
* Ensure metametrics is called with an empty string for dimensions params if specified
* Adds opt in metametrics modal after unlock for existing users
* Adds settings page toggle for opting in and out of MetaMetrics
* Switch metametrics dimensions to page level scope
* Lint, test and translation fixes for metametrics.
* Update design for metametrics opt-in screen
* Complete responsive styling of metametrics-opt-in modal
* Use new chart image on metrics opt in screens
* Incorporate the metametrics opt-in screen into the new onboarding flow
* Update e2e tests to accomodate metametrics changes
* Mock out metametrics network requests in integration tests
* Fix tx-list integration test to support metametrics provider.
* Send number of tokens and accounts data with every metametrics event.
* Update metametrics event descriptor schema and add new events.
* Fix import tos bug and send gas button bug due to metametrics changes.
* Various small fixes on the metametrics branch.
* Add origin custom variable type to metametrics.util
* Fix names of onboarding complete actions (metametrics).
* Fix names of Metrics Options actions (metametrics).
* Clean up code related to metametrics.
* Fix bad merge conflict resolution and improve promise handling in sendMetaMetrics event and confrim tx base
* Don't send a second metrics event if user has gone back during first time flow.
* Collect metametrics on going back from onboarding create/import.
* Add missing custom variable constants for metametrics
* Fix metametrics provider
* Make height of opt-in modal responsive.
* Adjust text content for opt-in modal.
* Update metametrics event names and clean up code in opt-in-modal
* Put phishing warning step next to last in onboarding flow
* Link terms of service on create and import screens of first time flow
* Add subtext to options on the onboarding select action screen.
* Fix styling of bullet points on end of onboarding screen.
* Combine phishing warning and congratulations screens.
* Fix placement of users if unlocking after an incomplete onboarding import flow.
* Fix capitalization in opt-in screen
* Fix last onboarding screen translations
* Add link to 'Learn More' on the last screen of onboarding
* Code clean up: metametrics branch
* Update e2e tests for phishing warning step removal
* e2e tests passing on metametrics branch
* Different tracking urls for metametrics on development and prod
2019-03-05 12:15:01 -03:30
Dan Finlay
f507f2a927
Feature Flag + Mobile Sync ( #5955 )
2019-02-25 15:40:13 -03:30
Jenny Pollack
c6e84ccf45
account tracker - update accounts from balanceChecker contract ( #6181 )
...
* account tracker - update accounts from balanceChecker contract
* fall back to getBalance if the contract query fails
2019-02-20 09:12:12 -10:00
Paul Bouchon
2f7d449427
EIP-1193: standard provider API ( #6170 )
...
* EIP-1193: Implement new provider API
* EIP-1193: Updated implementation
* Remove test file
* Fix tests
* Update ping check
* Update logic
* PR feedback
2019-02-19 16:42:08 -08:00
frankiebee
c10fb3ce3f
fix typo
2019-02-12 09:05:06 -10:00
frankiebee
7e64a578a4
recent-blocks - dont listen for block when on infura providers
2019-02-11 09:16:03 -10:00
Whymarrh Whitby
f3a7054f6b
Add announcement for users migrated to the new UI
2019-02-05 08:49:55 -03:30
Whymarrh Whitby
c52ba96b85
Remove betaUI preference state, replace with completedUiMigration
2019-02-05 08:49:55 -03:30
Bruno Barbieri
cc03a7db6a
Privacy mode fixes ( #6087 )
...
* Version 5.3.4 RC1
* fix old ui approval screen
* fix error caused by meshtesting iframe
* fix linter errors
2019-02-01 14:05:46 -05:00
Paul Bouchon
db776b5a02
EIP-1102 updates ( #6006 )
...
* Update privacy notice
* Respond to 1102 messages using tab ID
2019-01-30 10:27:33 -08:00
Frankie
df3169d1c7
I#5956 fix2 dont overwrite existing rpc settings ( #6044 )
...
* mm-controller - dont overwrite existing rpc settings
* ui-networkDropdown - dont pass old network as chainId
* add methods preferencesController.updateRpc and metamaskController.updateAndSetCustomRpc
* use updateAndSetCustomRpc in settings to allow rpcs to be updated
* use new rpc as nickname if no nick name has been supplied
* fix update rpc method
2019-01-29 08:13:51 -10:00
Jenny Pollack
456bfaf9ed
add source for header in create infura client ( #6023 )
...
* add source for header in create infura client
* bump eth-json-rpc-infura
2019-01-24 14:56:55 -10:00
Alexander Tseung
fba17d77de
Refactor first time flow, remove seed phrase from state ( #5994 )
...
* Refactor and fix styling for first time flow. Remove seed phrase from persisted metamask state
* Fix linting and tests
* Fix translations, initialization notice routing
* Fix drizzle tests
* Fix e2e tests
* Fix integration tests
* Fix styling
* Fix migration naming from 030 to 031
* Open extension in browser when user has not completed onboarding
2019-01-23 11:55:34 -03:30
Bruno Barbieri
2cfea0b788
fix asset detection ( #6049 )
2019-01-22 10:23:11 -08:00
Esteban Miño
e21dfd1862
Use Parity on-chain registry only when is needed ( #6052 )
...
* add and use knownMethodData to avoid infura requests
* dataMethod to methodData and check empty response
2019-01-22 10:22:56 -08:00
Frankie
0ad7797076
I#5956 fix 1 ( #6026 )
...
* prevent invalid chainId's when adding cusstom rpcs
* migration 30 removes invalid chaids from preferences and networkController for custom rpcs
2019-01-17 09:10:33 -10:00
Thomas Huang
3bd3e640b4
Set auto conversion off for token/eth conversion ( #6005 )
2019-01-10 10:36:30 -08:00
Frankie
b5d6452454
Disallow loading as metamaskNetworkId ( #5924 )
...
* transactions - throw an error if a transaction is generated while the network is loading
* add tests for failing when netId is loading
2018-12-13 09:14:46 -10:00
Alexander Tseung
d8ab9cc002
Group transactions by nonce ( #5886 )
2018-12-09 12:48:06 -08:00
Dan Miller
246dcf689c
Fix race condition in network controller lookup() method.
2018-12-06 16:13:24 -03:30
Dan Miller
9b9a2cc2e0
Adds createSpeedUpTransaction to txController
2018-12-04 00:06:05 -03:30
Dan J Miller
4c24555545
Save recent network balances in local storage ( #5843 )
...
* Use selector for state.metamask.accounts in all cases.
* Default to cached balance when selecting metamask accounts
* Adds the cached-balances controller
* Documentation and small codes fixes for #5843
Co-Authored-By: danjm <danjm.com@gmail.com>
2018-11-30 14:51:24 -08:00
Paul Bouchon
45a9f40aa6
bugfix: normalize contract addresss when fetching exchange rates ( #5863 )
2018-11-30 11:52:00 -05:00
Dan Finlay
c7233e2cc7
Fixed Vivek's bug ( #5860 )
...
* Fixed Vivek's bug
Fixes #5850
What was happening:
It seems that his MetaMask had crashed while some new transactions had
been loading defaults. He probably had a network connectivity issue to
Infura (which we are working with Infura to address).
As a result of this network cutout, his three unapproved transactions
were not marked failed, and were not marked as `loadingDefaults =
false`, as their gas prices had not yet been estimated.
Normally this behavior is supposed to clean itself up when the
transaction controller starts up, via the
`TransactionController._onBootCleanUp()` function, but in this case,
during unlock, that function was unable to do its job because when it
requested the transaction list, the current network was in the `loading`
state, making it proceed as if there were no pending transactions.
To fix this, I am doing two things:
- Setting transactions to loadingDefaults = false in more catch blocks.
- Calling `onBootCleanUp()` when the network store's status changes, so
that it will re-trigger when loading completes.
* Fixed reference
* Fixed infinite loop bug
Was refreshing the tx list on every tx state change instead of just
network changes, creating an infinite loop.
* Add notes to tx updates to clarify logs
2018-11-29 16:08:03 -08:00
Frankie
a803522a92
transactions/tx-gas-utils - add the acctual response for eth_getCode for NO_CONTRACT_ERROR's && add a debug object to simulationFailed ( #5840 )
2018-11-29 10:07:05 -08:00
Frankie
8198ec9ae1
Autofill gasPrice for retry attempts with either the recommended gasprice or a %10 bump ( #5786 )
...
* transactions - autofill gasPrice for retry attempts with either the recomened gasprice or a %10 bump
* lint
2018-11-26 09:29:14 -10:00
Frankie
97c1e6bcc1
transactions - ensure err is defined when setting tx failed ( #5801 )
2018-11-26 09:00:58 -10:00
Whymarrh Whitby
826eb82ed8
Use initState to avoid type-checking providerRequests in state
2018-11-26 12:06:17 -03:30
Whymarrh Whitby
444c68ae53
Don't announce new UI to users switching back
2018-11-20 14:04:50 -03:30
Whymarrh Whitby
c482c9926c
Default to the new UI for first time users
2018-11-20 14:04:17 -03:30
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
2018-11-16 14:54:55 -10:00
Frankie
ce147bf6d8
Tx controller now uses safe event emitter ( #5769 )
...
* transactions - use safe-event-emitter over events
* tests - pass a platform object on init with a noop showTransactionNotification
* test - fix for tx-state-history-helper trying to reduce an empty array
* deps - safe-event-emitter
* lint
2018-11-16 10:34:08 -08:00
Dan Finlay
22ba0b0c2d
Resubmit approved transactions on new block ( #5752 )
...
* Add beginning of test
* Resubmit approved transactions on new block
May fix #4343 and related issues, where an error could leave
transactions stranded in the approved state.
* Remove unused test
* Re-approve transactions when retrying approved
* Add retry approved test
* Include approved in pending tx count
* Fix getPendingTxs()
* Linted
* Only throw hash error in submitted state
* Only check submitted txs for block inclusion
* Fix test expectations
2018-11-14 11:34:07 -10:00
Paul Bouchon
0549782595
Update Balanc3 API ( #5744 )
...
* Update balanc3 API used in TokenRatesController
* Remove demo URL and use nativeCurrency when fetching token rates
2018-11-13 14:57:43 -05:00
Paul Bouchon
c317624854
EIP-1102: Update publicConfig store concurrently with approval
2018-11-09 18:21:59 -08:00
bitpshr
896ae0ab89
Fix lint errors
2018-11-06 14:30:50 -05:00
bitpshr
34d80f21e2
Clear cached approval after rejection
2018-11-06 14:13:27 -05:00
bitpshr
879997af51
Add experimental RPC method support
2018-11-05 15:07:09 -08:00
Whymarrh Whitby
26ada8a828
Update Connect Request screen design ( #5644 )
...
* Parameterize NetworkDisplay background colour
* Update design for login request screen
* Pass siteTitle, siteImage through for calls to ethereum.enable()
* Bring the site images closer together
2018-11-05 15:07:09 -08:00
bitpshr
31cb111d2e
Do not modify isApproved when locked
2018-11-05 15:07:09 -08:00
bitpshr
9984f7edeb
Mark origins as unapproved if user explicitly locks MetaMask
2018-11-05 15:07:09 -08:00
Paul Bouchon
f557d33718
Enable caching
2018-11-05 15:07:09 -08:00
bitpshr
d4171ccea5
Disable approval caching
2018-11-05 15:07:09 -08:00
bitpshr
cc1bab6ebb
Differentiate locked and enabled
2018-11-05 15:07:09 -08:00
bitpshr
d7618bd5c6
Code bath
2018-11-05 15:07:09 -08:00
bitpshr
ba40fcbcb4
Handle logout gracefully
2018-11-05 15:07:09 -08:00
bitpshr
504f4a50f1
Fix lint issues
2018-11-05 15:07:09 -08:00
bitpshr
84874a639d
Add isUnlocked provider hook
2018-11-05 15:07:09 -08:00
bitpshr
226601a956
EIP-1102: add user privacy option
2018-11-05 15:07:09 -08:00
bitpshr
bfcb73ad53
EIP-1102: add isEnabled convenience method to provider
2018-11-05 15:07:09 -08:00
bitpshr
89b4aa5d62
EIP-1102: Add option to force-enable provider
2018-11-05 15:07:09 -08:00
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
2018-11-05 15:07:09 -08:00
kumavis
86f09e6bb5
network - infura - hardcode net_version and eth_chainId ( #5670 )
...
* network - infura - hardcode net_version and eth_chainId
* network - infura - add rinkeby handling
* lint fix
2018-11-05 14:13:37 -05:00
Esteban Miño
4489a57f2f
Update watchAsset ERC20 validation ( #5653 )
...
* update ERC20 token valodation for watchAsset
* update ERC20 validation test descriptions
2018-11-05 15:36:34 -03:30
kumavis
14852669ac
Merge pull request #5659 from MetaMask/token-rates-bugfix
...
token-rates - protect against bad token data
2018-11-03 21:57:21 -04:00
Thomas Huang
ed4f612bdc
Revert "support eth_chainId"
2018-11-03 14:21:41 -07:00
kumavis
2c1bca1ab0
token-rates - protect against bad token data
2018-11-02 22:14:40 -04:00
kumavis
73eeeda215
Merge pull request #5560 from MetaMask/sentry-enhancements2
...
Sentry - various enhancements to help debugging (alternate)
2018-10-29 21:57:51 -04:00
kumavis
310229d22e
Merge pull request #5567 from MetaMask/HowardBraham-develop
...
Feature: Warn when attempting to send tx with data to non-contract
2018-10-29 21:47:07 -04:00
kumavis
7ae5a23b6c
Merge branch 'sentry-enhancements2' of github.com:MetaMask/metamask-extension into sentry-enhancements2
2018-10-29 20:28:02 -04:00
kumavis
ccbc233282
Merge branch 'develop' of github.com:MetaMask/metamask-extension into sentry-enhancements2
2018-10-29 20:25:05 -04:00
kumavis
1bb4a8428c
Merge pull request #5596 from MetaMask/validateSignTypedData
...
Validate signTypedData signer/address in eth-json-rpc-middleware
2018-10-29 20:11:04 -04:00
kumavis
ad009a4606
Merge branch 'develop' into sentry-enhancements2
2018-10-29 19:49:53 -04:00
kumavis
18e530221b
Merge pull request #5552 from EthersocialNetwork/eth_chainid
...
network - check eth_chainId and fallback to net_version
2018-10-29 19:43:25 -04:00
kumavis
986f8b4c21
preferences - fix typo
2018-10-29 18:56:29 -04:00
hackyminer
bc7f8d0a5b
Merge branch 'develop' into eth_chainid
2018-10-26 20:37:35 +09:00
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
2018-10-26 10:26:43 +02:00
kumavis
9b42416fc0
Merge branch 'develop' of github.com:MetaMask/metamask-extension into HowardBraham-develop
2018-10-25 22:24:30 -04:00
Thomas
1d65687ce4
Validate signTypedData in eth-json-rpc-middleware
2018-10-24 20:03:55 -07:00
kumavis
b62d07f3a5
Update network.js
2018-10-21 04:32:07 -04:00
kumavis
b0c649a4e3
Merge pull request #5555 from MetaMask/support-wallet-watch-asset
...
Support for prefix wallet_watchAsset
2018-10-21 01:27:08 -04:00
kumavis
61c7bbb1c1
network - improve logging and type conversion
2018-10-21 01:20:08 -04:00
kumavis
31e5cad1e3
tx-gas-util - set error message when invalidating tx based on tx data but no contract code
2018-10-21 01:01:21 -04:00
kumavis
f0602ca354
Merge branch 'develop' of github.com:MetaMask/metamask-extension into sentry-enhancements2
2018-10-20 23:51:00 -04:00
kumavis
3b46478024
Merge branch 'develop' into develop
2018-10-20 23:48:10 -04:00
Esteban Miño
7c4f98ffd6
specific add and remove methods for frequentRpcList ( #5554 )
2018-10-19 17:50:54 -02:30
Esteban MIno
75661673e5
add support for wallet_watchAsset
2018-10-19 13:57:11 -03:00
hackyminer
2f6530a494
support both eth_chainId and net_version
...
get the real chainId using eth_chainId and use net_version as a fallback
2018-10-20 01:08:46 +09:00
kumavis
31175dcb24
blacklist + currency - report error via log instead of throw
2018-10-19 07:18:16 -04:00
kumavis
a57d267dcb
lint fix
2018-10-19 07:08:04 -04:00
kumavis
2394881511
currency - throw errors on failure
2018-10-19 04:58:19 -04:00
kumavis
65aa0a1d14
blacklist - throw errors on request/parse failure
2018-10-19 04:51:03 -04:00
Alexander Tseung
badebe017f
Adds toggle for primary currency ( #5421 )
...
* Add UnitInput component
* Add CurrencyInput component
* Add UserPreferencedCurrencyInput component
* Add UserPreferencedCurrencyDisplay component
* Add updatePreferences action
* Add styles for CurrencyInput, CurrencyDisplay, and UnitInput
* Update SettingsTab page with Primary Currency toggle
* Refactor currency displays and inputs to use UserPreferenced displays and inputs
* Add TokenInput component
* Add UserPreferencedTokenInput component
* Use TokenInput in the send screen
* Fix unit tests
* Fix e2e and integration tests
* Remove send/CurrencyDisplay component
* Replace diamond unicode character with Eth logo. Fix typos
2018-10-17 07:03:29 +08:00
Alexander Tseung
c821a8354c
Add txReceipt data to transaction details ( #5513 )
2018-10-16 06:00:47 +08:00
Whymarrh Whitby
af43b7d6c9
Ensure that new transactions added are using the selected address
2018-10-10 16:16:20 -02:30
Whymarrh Whitby
428a7cacdf
Revert "transactions - add txReceipt to the txMeta body for confirmed txs ( #5375 )"
...
This reverts commit ff67293a8e
.
2018-10-10 15:30:12 -02:30
Frankie
ff67293a8e
transactions - add txReceipt to the txMeta body for confirmed txs ( #5375 )
2018-10-10 10:26:38 -04:00
kumavis
600f755dbf
tx-gas-utils - improve format + comments
2018-10-09 23:17:05 -04:00
Howard Braham
4cc0b1ef01
ganache-core merged my PR, so I changed some comments to clarify that ganache-core v2.2.1 and below will return the non-standard '0x0'
2018-10-09 15:31:25 -07:00
Howard Braham
222e62d7f1
Bug Fix : #1789 and #4525 eth.getCode() with no contract
2018-10-09 15:31:25 -07:00
Bruno Barbieri
17b9f4c0db
Merge pull request #5458 from MetaMask/provider-subs
...
Feature: Subscription support
2018-10-09 13:25:13 -04:00
kumavis
fe82c4a9fb
provider - network - restore block-ref-rewrite middleware references
2018-10-08 12:39:18 -04:00
kumavis
354f8c0d7d
provider - enable subscription support (newHeads, logs)
2018-10-08 11:55:07 -04:00
Dan Finlay
507397f6c3
Fix updating of pending transactions
...
Transaction statuses were not being properly updated when:
- MetaMask was unlocked
- The network was changed
This PR fixes both of those. Fixes #5174
2018-10-05 10:35:14 -07:00
Whymarrh Whitby
4dd6c8168f
Add ability to whitelist a blacklisted domain at runtime
2018-10-02 10:43:46 -02:30
HackyMiner
13a1d46720
support editable customRPC ( #5267 )
...
* support editable customRPC #5246
* remove rpcList size restriction
2018-09-28 17:23:58 -02:30
Alexander Tseung
5d57c7c4fd
Merge pull request #5282 from MetaMask/tx-cancel-ui
...
Add Cancel Transaction feature. Refactor modals. Add Transaction Details modal.
2018-09-24 11:34:12 -07:00
Dan Miller
19d72c9b0b
Adds getPendingNonce method to provider initialization options in metamask-controller.
2018-09-21 15:29:42 -02:30
Alexander Tseung
5a6c333506
Switch existing modals from using Notification to Modal. Remove Notification component. Add CancelTransaction modal
2018-09-19 14:31:10 -07:00
Whymarrh Whitby
d60991ec88
Delete ConfigManager, replacing its usages with PreferencesController
2018-09-11 09:39:16 -07:00
Frankie
1552fe1c3e
Merge pull request #5216 from MetaMask/tx-cancel
...
Add createCancelTransaction method
2018-09-10 13:29:29 -10:00
Alexander Tseung
43de189d06
Add createCancelTransaction method
2018-09-10 12:48:01 -07:00
Whymarrh Whitby
7c3b69e1e4
Attach the RPC error value to txMeta
2018-09-08 19:59:50 -02:30
Esteban MIno
e743f44150
fix conflicts
2018-08-28 15:20:30 -03:00
Esteban MIno
3106374cc3
watchAsset small changes
2018-08-27 22:10:14 -03:00
Esteban MIno
b59a1e91b8
typo watchAsset imageUrl to image
2018-08-23 15:54:40 -03:00
Evgeniy Filatov
9a80d6e859
updated docs, small improvement of recent RPC rendering
2018-08-23 01:26:30 +03:00
Evgeniy Filatov
b23cca1469
implemented improvements to RPC history
2018-08-23 01:18:13 +03:00
Esteban MIno
4e6c71e969
Merge branch 'develop' into WatchTokenFeature
2018-08-21 20:14:49 -03:00
kumavis
13dfea7f2d
bugfix - prevents old blocktracker from getting internal hooks migrated
2018-08-21 14:13:23 -07:00
Esteban MIno
3a3732eb24
returning error in watchAsset
2018-08-21 13:12:45 -03:00
Esteban MIno
6fa889abcb
refactor watchToken related functions
2018-08-21 12:59:42 -03:00
Esteban MIno
68c1b4c170
watchAsset returns result wether token was added or not
2018-08-20 22:32:14 -03:00
Esteban MIno
81cd29df43
Merge branch 'develop' into WatchTokenFeature
2018-08-20 19:35:38 -03:00
Esteban MIno
dbab9a007f
delete according image when token added with watchToken deleted
2018-08-16 21:17:02 -03:00
Esteban MIno
bb868f5834
correct behavior when notification is closed when popup
2018-08-16 20:19:19 -03:00
Esteban MIno
a36ea0e232
show watch asset image from hide token modal
2018-08-16 12:04:43 -03:00
Esteban MIno
5289a36664
change watchAsset to new spec for type ERC20
2018-08-15 20:01:59 -03:00
Esteban MIno
b766104c8d
add suggested tokens objects in metamask state
2018-08-15 18:34:57 -03:00
Esteban MIno
a4b6b2357a
watchToken to watchAsset
2018-08-14 20:09:56 -03:00
Esteban MIno
a4c3f6b65c
add support for images base64 and urls on new ui
2018-08-14 20:08:12 -03:00
Thomas
96d789d2cf
Merge branch 'develop' into network-remove-provider-engine
...
Override package-lock and fix merge conflicts
2018-08-14 10:44:42 -07:00
Esteban MIno
8f5b80a0fe
update method to metamask_watchToken
2018-08-14 13:58:47 -03:00
Esteban MIno
33357e3538
refactor unused code
2018-08-07 19:12:16 -04:00
Esteban MIno
15ea8c04b2
fix merge
2018-08-07 17:53:36 -04:00
Esteban Miño
3f57d5f66b
Merge branch 'develop' into WatchTokenFeature
2018-08-07 17:50:58 -04:00
frankiebee
115d3c9aaf
Merge branch 'network-remove-provider-engine' into network-remove-provider-engine-tests
2018-08-07 01:38:32 -07:00
frankiebee
c2d4b237eb
network - fix blockTracker reference to return the blockTrackerProxy instead of the direct blockTracker reference
2018-08-07 01:35:30 -07:00
Esteban MIno
78ad3c38e2
add suggested token params validation
2018-08-06 18:28:47 -04:00
Esteban MIno
9ac9f53a73
eth_watchToken working
2018-08-03 19:24:12 -04:00
Esteban MIno
081884bd80
rpc-engine not crashing when eth_watchToken
2018-08-03 16:42:13 -04:00
Esteban MIno
21a61f2987
merge develop
2018-08-03 14:56:02 -04:00
Thomas Huang
024ebe07e0
Merge branch 'develop' into network-remove-provider-engine-tests
2018-08-01 10:40:31 -07:00
Esteban MIno
d8817b2646
fix doc tag
2018-07-31 16:18:06 -04:00
Esteban MIno
3124e8c612
tokens related functions refactor
2018-07-31 15:59:19 -04:00
Esteban MIno
ccae79d392
fix undefined for tokens on tests
2018-07-31 13:07:28 -04:00
Esteban MIno
822c1734d6
fix double state update when account changed
2018-07-30 20:36:31 -04:00
Esteban MIno
fbcba8f019
create tokens storage when setadresses
2018-07-30 19:09:17 -04:00
Esteban MIno
31286673c3
isolation of tokens related methods in preferences
2018-07-30 18:43:34 -04:00
Esteban Miño
228f48c6e5
Merge branch 'develop' into TokensPerAccountBasis
2018-07-27 16:07:08 -04:00
Esteban MIno
5b9725d1f1
refactor to accountTokens
2018-07-27 16:05:12 -04:00
Esteban MIno
2827e13caa
add & delete tokens per network
2018-07-26 19:28:12 -04:00
Esteban MIno
1d3ad7cfbb
tokens per network for individual account
2018-07-26 18:04:34 -04:00
Thomas
138858647e
Merge branch 'develop' into network-remove-provider-engine
2018-07-25 22:38:44 -07:00
Frankie
b5e3aafe2e
Merge pull request #4871 from MetaMask/3519-new-contract-gas
...
tx-gas-utils - catch all errors from gas estimation
2018-07-25 15:33:17 -10:00
Esteban MIno
adee549c43
preferences test fixes for tokens per account
2018-07-25 17:46:31 -04:00
Esteban MIno
2770df80e3
add & delete tokens per account
2018-07-25 16:14:10 -04:00
pinkiebell
3667f3cb85
network.js: convert rpc protocol to lower case ( #4855 )
...
Fixes #4253
2018-07-24 19:33:36 -02:30
Jenny Pollack
00bae74475
tx-gas-utils - catch all errors from gas estimation
2018-07-24 14:16:37 -07:00
brunobar79
5ebefc0e50
run linter
2018-07-21 16:03:31 -04:00
Esteban Miño
110efa9ec1
Merge branch 'develop' into detectTokenFeature
2018-07-20 20:09:37 -04:00
Esteban MIno
9c95554933
fix detection on submit password
2018-07-20 19:58:03 -04:00
Esteban Miño
cb045fd8fe
Auto-detect tokens #3034 ( #4683 )
...
* detect tokens polling
* network store to detect token
* tests for spec
* passtest-lint
* fix lint
* improve tests
* detect tokens through infura
* detect tokens when submit password and new account selected
* keyring unlocked detect and unit tests
* add changelog
2018-07-20 12:36:24 -04:00
Esteban MIno
009b1cefbe
keyring unlocked detect and unit tests
2018-07-19 19:46:46 -04:00
Esteban MIno
3b97d816ff
detect tokens when submit password and new account selected
2018-07-19 15:56:38 -04:00
brunobar79
d21d408d64
Merge branch 'develop' of github.com:MetaMask/metamask-extension into initial-trezor-support
2018-07-13 20:53:22 -04:00
Esteban MIno
2fffe09873
detect tokens through infura
2018-07-12 20:43:43 -04:00
Thomas Huang
5a45df72c6
Merge pull request #4669 from MetaMask/removeNonceTrackerFunction
...
Remove unsued nonce tracker function
2018-07-12 11:48:05 -07:00
brunobar79
07d8bfaec5
Merge branch 'develop' of github.com:MetaMask/metamask-extension into initial-trezor-support
2018-07-12 12:54:08 -04:00
Alexander Tseung
0d4dbbec2a
Merge pull request #4691 from MetaMask/i4404-confirm-refactor
...
Refactor and redesign confirm transaction views
2018-07-11 15:31:50 -10:00
Esteban MIno
910713c6b3
improve tests
2018-07-11 15:59:05 -04:00
brunobar79
523cf9ad33
account removal is working
2018-07-11 00:20:40 -04:00
Thomas
5188b727d4
Merge branch 'develop' into removeNonceTrackerFunction
2018-07-10 11:34:00 -07:00
frankiebee
28c509914b
Merge branch 'develop' of https://github.com/MetaMask/metamask-extension into i#3896
2018-07-10 11:32:05 -07:00
Alexander Tseung
a2d9c43fba
Various fixes from PR comments
2018-07-06 16:27:08 -07:00
Alexander Tseung
9cde5ab11b
Use eth-method-registry to get method data
2018-07-06 16:27:08 -07:00
Alexander Tseung
7732cd4100
Display newest transaction
2018-07-06 16:27:08 -07:00
Alexander Tseung
ea9d51e427
Refactor and redesign confirm transaction views
2018-07-06 16:27:08 -07:00
kumavis
77daed5c74
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-07-03 12:42:14 -07:00
Esteban MIno
0494b2fc8a
Merge branch 'develop' into detectTokenFeature
2018-07-03 13:23:15 -04:00
Esteban MIno
03fd4355af
passtest-lint
2018-07-03 12:53:06 -04:00
brunobar79
a8f745f9fe
eslint --fix .
2018-07-02 18:49:33 -04:00
kumavis
a89902c170
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-07-02 13:54:05 -07:00
Esteban MIno
6284e66481
tests for spec
2018-06-27 22:18:06 -04:00
Esteban MIno
0e863d5fab
network store to detect token
2018-06-27 19:54:43 -04:00
Esteban MIno
bfac9c2c2d
detect tokens polling
2018-06-27 16:29:24 -04:00
frankiebee
9b92ba4c47
trandsactions - remove rejected transactions from history
2018-06-25 15:07:54 -07:00
tmashuang
dd18684a5d
Remove unsued nonce tracker function
2018-06-25 15:01:14 -07:00
Dan Finlay
0481335dda
Improved rpc-engine usage
2018-06-18 15:50:27 -07:00
Dan Finlay
5e4f3e430a
Get popup appearing when suggesting new token
2018-06-18 15:37:37 -07:00
Dan Finlay
f14ed32980
Begin letting UI show suggested tokens
2018-06-18 15:33:50 -07:00
Dan Finlay
5d7c2810a7
Begin adding eth_watchToken
2018-06-18 15:07:08 -07:00
kumavis
33cb0a8cb2
lint - fix recipient-blacklist.js
2018-06-15 11:07:56 -07:00
kumavis
83c02f90cf
blacklist - recipient blacklist as js for inline comments
2018-06-15 10:47:42 -07:00
kumavis
753743e746
Update recipient-blacklist-config.json
2018-06-15 10:32:09 -07:00
Dan Finlay
a42299aab7
Add apparent phishing address to block list
...
In [this reddit post](https://www.reddit.com/r/Metamask/comments/8r3nsu/help_me_please_somebody_stole_my_ethers/ ) a user suggests they got some ether stolen after visiting IDEX. Their ether was sent to [this address](https://etherscan.io/address/0x9bcb0a9d99d815bb87ee3191b1399b1bcc46dc77 ), which is full of comments of people telling similar stories of being phished on IDEX. I think we can safely block this, and probably safe some people some money.
2018-06-15 08:55:39 -07:00
kumavis
604289c96c
controllers - transaction - prefer log over console
2018-06-12 12:08:06 -07:00
kumavis
177cc3f280
metamask - ensure all nonce locks are released
2018-06-12 11:51:35 -07:00
kumavis
8f93e34175
nonce-tracker - wrap nonce calculations in try-catch and release lock on error
2018-06-12 11:31:26 -07:00
kumavis
055346843b
lint - fix lint for network
2018-06-12 11:27:32 -07:00
kumavis
6a2649a90f
network - import createBlockTrackerInspectorMiddleware and rearrange cache middleware order
2018-06-12 11:12:32 -07:00
kumavis
c86f935889
nonce-tracker - wrap nonce calculations in try-catch and release lock on error
2018-06-12 10:55:54 -07:00
kumavis
0db776c3cc
lint - controllers - whitepace fix
2018-06-11 10:17:09 -07:00
kumavis
3ce83570ee
network - provider - infura - use block-reemit middleware
2018-06-07 12:26:37 -07:00
Dan Finlay
c53c5d5c9e
Fix bug where reset account would not work.
...
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.
2018-06-06 16:46:39 -07:00
kumavis
2198276bd5
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-06-06 12:05:38 -07:00
kumavis
d30f03dcbf
Merge pull request #4414 from scsaba/recipient-blacklist
...
Disallow sending to ganache default accounts on main net
2018-06-06 11:54:01 -07:00
kumavis
9d77b0a196
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-06-06 11:08:29 -07:00
Whymarrh Whitby
3cc85c219e
Add account type assertion to PreferencesController#setAccountLabel
2018-06-05 14:06:56 -07:00
kumavis
20bdba3d17
diagnostics - rewrite bug-notifier as diagnostics-reporter
2018-06-05 11:51:27 -07:00
Dan Finlay
41f292437d
Record identity before deleting it
2018-06-04 15:34:38 -07:00
Dan Finlay
ae156e1087
Mock notifier in test
2018-06-04 15:26:01 -07:00
Dan Finlay
f07ca73e07
Add comment
2018-06-04 15:18:12 -07:00
Dan Finlay
415ab2d534
Do not alert to user
2018-06-04 15:17:03 -07:00
Dan Finlay
22754e3e1f
Linted
2018-06-04 15:10:51 -07:00
Dan Finlay
7b87afb4b7
Add bug info under metadata key
2018-06-04 15:06:21 -07:00
Dan Finlay
0eacee8e45
Add first time info to bug report
2018-06-04 15:03:31 -07:00
Dan Finlay
3bfc40c284
Add version to report
2018-06-04 14:59:46 -07:00
Dan Finlay
d07c664b2c
Fine tune error posting
2018-06-04 14:30:24 -07:00
Dan Finlay
b858cc4b1b
Only notify first time lost ids are detected
2018-06-04 14:24:45 -07:00
Dan Finlay
f3b385cb09
Add reporting uri
2018-06-04 14:22:34 -07:00
Dan Finlay
fd1ce4d741
Begin adding unconfigured notifier
2018-06-04 14:21:46 -07:00
Dan Finlay
8fcaa2cf56
Persist lost identities to storage for later analysis
2018-06-04 14:05:56 -07:00
Dan Finlay
f5d4acf53b
Add minimal user notification of issue.
2018-06-04 14:01:05 -07:00
Dan Finlay
7382bd0847
Add identity synchronizing code
...
Addresses #4475 , where entries in the identities object do not
necessarily have corresponding accounts in the vault.
On password submission, this change passes known accounts to the
preferencesController (responsible for nickname management), and removes
unknown entries.
Includes "TODO" notes for where we could log the issue to sentry or
notify the user.
2018-06-04 13:43:26 -07:00
kumavis
54a9c62fd6
preferences controller - jsdoc fix
2018-06-03 11:30:11 -07:00
kumavis
d4cdd1a0f3
metamask - update preferences controller identities on keyring controller update
2018-06-03 11:27:25 -07:00
Dan Finlay
b1b90a6bb9
Version 4.7.1
2018-06-01 15:48:16 -07:00
Csaba Solya
1dda0c6469
remove generating blocked accounts and use a config file instead
2018-05-30 21:15:59 +02:00
Csaba Solya
3e489ea165
fix documentation
2018-05-30 17:42:41 +02:00
Csaba Solya
cf73581c0e
adding tests for recipient blacklist checker
2018-05-30 17:38:27 +02:00
Csaba Solya
6affd8f949
adding transaction controller tests
2018-05-30 16:24:40 +02:00
Csaba Solya
afb5788861
initial implementation
2018-05-30 15:53:18 +02:00
kumavis
4205d92729
Merge branch 'master' of github.com:MetaMask/metamask-extension into merge-master
2018-05-29 16:12:36 -07:00
kumavis
58de5671cc
controllers - transactions - fix tx status update on boot
2018-05-29 00:53:44 -07:00
kumavis
16d0db15e0
controllers - transactions - fix tx confirmation
2018-05-29 00:41:28 -07:00
kumavis
1b3fedd10d
controllers - transaction - pending-tx-tracker - lint fix
2018-05-28 15:54:47 -07:00
kumavis
5be154ea20
controllers - transactions - merge @frankiebee's work with mine
2018-05-28 14:29:31 -07:00
Anton
71a6e97327
cleanErrorStack moved to separate library module
...
more errors traces cleaned up
2018-05-28 22:57:08 +02:00
Anton
1d23a5c81b
error message fix
2018-05-28 18:08:33 +02:00
Anton
62dc6e20eb
Clean up user rejection error message
2018-05-28 17:57:45 +02:00
kumavis
9f8d5f0547
controllers - transactions - pending-tx-tracker - _getBlock - poll until block is truthy
2018-05-25 13:30:26 -07:00
kumavis
61ef4f1f29
tx-gas-utils - query for block without tx bodies
2018-05-25 13:21:42 -07:00
kumavis
49ef93b991
controllers - recent-blocks - guard against empty block
2018-05-24 13:43:16 -07:00
kumavis
ee800de025
controllers - recent-blocks - wrap block-tracker event in try-catch
2018-05-23 22:46:20 -07:00
kumavis
dc96b1eb93
Merge branch 'network-remove-provider-engine' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-05-23 22:34:00 -07:00
kumavis
22e59af741
controllers - recent-blocks - ensure full blocks
2018-05-23 22:32:33 -07:00
kumavis
3d8f41e912
Merge pull request #4347 from MetaMask/transactions-use-new-block-tracker
...
Transactions use new block tracker
2018-05-23 16:33:02 -07:00
kumavis
53b946362a
controllers - recent-blocks - doc update
2018-05-23 16:20:35 -07:00
frankiebee
61caee9d94
Merge branch 'network-remove-provider-engine' of https://github.com/MetaMask/metamask-extension into transactions-use-new-block-tracker
2018-05-22 16:45:20 -07:00
frankiebee
c4b09da34e
transactions - update pending-tx-tracker to use the new block tracker
2018-05-22 16:42:06 -07:00
frankiebee
10aecf4922
remove dependance on the even tx:confirmed
2018-05-22 16:40:01 -07:00
kumavis
145016be4c
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-05-22 16:22:10 -07:00
kumavis
3a80f3dd83
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-05-22 13:20:04 -07:00
kumavis
fa37ba3992
controllers - recent-blocks - pull first historical blocks in parallel
2018-05-22 01:58:36 -07:00
Frankie
e8b2e11c56
Reveal get filtered tx list ( #4332 )
...
* add getFilteredTxList from txController to getApi
* transactions - remove dead code (isNonceTaken)
2018-05-21 16:00:44 -07:00
Whymarrh Whitby
c54e4c7191
Add PreferencesController#setAddresses to update ids
2018-05-17 12:57:39 -02:30
Whymarrh Whitby
cbe4d0d88c
Update AddressBookController to read from preferences store
2018-05-17 12:57:39 -02:30
Whymarrh Whitby
924cc1fcf7
Move setAccountLabel into PreferencesController
2018-05-17 12:57:39 -02:30
kumavis
3084dc47d1
recent-blocks - fix backfill blockNumber tracking
2018-05-17 00:13:20 -07:00
kumavis
41c04ef721
controllers - recent-blocks - fix pifyd setTimeout args
2018-05-16 23:13:25 -07:00
kumavis
08dc238c9f
deps - fix incorrect dep paths and versions
2018-05-16 22:46:11 -07:00
kumavis
32b3b8f2a7
controllers - balance - update for eth-block-tracker@4
2018-05-16 21:16:05 -07:00
kumavis
623533ab15
recent-blocks - update for eth-block-tracker@4
2018-05-16 21:13:53 -07:00
kumavis
3e04840a71
remove unused events-proxy, was replaced with module swappable-obj-proxy
2018-05-16 21:10:41 -07:00
kumavis
b6eff15bd2
lint fix
2018-05-16 21:08:19 -07:00
kumavis
088d7930e0
network - create provider and block-tracker via json-rpc-engine
2018-05-16 20:46:34 -07:00
kumavis
44f31f9a7e
Merge branch 'develop' of github.com:MetaMask/metamask-extension into scsaba-transaction-history-timestamps
2018-05-16 13:56:32 -07:00
kumavis
8e1cad5ff6
tx-state-history-helper - use more readable Date.now method
2018-05-16 13:05:07 -07:00
kumavis
d62fc22611
network - remove debugging console.log
2018-05-16 11:59:50 -07:00
kumavis
c27d9162d7
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-controller-remove-setNetworkEndpoints
2018-05-16 11:57:07 -07:00
Csaba Solya
2081768fc5
fix lint issues
2018-05-10 13:43:31 +02:00
Csaba Solya
3642810584
remove unnecessary lib
2018-05-10 13:34:56 +02:00
Csaba Solya
349fb9e0bc
revert unnecessary change in state manager
2018-05-10 13:33:40 +02:00
Csaba Solya
9026651224
add time stamps to transaction history log entries
2018-05-10 13:26:02 +02:00
bitpshr
6351b7bb88
Fix documentation typo
2018-05-07 15:08:43 -04:00
kumavis
a1d13d45cf
lint - cleanup some unused variables
2018-05-02 18:23:55 -07:00
kumavis
fec4c50657
controllers - network - move default config out of first-time-state
2018-05-02 18:03:59 -07:00
frankiebee
a45cb75435
transactions - add a nonce check utility for ui use
2018-05-01 13:57:43 -07:00
frankiebee
62bf76db53
fix - getTxsByMetaData check if the key is in the object not if the value is truthy
2018-05-01 13:57:14 -07:00
kumavis
53caa49666
network - refactor to remove unnecesary code
2018-04-30 17:59:53 -07:00
kumavis
6f316ca450
network - remove setNetworkEndpoints
2018-04-30 16:36:17 -07:00
kumavis
bfedd2776d
controllers - network - more semantic assert
2018-04-30 16:23:16 -07:00
Thomas Huang
3180b69b97
Merge pull request #4140 from MetaMask/v4.6.1
...
Version 4.6.1
2018-04-30 14:37:22 -07:00
frankiebee
98ae853b6c
require log
2018-04-30 09:57:36 -07:00
frankiebee
706647785c
log emitter errors
2018-04-29 16:35:08 -07:00
frankiebee
7eb735651b
transactions - run event emitters outside context of _setTxStatus
2018-04-29 16:32:16 -07:00
kumavis
2b9925a9e4
Merge pull request #4110 from MetaMask/master
...
Develop - Add commits to develop that are already in Master
2018-04-27 16:17:46 -06:00
bitpshr
8c5994abc9
Return 0 for token rate fetch failures
2018-04-26 18:31:54 -04:00
Thomas Huang
4e7b0ff15c
Merge pull request #4095 from MetaMask/v4.6.0
...
Version 4.6.0
2018-04-26 14:16:35 -07:00
kumavis
dcd04091cc
Merge pull request #4042 from MetaMask/tx-controller-rewrite-v3
...
docs and file organization for txController
2018-04-25 16:52:46 -06:00
kumavis
1c63b11e3f
rpc - bump provider-engine + eth-json-rpc-filters
2018-04-25 14:02:41 -07:00
frankiebee
8ffce8b59d
transactions - more docs and clean ups
2018-04-25 11:13:51 -07:00
Dan Finlay
f6653b9f94
Merge pull request #4069 from MetaMask/i4056-LatestPriceApi
...
Use latest balanc3 api for prices
2018-04-25 10:42:03 -07:00
Dan Finlay
7ec775d614
Use latest balanc3 api for prices
2018-04-24 14:12:57 -07:00
Dan
ed264d3479
Merge branch 'master' into dm-docs-2
2018-04-24 12:36:30 -02:30
Dan Finlay
a833f02f33
Use the metamask balanc3 dev price api
...
Fixes #4056
2018-04-23 16:39:33 -07:00
Alexander Tseung
9e41f58af2
Clean up network config
2018-04-23 10:18:05 -07:00
Dan Finlay
621e9334bc
Cleaned up some typos and JSDocs in Transactions
...
Nonce tracker is not fully documented yet.
Have not yet touched:
- tx-state-manager
- tx-state-history-helper
- util
- tx-gas-utils
- pending-tx-tracker
2018-04-23 09:43:18 -07:00
Dan
0c26df9653
Fix nits.
2018-04-23 14:11:02 -02:30
Dan Finlay
74c419f9b6
Merge pull request #4020 from MetaMask/i3941-jsdoc-bitpshr
...
Documentation
2018-04-20 14:10:05 -07:00
Dan
69920045e9
Minor fixes in a number of docs.
2018-04-20 15:48:58 -02:30
Dan
71b0de76ff
Merge branch 'master' into dm-docs-2
2018-04-20 13:23:17 -02:30
bitpshr
8636f3bae5
Clean up JSDoc for background scripts
2018-04-19 15:14:00 -04:00
frankiebee
e862a5091e
transactions - fix refernces
2018-04-19 12:07:45 -07:00
frankiebee
c20c97ce62
Merge branch 'master' into tx-controller-rewrite-v3
2018-04-19 11:49:11 -07:00
frankiebee
eeb9390de8
meta - transactions - docs yo!
2018-04-19 11:46:15 -07:00
bitpshr
9c7eafc86f
Add more documentation to computed balances controller
2018-04-19 14:37:08 -04:00
Dan
9f12c26d44
Even more documentation for various controllers and libs.
2018-04-19 13:08:56 -02:30
bitpshr
6dbdc87713
Add generated docs
2018-04-18 17:24:36 -04:00
Dan
164f9c4662
Missing bracket in docblock.
2018-04-18 16:17:06 -02:30
Dan
649d2f8b22
Merge branch 'master' into dm-docs-1
2018-04-18 16:15:48 -02:30
Dan
e80bd230b9
NO MIXED TABS AND SPACES
2018-04-18 16:11:39 -02:30
Dan
6d96b1a2ab
Documentation fix: @constant -> @property
2018-04-18 16:08:08 -02:30
Dan
128cb1af46
Improve documentation of promises that return undefined.
2018-04-17 00:54:16 -02:30
Dan
e9ca7199ab
Typo fixes, type fixes on the return clauses of the buyEthUrl and getPrefferedLangCode functions.
2018-04-16 21:23:29 -02:30
Dan Finlay
0668976514
Merge branch 'master' into i3981-contract-rates
2018-04-16 16:32:56 -07:00
Dan
cc7e71488e
Spell deprecated correctly.
2018-04-16 19:47:52 -02:30
Dan
23acddf8f6
@params -> @param fix
2018-04-16 19:45:27 -02:30
bitpshr
b4912f29cd
Disable token price polling when no client is active
2018-04-16 18:12:05 -04:00
Dan
20a075657f
Documentation for various controllers and libs
2018-04-16 14:38:04 -02:30
bitpshr
d0447f9058
Maintain token prices using a background service
2018-04-16 11:47:06 -04:00
bitpshr
7129d7c0f3
Require loglevel singleton in each module that uses it
2018-04-13 17:56:28 -04:00
frankiebee
943eea043c
fix up - more docs
2018-04-13 13:18:45 -07:00
frankiebee
88f4212363
meta - transactions - code clean up and jsDoc
2018-04-13 12:38:07 -07:00
frankiebee
3aaa28531e
transactions - code cleanup
2018-04-12 12:24:16 -07:00
frankiebee
5494aa4f9c
transactions - lint fixes
2018-04-10 14:54:30 -07:00
frankiebee
2d7c3c2b00
meta - transactions - create a transactions dir in controller and move relevant files into it
2018-04-10 14:28:05 -07:00
frankiebee
c02da0f27c
transactions - _normalizeTxParams will now return a new object for txParams
2018-04-05 12:12:02 -07:00
frankiebee
343f0e9e80
transactions - remove unnecessary keys on txParams
2018-04-04 22:29:43 -07:00
frankiebee
245c01bc0f
transactions - make #_validateTxParams not async and "linting" wink wink nudge nudge
2018-04-04 14:57:27 -07:00
frankiebee
457a47bf62
transactions - normalize txParams
2018-04-04 14:27:20 -07:00
kumavis
038ad91454
app - currency - fix typo + prefer log over console
2018-04-03 10:39:23 -07:00
kumavis
79d63332ee
app - currency - fix typo
2018-04-03 10:35:41 -07:00
kumavis
ecbab14cae
app - warn on fetch errors instead of spamming sentry
2018-04-03 10:33:10 -07:00
frankiebee
ab126b8c78
transactions gasLimit - use the block gasLimit if getCode fails
2018-04-02 15:43:32 -07:00
frankiebee
3def45004a
transactions#newUnapprovedTransaction - dont default origin to metamask
2018-03-30 16:00:11 -07:00
frankiebee
03b123a85d
transactions - put the origing on the txMeta to help with debugging
2018-03-30 15:48:39 -07:00
Frankie
8766420f19
Merge pull request #3777 from MetaMask/etc-fixes
...
Sentry spam fix and etc fixes
2018-03-28 12:57:01 -07:00
kumavis
c4c459c8d7
controllers - currency - warn currency and encountered error
2018-03-28 09:41:25 -07:00
kumavis
21fbaed97c
tx controller - explode on non-hex txParams + dont add chainId to txParams + sign with chainId as number
2018-03-27 23:55:18 -07:00
Dan
b9309f689b
Use extension api to get initial locale.
2018-03-22 12:49:19 -02:30
Dan
be845fd190
Merge branch 'master' into i18n-translator-redux
2018-03-21 22:28:58 -02:30
kumavis
1a60094d50
Merge pull request #3504 from lazaridiscom/laz/i3427
...
adds READMEs to folders, re #3427
2018-03-20 16:28:47 -07:00
kumavis
29cc2f8ab9
Merge branch 'master' of github.com:MetaMask/metamask-extension into i18n-translator-redux
2018-03-20 13:01:08 -07:00
Dan
5fe0be722b
Handle i18n with redux.
2018-03-15 21:59:45 -02:30
Dan
106ce091a9
Fix TransactionStateManager spelling.
2018-03-14 11:45:04 -02:30
Lazaridis
2d3763d709
add READMEs to folders, re #3427
2018-03-14 15:33:22 +02:00
frankiebee
9d7640996a
transactions - return the txMeta in retryTransaction
2018-03-13 14:42:26 -07:00
Dan
81e72147ef
Merge branch 'master' into retry-tx-refractor
2018-03-09 02:07:27 -03:30
frankiebee
5572345b78
fix marking of confirmed transaction as dropped
2018-03-08 10:37:47 -08:00
frankiebee
4a3288fec9
transactions - make _markNonceDuplicatesDropped
2018-03-07 22:01:14 -08:00
frankiebee
62febac876
refactor retrytx with higher gas price:
...
- create a new tx instead of overwriting the tx hash
- add a new state 'dropped' to the txStateManager
- mark duplicate txs as dropped when one gets confirmed in a block
2018-03-07 17:16:16 -08:00
Jeffrey Tong
57dc5a6e9b
fix typo in transaction.js
2018-03-06 20:37:26 -08:00
Dan
d8896a8c31
Merge branch 'master' into uat
2018-02-07 16:32:47 -03:30
Bruno Barbieri
03d17c75ae
wipe only transactions for current account
2018-01-31 04:25:32 -05:00
Bruno Barbieri
e6fda855a5
added reset account feature
2018-01-31 03:33:15 -05:00
Chi Kei Chan
77c545336b
Merge branch 'uat' into newmaster
2018-01-19 15:29:36 -08:00
kumavis
96fc916024
Update transactions.js
2018-01-17 17:56:31 -08:00
frankiebee
234c2417ca
transactions - transtion approved transactions to failed transactions on boot
2018-01-17 16:49:38 -08:00
frankiebee
be8d924432
transactions - fail txs on boot who fail addTxDefaults
2018-01-17 15:48:37 -08:00
frankiebee
9f19fea8e0
transactions - wrap addTxDefaults in a try catch and re try addTxDefaults on boot if they did not complete
2018-01-17 15:42:01 -08:00
Alexander Tseung
81f86cfab6
Merge branch 'uat' into uat-master-011618
2018-01-16 18:17:28 -08:00
Frankie
f18ed8bfd4
Merge branch 'master' into open-popup
2018-01-15 15:25:14 -08:00
Dan Finlay
582634d9fa
Merge pull request #2936 from MetaMask/i2925-BetterGasEstimation
...
Improve gas price estimation by backfilling recent-blocks
2018-01-15 14:35:59 -08:00
frankiebee
f0dd4f1923
transactions - emit 'newUnapprovedTx' before estimateGas finishes
2018-01-14 14:00:17 -08:00
Dan Finlay
7cb66ce4cb
Prefer passing a provider over an ethQuery instance
2018-01-12 10:25:36 -08:00
Dan Finlay
4a9dad7c40
Improve gas price estimation by backfilling recent-blocks
...
When first initializing, recent-block controller now back-fills up to
its desired history length. This makes estimated gas prices reflect a
longer recent history, even when first switching to a new network.
Fixes #2925
2018-01-11 15:04:54 -08:00
kumavis
ab7701efb3
provider - infura - use infura REST api
2018-01-08 14:57:57 -08:00
kumavis
63ae7fb589
bugfix - transactions controller - breakout logic and fix order of operations bug
2018-01-08 13:20:38 -08:00
kumavis
9a8670309d
bugfix - transactions controller - breakout logic and fix order of operations bug
2018-01-08 13:19:18 -08:00
Dan Finlay
aec24ec81e
Fix feature to work
2018-01-05 22:08:03 -08:00
Dan Finlay
4bca98d588
Derive gas price estimate from previous transactions
...
Return the 50th percentile lowest gas price of the previous 20 blocks.
2018-01-05 21:24:20 -08:00
Alexander Tseung
06410381d4
Merge branch 'NewUI-flat' into merge-master
2017-12-22 11:00:46 -08:00
Alexander Tseung
a218008adf
Track usage of old and new UI ( #2794 )
...
[NewUI] Track usage of old and new UI
2017-12-22 10:43:02 -08:00
Dan Finlay
33dbee3db9
Remove retryTimePeriod from tx controller
2017-12-21 14:15:17 -08:00
Chi Kei Chan
9959aea598
Merge branch 'NewUI-flat' into merge-master-to-newUI-flat-dec20
2017-12-20 17:38:28 -08:00
Dan
bf4043c59b
Adds updateTransaction to background and used it to update after editing in send-v2.
2017-12-20 17:37:18 -08:00
Dan
1f1fc2c49e
Canceled, edited transactions show edited amount.
2017-12-20 17:37:18 -08:00
Dan
7915e62d65
Merge branch 'master' into NewUI-flat
2017-12-20 19:16:12 -03:30
Thomas Huang
d3f5ad874e
Merge pull request #2763 from MetaMask/AddRecentBlocksController
...
Add Recent Blocks controller
2017-12-20 13:07:34 -05:00
Dan Finlay
30b45c8a38
Do not log whole txs in recent block controller.
...
Only record gas prices, because that has a current use.
2017-12-19 12:23:59 -08:00
Dan Finlay
975f7279c7
Allow updating token details
...
Fixes #2173
2017-12-18 15:57:04 -08:00
Dan Finlay
10ff77477c
Add Recent Blocks controller
...
Tracks recent blocks, useful for estimating recent successful gas
prices.
2017-12-17 16:36:55 -08:00
Thomas Huang
fb8744771a
Change console.log for opts in _configureInfuraProvider
2017-12-15 14:43:55 -06:00
kumavis
161aa66cb4
Revert "Revert "network - for infura networks use the infura block tracker provider""
...
This reverts commit 5df7dcd758
.
2017-12-13 18:57:27 -08:00
Frankie
5df7dcd758
Revert "network - for infura networks use the infura block tracker provider"
2017-12-13 17:46:56 -08:00
kumavis
33e6befdaa
network - for infura networks use the infura block tracker provider
2017-12-13 13:51:36 -08:00
Dan Finlay
542e0035dd
Pass polling interval to zero client provider
2017-12-09 19:58:47 -05:00
kumavis
a91200fd08
tx-controller - failed state is a finished state
2017-12-07 18:04:14 -05:00
Dan Finlay
950ec9596c
Do not allow nonces larger than the next valid nonce
...
To avoid situations where a user signs a transaction that will become
surprisingly valid in the future.
2017-12-07 16:13:40 -05:00
Dan Finlay
89e640afcb
Merge branch 'master' into patch-2
2017-12-07 16:05:17 -05:00
Chi Kei Chan
845aec82b9
Merge branch 'NewUI-flat' into MM-333-auto-add-users-to-new-UI
2017-12-07 09:46:28 -08:00
vicnaum
553d713636
A more expressive way
...
replaced ifs with ? :
2017-12-07 15:30:05 +01:00
Chi Kei Chan
373f8b72d0
Merge branch 'master' into NewUI-flat
2017-12-06 21:13:29 -08:00
Dan
ec6c3c33bd
Merge branch 'master' into NewUI-flat-merge-with-master
2017-12-06 21:11:52 -08:00
Dan Finlay
0e25129028
Enforce retry tx at minimum gas of previous tx
2017-12-06 23:42:47 -05:00
Dan Finlay
6ff580584a
Add retry background method and action
2017-12-06 22:20:58 -05:00
vicnaum
7854321fae
Fix for #2644 - Specified Nonce isn't used
...
Added nonceSpecified.
And a check if nonce was specified - then we should use the specified nonce instead of generating a new one.
2017-12-06 22:49:24 +01:00
Dan
ea23da9e75
Correct note for updateTx after block-update event in transaction.js
2017-12-06 13:07:31 -03:30
Dan
ae2a4d78e8
Exponentional backoff on transaction retry in pending-tx-tracker
2017-12-05 17:21:14 -03:30
Dan
84321b2d9b
Lint fix
2017-12-04 23:08:23 -03:30
Dan
7f79524070
Add UI selection
2017-12-04 23:08:23 -03:30
Dan Finlay
725277dbdb
Merge pull request #2441 from MetaMask/kumavis-patch-3
...
NetworkController - add warning when aborting lookupNetwork
2017-11-27 16:21:25 -08:00
kumavis
634102df63
network controller - warn via log.warn
2017-11-27 13:59:32 -10:00
Jason Clark
a34362b776
Fixes changes requested in pullrequestreview-79088534
2017-11-27 08:11:48 -07:00
Jason Clark
fc46a16a32
toggle wired up to preferences property store
2017-11-24 10:35:17 -07:00
Clark, Jason (Contractor)
90fc4812bc
incremental commit
2017-11-23 18:33:44 -07:00
Chi Kei Chan
e61ba93194
Merge branch 'master' into merge-master
2017-11-15 12:03:13 -08:00
Dora E. Mondrian
41fea44af3
newUnaprovedTx => newUnapprovedTx
...
This typo tripped me up when I was reading through the code and trying to understand what's going on.
2017-11-06 04:35:51 -08:00
Dan
5a94775b3f
Lint fixes for NewUI-flat.
2017-11-02 00:00:33 -02:30
Kevin Serrano
e0030a8bf8
Merge pull request #2291 from MetaMask/gasPriceSpecified
...
Add boolean for specified gas price
2017-10-27 14:01:08 -07:00
Chi Kei Chan
301c737bbc
Merge branch 'master' into NewUI-flat
2017-10-24 16:56:49 -07:00
Kevin Serrano
1767dceba4
Merge pull request #2422 from watilde/fixes-lint
...
Fixes lint warnings
2017-10-24 16:53:54 -07:00
Chi Kei Chan
7c20011023
Merge branch 'master' into NewUI-flat
2017-10-24 16:50:25 -07:00
kumavis
b17a799de6
Update network.js
2017-10-23 12:10:49 -07:00
Dan Finlay
6d05238469
Try to fix intermittent test failure in NonceTracker tests
2017-10-22 22:24:50 -07:00
Daijiro Wachi
43b1cb9100
Fix lint warnings
...
Fixed warnings:
```md
app/scripts/controllers/computed-balances.js
+ 35:27 warning Missing space before function parentheses space-before-function-paren
+ 41:14 warning 'address' is never reassigned. Use 'const' instead prefer-const
+ 61:9 warning 'updater' is never reassigned. Use 'const' instead prefer-const
+ 68:11 warning 'newState' is never reassigned. Use 'const' instead prefer-const
app/scripts/controllers/network.js
+ 104:29 warning Missing space before function parentheses space-before-function-paren
app/scripts/lib/createLoggerMiddleware.js
+ 4:32 warning Missing space before function parentheses space-before-function-paren
+ 15:2 warning Newline required at end of file but not found eol-last
app/scripts/lib/createOriginMiddleware.js
+ 4:32 warning Missing space before function parentheses space-before-function-paren
+ 9:2 warning Newline required at end of file but not found eol-last
app/scripts/lib/createProviderMiddleware.js
+ 5:34 warning Missing space before function parentheses space-before-function-paren
+ 13:2 warning Newline required at end of file but not found eol-last
app/scripts/lib/events-proxy.js
+ 1:50 warning Missing space before function parentheses space-before-function-paren
+ 31:2 warning Newline required at end of file but not found eol-last
app/scripts/lib/nodeify.js
+ 2:22 warning Missing space before function parentheses space-before-function-paren
+ 2:24 warning Missing space before opening brace space-before-blocks
+ 5:18 warning Missing space before function parentheses space-before-function-paren
+ 5:20 warning Missing space before opening brace space-before-blocks
app/scripts/lib/pending-balance-calculator.js
+ 16:19 warning Missing space before function parentheses space-before-function-paren
app/scripts/lib/pending-tx-tracker.js
+ 85:11 warning '||' should be placed at the end of the line operator-linebreak
+ 87:11 warning '||' should be placed at the end of the line operator-linebreak
+ 88:11 warning '||' should be placed at the end of the line operator-linebreak
+ 90:11 warning '||' should be placed at the end of the line operator-linebreak
+ 91:11 warning '||' should be placed at the end of the line operator-linebreak
app/scripts/lib/port-stream.js
+ 3:22 warning Missing space before function parentheses space-before-function-paren
+ 3:24 warning Missing space before opening brace space-before-blocks
app/scripts/lib/tx-gas-utils.js
+ 84:2 warning Newline required at end of file but not found eol-last
app/scripts/lib/tx-state-history-helper.js
+ 12:37 warning Missing space before function parentheses space-before-function-paren
+ 23:30 warning Missing space before function parentheses space-before-function-paren
+ 30:23 warning Missing space before function parentheses space-before-function-paren
+ 35:28 warning Missing space before function parentheses space-before-function-paren
+ 41:2 warning Newline required at end of file but not found eol-last
app/scripts/lib/tx-state-manager.js
+ 94:13 warning 'value' is never reassigned. Use 'const' instead prefer-const
ui/app/reducers.js
+ 45:7 warning 'state' is never reassigned. Use 'const' instead prefer-const
+ 53:7 warning 'stateString' is never reassigned. Use 'const' instead prefer-const
ui/lib/tx-helper.js
+ 27:2 warning Newline required at end of file but not found eol-last
ui/app/components/account-dropdowns.js
+ 163:1 warning More than 2 blank lines not allowed no-multiple-empty-lines
ui/app/components/menu-droppo.js
+ 22:7 warning 'style' is never reassigned. Use 'const' instead prefer-const
ui/app/components/shapeshift-form.js
+ 135:11 warning '&&' should be placed at the end of the line operator-linebreak
ui/app/components/typed-message-renderer.js
+ 35:25 warning Missing space before function parentheses space-before-function-paren
+ 42:2 warning Newline required at end of file but not found eol-last
mascara/server/index.js
+ 11:42 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat
+ 12:36 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat
+ 13:33 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat
+ 14:40 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat
+ 20:29 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat
+ 21:29 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat
+ 26:40 warning Use path.join() or path.resolve() instead of + to create paths no-path-concat
```
2017-10-21 21:06:39 +02:00
Chi Kei Chan
344b467d03
Merge branch 'master' into NewUI-flat
2017-10-20 11:05:10 -07:00
Dan Finlay
0ae406e489
Allow computed balances to enumerate its own view
2017-10-19 09:59:57 -07:00
Chi Kei Chan
c8c773d641
Merge branch 'NewUI-flat' into merge
2017-10-18 22:58:46 -07:00
Dan Finlay
bbe2c9f48d
Merge remote-tracking branch 'origin/master' into i2348-SelectAccountOnNewVault
2017-10-18 17:07:25 -07:00
kumavis
8da0d0b28a
Revert "NetworkController refactor for new EthClient interface"
2017-10-18 15:09:32 -07:00
Dan Finlay
75177ce34c
Make account tracking more reactive
...
We were doing a lot of conditional observation & updating.
Pulled out a bunch of that for generic observer/syncers.
2017-10-18 15:08:34 -07:00
Dan Finlay
9cc1e8a6d8
Refresh computed balances controller when restoring vault
2017-10-18 14:22:04 -07:00
Dan Finlay
ea79eca8eb
Add validation to balance constructor
2017-10-18 12:21:22 -07:00
kumavis
dcf10f3d75
nonce-tracker - use blockTracker directly
2017-10-11 18:33:36 -07:00
kumavis
0f8d7dacb1
network-controller - use obj-proxy for providerProxy
2017-10-10 17:26:44 -07:00
kumavis
4d273d3cea
lint fixes
2017-10-10 14:14:43 -07:00
kumavis
efa92a7fc5
network controller - refactor to use eth-rpc-client
2017-10-10 14:13:12 -07:00
Dan Finlay
94513cae7b
Provide method for tx tracker to refer to all txs
2017-10-06 12:50:33 -07:00
frankiebee
ec9c528313
pending-tx - check time stamp instead of block number for resubmit
2017-10-05 11:07:22 -07:00
Kevin Serrano
15809894ff
Add indicator for specified gas price
2017-10-05 09:58:04 -07:00
Chi Kei Chan
bd99bc2e88
Merge branch 'master' into NewUI-flat
2017-10-03 16:02:58 -07:00
Dan
ac4868170f
Enables remove token and ensures add/remove update the list without need for refresh.
2017-10-03 15:46:01 -07:00
frankiebee
833da191c3
transaction - provide notes for history
2017-10-02 13:41:29 -07:00
Dan Finlay
d5b0d8af4f
Version 3.10.8 - Fix Currency Conversion
...
In our conversion to the new Infura API, somehow we were sending upper-cased conversions to their lower-case sensitive API.
Fixes the first part of #2240
2017-09-29 20:57:15 -07:00
kumavis
7bdf73b1dd
Merge pull request #2233 from MetaMask/remove-accountTracker-from-transactions
...
pending-tx - dont check the balance to rebrodcast
2017-09-29 17:36:49 -07:00
kumavis
1ad8a9a0ff
network - make network controller internal network switching explicit
2017-09-29 17:10:34 -07:00
kumavis
d6ea2fa425
network - convert localhost from custom rpc to network type
2017-09-29 16:35:58 -07:00
kumavis
b88d11f86e
network controller - small refactor
2017-09-29 16:09:38 -07:00
frankiebee
ac80eaca1f
pending-tx - dont check the balance to rebrodcast
2017-09-29 12:54:05 -07:00
kumavis
15b2823e54
Merge branch 'master' into new-currency-test
2017-09-27 16:04:51 -07:00
kumavis
ecf909e140
Merge pull request #2194 from MetaMask/network-controller-refactor
...
Network controller refactor
2017-09-27 15:56:23 -07:00
kumavis
06b5dd2096
network controller - move _setProvider to bottom
2017-09-27 14:44:54 -07:00
kumavis
f2d9b75e94
network controller - refactor to use _setProvider
2017-09-27 14:44:13 -07:00
Dan Finlay
96ebbde634
Fix Account Selection
...
Do not select accounts on restore, only on creation and deliberate selection.
Fixes #2164
2017-09-27 14:43:34 -07:00
kumavis
c781e11c7a
network - remove getter/setter
2017-09-27 14:10:58 -07:00
kumavis
5bbea78306
Merge pull request #2035 from MetaMask/transactionControllerRefractorPt3
...
Transaction controller refractor pt3
2017-09-27 13:57:04 -07:00
Dan Finlay
1983e161c6
Fix accountTracker store references
2017-09-27 12:29:09 -07:00
Dan Finlay
e72083f6e8
Merge branch 'master' into filter-fixes-moar
2017-09-27 10:57:02 -07:00
frankiebee
0a94ec41d3
pending-tx - move incrementing of the retryCount on the txMeta outside pending-tx-tracker
2017-09-26 22:42:59 -07:00
frankiebee
508696f71d
transactions: reveal #getFilteredTxList from txStateManage and fix accountTracker.store reference
2017-09-26 18:12:53 -07:00
frankiebee
80c98b1653
transactions: make evnt names pretty and eaiser to read
2017-09-26 16:55:11 -07:00
frankiebee
9fd5458112
transactions: lint fixes and reveal status-update event for balance controller
2017-09-26 16:54:04 -07:00
frankiebee
8ab23c713d
Merge branch 'master' into transactionControllerRefractorPt3
2017-09-26 16:24:43 -07:00
Dan Finlay
2eca5455c0
Move obs store into account-tracker instead of inheriting
2017-09-26 14:15:16 -07:00
frankiebee
9d1cb0f76d
network contoller - clean up unused code
2017-09-26 13:56:09 -07:00
frankiebee
2ed8d579da
listen for the blocke event on the block tracker instead of rawBlock on the provider
2017-09-26 13:38:27 -07:00
frankiebee
b654eb9b1f
wrap block tracker in events proxy
2017-09-26 13:38:27 -07:00
Dan Finlay
674aac83ce
Make blockTracker an independent param
2017-09-25 14:39:54 -07:00
Dan Finlay
8cd7329c91
Implemented feedback
2017-09-25 14:36:49 -07:00
Dan Finlay
40f1d08684
Made some requested changes
2017-09-25 11:42:08 -07:00
Dan Finlay
f01b0a818b
Fix account-tracker references
2017-09-22 14:13:56 -07:00
Dan Finlay
11c8c07bfc
Refactor eth-store into account-tracker
...
EthStore was only being used for tracking account balances and nonces now, so I removed its block-tracking duties, renamed it account-tracker, and removed it as a dependency from `KeyringController`, so that KRC can go live on without a hard dep on it.
2017-09-22 13:59:25 -07:00
Kevin Serrano
bd8428e9ed
Comply with current currency API and add additional styling.
2017-09-18 16:09:01 -07:00
Dan Finlay
a01921758b
Add computed balance to account detail view
2017-09-13 15:06:04 -07:00
Dan Finlay
86cd4e4fed
Got pending balance updating correctly
2017-09-13 14:28:51 -07:00
frankiebee
77a48fb0b1
ensure that values written to txParams are hex strings
2017-09-13 14:27:27 -07:00
Dan Finlay
e4d7fb2447
Add state-labeled events to allow subscribing to any transaction's state change
2017-09-13 11:39:39 -07:00
Dan Finlay
53a467cd1e
Some progress
2017-09-12 15:06:19 -07:00