1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
David Walsh
3f9ec40107
Use gas estimate type constants () 2021-11-10 13:50:43 -06:00
David Walsh
17b64e94fc
Use gas recommendation constants throughout app () 2021-11-05 19:59:23 -05:00
David Walsh
b5e601bc87
Use TRANSACTION_ENVELOPE_TYPES for legacy transaction type testing () 2021-10-27 18:55:02 -05:00
ryanml
a4ddeed799
Adding estimate fields to updateTransaction, createCancelTransaction and createSpeedUpTransaction () 2021-10-22 13:42:20 -07:00
Jyoti Puri
fc41321470
Support for type 0 transaction ()
Support for type 0 transaction
2021-10-06 23:59:57 +05:30
Alex Donesky
2a9fbffb6c
Replace hardcoded sent ether label on confirm screen ()
* Replace hardcoded sent ether label on confirm screen

* replace transaction type SENT_ETHER with network agnostic SENDING_NATIVE_ASSET

* remove sentEther translation base

* make backwards compatible with lingering transaction of legacy sentEther type

* update localalization files

* fixup legacy sentEther transaction type

* changing new transaction type away from localization string

* revert migration tests

* update fixtures and test data

* update name of new transaction type

* add migration

* remove legacy SENT_ETHER from transaction types enum object
2021-09-15 16:54:51 -05:00
Brad Decker
e0953d9f68
Update send and confirm state management, and tx controller gas defaults, for EIP1559 ()
wip

Documentation improvements for send slice support of EIP1559

Remove console.log in send duck

Property lookup safety improvement in selectors/confirm-transaction

Add code accidentally removed in rebase

Update addTxGasDefaults and _getDefaultGasFees to work with new estimate types, and ensure we correctly handle gas price estimates when on EIP1559 networks ()

* Fix typo

Remove console.log in send duck

* Update addTxGasDefaults and _getDefaultGasFees to work correctly with all new gas fee estimate types

* Don't show gas timing support when not on eip1559 compatible network

* Hide gas timing component on transaction screen when on a non-1559 network

* Improve comments, tests and edge case handling

* Ensure eip1559 fees are applied and updated correctly when eip1559 estimate api fails

* Lint fix

Co-authored-by: Brad Decker <git@braddecker.dev>

Remove console.log

Handle possible gasEstimateType undefined

Remove unnecessary nonce field position change in confirm-page-container-content__details
2021-07-30 22:15:18 -02:30
Dan J Miller
7c86727c16
Make EIP1559 compatibility in tx controller also require account type support () 2021-07-27 20:43:48 -02:30
Brad Decker
2edd44e1c5
moving some properties to identifiable payload () 2021-07-12 15:30:35 -07:00
ryanml
07601f4a90
Setting tx param type before signing transactions ()
Fixes 
2021-07-12 13:26:53 -07:00
ryanml
e88c069398
Converting gas params for tx metrics to decimal GWEI () 2021-07-12 10:54:39 -07:00
ryanml
bf4cdb0b5c
Using current time in place of block timestamp for completion time metric () 2021-07-12 10:14:54 -07:00
Brad Decker
64adfe7b11
update speedup and cancel to make room for EIP-1559 ()
* prepare for EIP1559 gas fields in speedup/cancel

* Update ui/components/app/gas-customization/gas-modal-page-container/gas-modal-page-container.container.js
2021-07-08 13:48:23 -05:00
Brad Decker
27c140355e
Switch hardfork in getCommonConfiguration when EIP-1559 support is detected () 2021-06-30 09:39:00 -05:00
Brad Decker
8f371e4f87
add eip-1559 fields to event schema ()
* add eip-1559 fields to event schema

* add gas_limit to all
2021-06-29 14:54:42 -07:00
ryanml
d5ab1e1591
Adding metric events for Approved, Rejected, and Submitted to the TxController () 2021-06-24 12:00:54 -07:00
ryanml
303ba1eac8
Add 'Transaction Added' metric event to TransactionController () 2021-06-21 12:02:43 -07:00
Brad Decker
cf34e64f15
Support EIP-2718 transaction types, EIP-2930 and EIP-1559 support () 2021-06-16 15:40:17 -05:00
ryanml
2bfc3a093f
Using values from shared/constants/time to represent timing values () 2021-06-10 12:27:03 -07:00
Brad Decker
d1f8171877
upgrade ethereumjs util () 2021-04-16 10:05:13 -05:00
Brad Decker
4080ed63a4
Refactor Tx State Manager ()
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-03-30 09:54:05 -05:00
Brad Decker
5a233e4634
colocate tests in flat structure () 2021-03-16 16:00:08 -05:00