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
6 years ago
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
6 years ago
Paul Bouchon
0549782595
Update Balanc3 API ( #5744 )
...
* Update balanc3 API used in TokenRatesController
* Remove demo URL and use nativeCurrency when fetching token rates
6 years ago
Paul Bouchon
c317624854
EIP-1102: Update publicConfig store concurrently with approval
6 years ago
bitpshr
896ae0ab89
Fix lint errors
6 years ago
bitpshr
34d80f21e2
Clear cached approval after rejection
6 years ago
bitpshr
879997af51
Add experimental RPC method support
6 years ago
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
6 years ago
bitpshr
31cb111d2e
Do not modify isApproved when locked
6 years ago
bitpshr
9984f7edeb
Mark origins as unapproved if user explicitly locks MetaMask
6 years ago
Paul Bouchon
f557d33718
Enable caching
6 years ago
bitpshr
d4171ccea5
Disable approval caching
6 years ago
bitpshr
cc1bab6ebb
Differentiate locked and enabled
6 years ago
bitpshr
d7618bd5c6
Code bath
6 years ago
bitpshr
ba40fcbcb4
Handle logout gracefully
6 years ago
bitpshr
504f4a50f1
Fix lint issues
6 years ago
bitpshr
84874a639d
Add isUnlocked provider hook
6 years ago
bitpshr
226601a956
EIP-1102: add user privacy option
6 years ago
bitpshr
bfcb73ad53
EIP-1102: add isEnabled convenience method to provider
6 years ago
bitpshr
89b4aa5d62
EIP-1102: Add option to force-enable provider
6 years ago
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
6 years ago
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
6 years ago
Esteban Miño
4489a57f2f
Update watchAsset ERC20 validation ( #5653 )
...
* update ERC20 token valodation for watchAsset
* update ERC20 validation test descriptions
6 years ago
Thomas Huang
ed4f612bdc
Revert "support eth_chainId"
6 years ago
kumavis
2c1bca1ab0
token-rates - protect against bad token data
6 years ago
kumavis
986f8b4c21
preferences - fix typo
6 years ago
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
6 years ago
Thomas
1d65687ce4
Validate signTypedData in eth-json-rpc-middleware
6 years ago
kumavis
b62d07f3a5
Update network.js
6 years ago
kumavis
61c7bbb1c1
network - improve logging and type conversion
6 years ago
kumavis
31e5cad1e3
tx-gas-util - set error message when invalidating tx based on tx data but no contract code
6 years ago
Esteban Miño
7c4f98ffd6
specific add and remove methods for frequentRpcList ( #5554 )
6 years ago
Esteban MIno
75661673e5
add support for wallet_watchAsset
6 years ago
hackyminer
2f6530a494
support both eth_chainId and net_version
...
get the real chainId using eth_chainId and use net_version as a fallback
6 years ago
kumavis
31175dcb24
blacklist + currency - report error via log instead of throw
6 years ago
kumavis
a57d267dcb
lint fix
6 years ago
kumavis
2394881511
currency - throw errors on failure
6 years ago
kumavis
65aa0a1d14
blacklist - throw errors on request/parse failure
6 years ago
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
6 years ago
Alexander Tseung
c821a8354c
Add txReceipt data to transaction details ( #5513 )
6 years ago
Whymarrh Whitby
af43b7d6c9
Ensure that new transactions added are using the selected address
6 years ago
Whymarrh Whitby
428a7cacdf
Revert "transactions - add txReceipt to the txMeta body for confirmed txs ( #5375 )"
...
This reverts commit ff67293a8e
.
6 years ago
Frankie
ff67293a8e
transactions - add txReceipt to the txMeta body for confirmed txs ( #5375 )
6 years ago
kumavis
600f755dbf
tx-gas-utils - improve format + comments
6 years ago
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'
6 years ago
Howard Braham
222e62d7f1
Bug Fix : #1789 and #4525 eth.getCode() with no contract
6 years ago
kumavis
fe82c4a9fb
provider - network - restore block-ref-rewrite middleware references
6 years ago
kumavis
354f8c0d7d
provider - enable subscription support (newHeads, logs)
6 years ago
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
6 years ago
Whymarrh Whitby
4dd6c8168f
Add ability to whitelist a blacklisted domain at runtime
6 years ago