Brad Decker
bc4a9b16d0
add account eip1559 detection support ( #11380 )
...
* add account eip1559 detection support
* add constants for keyring types
2021-06-28 12:29:08 -05:00
Brad Decker
b6f514e293
remove EIP-1559 fields from txParams before calling estimateGas ( #11368 )
2021-06-28 10:33:19 -05:00
Brad Decker
80e755afcb
Add methods to easily detect transaction type based on gas fields ( #11382 )
2021-06-28 10:23:17 -05:00
Brad Decker
dd1330c707
Remove gasPrice defaults for eip-1559 txs ( #11391 )
2021-06-28 10:22:59 -05:00
David Walsh
d68f8f27c6
Implements the new EIP1559 UI components ( #11384 )
2021-06-28 09:45:08 -05:00
Brad Decker
e488f61a21
fix jest tests to run ui tests ( #11390 )
2021-06-25 16:31:01 -05:00
ryanml
015e4a36ad
Merge pull request #11388 from MetaMask/master-sync
...
Sync `master` with `develop`
2021-06-25 10:21:48 -07:00
ryanml
70dc762c84
cleanup conflicts
2021-06-25 10:01:40 -07:00
ryanml
b4f27d8916
Merge remote-tracking branch 'origin/develop' into master-sync
2021-06-25 09:57:28 -07:00
ryanml
cbb0e4d45c
Merge pull request #11274 from MetaMask/Version-v9.7.0
...
Version v9.7.0 RC
2021-06-25 09:52:00 -07:00
Brad Decker
23a859826f
add method to detect EIP 1559 support ( #11369 )
2021-06-25 11:24:00 -05:00
Daniel
a1d7271ed7
Call Wyre’s API via our backend to generate Wyre’s Checkout URL ( #11387 )
...
* Call Wyre’s API via our backend to generate Wyre’s Checkout URL
* Add back paymentMethod=debit-card, use a fallback URL if no url is returned from BE
* Fix a lint issue
* Refactor how to return Wyre’s Checkout URL
* Add 2 constants into a test file, refactoring
2021-06-25 09:52:29 -05:00
Brad Decker
cb652c0fae
remove unused sufficient balance method ( #11381 )
...
this method relied on gasPrice being present and is safe to remove
2021-06-25 09:52:18 -05:00
Daniel
ba3f51d6ed
Add support for fiat on-ramp via Transak ( #11376 )
2021-06-25 08:10:24 -05:00
ryanml
a69ed05141
Removing obsolete client-side transaction metrics events ( #11329 )
...
* Removing metametrics send count tracking
* Removing client side Transaction Completed and Canceled events
2021-06-24 15:37:44 -07:00
Brad Decker
a396f55953
use jest for testing shared ( #11334 )
2021-06-24 14:52:29 -05:00
Brad Decker
393e79ce3e
add maxPriorityFeePerGas and maxFeePerGas to incoming controller ( #11367 )
2021-06-24 14:52:14 -05:00
ryanml
d5ab1e1591
Adding metric events for Approved, Rejected, and Submitted to the TxController ( #11358 )
2021-06-24 12:00:54 -07:00
Dan J Miller
b7b30d0796
Use eth_gasPrice result for setting too low warning on custom networks ( #11370 )
...
* Use eth_gasPrice result for setting too low warning on custom networks
* Assume CustomPriceSafeForCustomNetwork when there is no custom price set (it will default to recommended)
2021-06-24 11:17:21 -07:00
Dan J Miller
87166afb6b
Use eth_gasPrice result for setting too low warning on custom networks ( #11370 )
...
* Use eth_gasPrice result for setting too low warning on custom networks
* Assume CustomPriceSafeForCustomNetwork when there is no custom price set (it will default to recommended)
2021-06-24 14:29:47 -02:30
PeterYinusa
171320eaa9
account tests using fixtures ( #11374 )
2021-06-24 15:19:31 +01:00
Alex Donesky
a6e16f458e
Adding edit navigation button flow back to send token flow ( #11335 )
2021-06-23 18:50:24 -05:00
David Walsh
6fa36cdf51
Provide New UI Components for EIP-1559 Designs ( #11357 )
2021-06-23 18:39:44 -05:00
David Walsh
85de65f470
Prevent propType errors in for TransactionIcon statuses ( #11316 )
2021-06-23 18:39:06 -05:00
Alex Donesky
a4a5580785
Update controllers with conversionRate change with minimal required changes in extension ( #11361 )
...
* updating controllers with conversionRate change with minimal required changes in extension
* swapping showFiat selector in places where possible
* adding invalid conversion protection
* lint fixes
* adjusting list-item styling logic
2021-06-23 18:28:49 -05:00
Brad Decker
c30cb7d33a
Refactor send page state management ( #10965 )
2021-06-23 16:35:25 -05:00
Alex Donesky
23f0270af2
add back strict equality checks in typed-message-manager, ensure that chainId comparison bases are both ints ( #11340 )
2021-06-23 16:32:23 -05:00
Mark Stacey
6416a1ef98
Add logs for Google Chrome binary checksum verification ( #11366 )
...
The Chrome installation script now has logs explaining whether the
checksum verification succeeded or failed.
2021-06-23 17:17:16 -02:30
ryanml
73200a7876
Allowing custom rpc form submission when chainId is a duplicate ( #11363 )
2021-06-23 09:15:25 -07:00
ryanml
a171ac7b34
Allowing custom rpc form submission when chainId is a duplicate ( #11363 )
2021-06-23 09:14:38 -07:00
ryanml
4818ddad25
Fixing changelog
2021-06-22 18:08:00 -07:00
Alex Donesky
e10ddbe3a3
add erc-721 token detection and flag to disable sending ( #11210 )
...
* add erc-721 token detection and flag to disable sending
* addressing feedback
* remove redundant provider instantiation
* fix issue caused by unprotected destructuring
* add tests and documentation
* move add isERC721 flag to useTokenTracker hook
* Update and unit tests
* use memoizedTokens in useTokenTracker
Co-authored-by: Dan Miller <danjm.com@gmail.com>
2021-06-22 12:39:44 -05:00
Dan J Miller
be244f4908
Fix chromereload while on development ( #11359 )
2021-06-22 15:02:54 -02:30
Mark Stacey
23c53ae6b4
Update LavaMoat policy using lavamoat:auto
2021-06-21 22:30:48 -07:00
ryanml
f1f2a01c76
Using fixed positioning for home notifications ( #11356 )
2021-06-21 15:51:09 -07:00
ryanml
fd45853a17
[skip e2e] Update changelog for v9.7.0 ( #11275 )
2021-06-21 13:00:43 -07:00
Brad Decker
47464b7fcd
change download location of chrome file ( #11346 )
...
* change download location of chrome file
* Update .circleci/scripts/chrome-install.sh
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-06-21 12:16:43 -07:00
ryanml
40c8a1a984
Merge branch 'master' into Version-v9.7.0
2021-06-21 12:15:52 -07:00
ryanml
e144bbd356
Adding gasEstimateType to 'Changed Gas Button' metrics event ( #11352 )
...
Adding 'Changed Gas Button' metrics event
2021-06-21 12:02:51 -07:00
ryanml
303ba1eac8
Add 'Transaction Added' metric event to TransactionController ( #11341 )
2021-06-21 12:02:43 -07:00
Mark Stacey
cc90fca2f6
Add retries to the benchmark script ( #11319 )
...
The benchmark script can now be set to retry upon failure, like the E2E
tests do. The default is zero, just as with the E2E tests. A retry of 2
has been set in CI to match the E2E tests as well.
The `retry` module had to be adjusted to throw an error in the case of
failure. Previously it just set the exit code, but that only worked
because it was the last thing called before the process ended. That is
no longer the case.
2021-06-21 12:46:18 -02:30
Alex Donesky
27389fc71e
fix unsafe destructuring instance ( #11351 )
2021-06-21 09:28:35 -05:00
Brad Decker
7cc747c792
change download location of chrome file ( #11346 )
...
* change download location of chrome file
* Update .circleci/scripts/chrome-install.sh
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-06-18 11:45:58 -05:00
Mark Stacey
52de2cda49
Update benchmark.js
script to use yargs
( #11318 )
...
Our benchmark script now uses `yargs`. Functionally it should be nearly
the same as before, except that now it has more documentation and
validation. The one functional difference aside from that is that the
`--pages` flag now takes space-separated arguments rather than comma-
separated.
2021-06-17 18:36:53 -02:30
ryanml
76f25eef81
Updating Secret Recovery code -> Secret Recovery Phrase (Backup notice) ( #11338 )
...
* Updating Secret Recovery code -> Secret Recovery Phrase (Backup notice)
* Updating expected text for e2e test
2021-06-17 11:43:25 -07:00
ryanml
64835b1457
Fixing untranslated text in ConfirmApproveContent ( #11339 )
2021-06-17 11:40:36 -07:00
sooyoung
3c2e83dff3
fix 'confirm popup' ui ( #11331 )
2021-06-17 09:26:58 -05:00
PeterYinusa
910a3ab81a
refactor send eth tests to use fixture ( #11189 )
2021-06-16 21:59:10 +01:00
Brad Decker
cf34e64f15
Support EIP-2718 transaction types, EIP-2930 and EIP-1559 support ( #11288 )
2021-06-16 15:40:17 -05:00
ryanml
e8f21b1ac6
Lionbridge translation updates ( #11292 )
2021-06-16 09:34:29 -07:00