David Walsh
c8b3dfe4e9
EIP-1559 - Fall back to gasLimit and gasPrice for hardware wallets ( #11716 )
3 years ago
ryanml
1360b2bf6b
Rejecting EIP-1559 transactions on unsupported networks ( #11722 )
3 years ago
Alex Donesky
8a42258e10
Remove the SHOW_EIP_1559_UI environment variable, replace with network detection where appropriate ( #11694 )
...
Fixing up tests and add back old custom gas modal for non-eip1559 compliant networks
Remove unnecessary props from send-gas-row.component
fix breaking test
Fix primary and secondary title overrides
fix rebase issue
Fix rebase conflict
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
Brad Decker
e0953d9f68
Update send and confirm state management, and tx controller gas defaults, for EIP1559 ( #11549 )
...
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 (#11615 )
* 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
3 years ago
Dan J Miller
b2cb38ab2d
Ensure createPendingTxMiddleware returns gasPrice for EIP-1559 transactions ( #11685 )
3 years ago
kumavis
66eb4fb5a0
Update background.js ( #11663 )
3 years ago
David Walsh
e283c03c4e
EIP-1559 - Improve gas timing logic to show more accurate verbiage ( #11668 )
3 years ago
Daniel
714170c7b8
EIP-1559 and Rinkeby Testnet support in Swaps ( #11635 )
3 years ago
Dan J Miller
aaa15cbe03
Add support for EIP1559 transactions to transaction breakdown ( #11622 )
...
* Add support for EIP1559 transactions to transaction breakdown
* Use userPreferencedCurrencyDisplay for effective gas price in transaction breakdown
* Hide eip1559 gas properties in transaction breakdown on non-1559 networks
* Add comment explaining gasPrice and effectiveGasPrice usage in transaction breakdown container.
3 years ago
Dan J Miller
7c86727c16
Make EIP1559 compatibility in tx controller also require account type support ( #11616 )
3 years ago
Daniel
594025a198
Add support for Polygon ( #11545 )
...
* Fix a check for EIP presense
* Add support for Polygon
* Update default Polygon URL
* Trigger Build
* Use a more user-friendly error message for disabled Swaps API calls
3 years ago
ryanml
ceaf16417d
Updating formatTxMetaForRpcResult to match latest spec ( #11536 )
3 years ago
Brad Decker
dc25a24de3
rely upon gas fee controller for gas price estimates ( #11511 )
3 years ago
Peter-Jan Brone
3fada25dfc
Add Skylink support to ENS resolver ( #11401 )
...
* Add Skynet support to ENS to IPFS resolver
* Remove newline
* Fix lint
* Fix lint
* Remove mistakenly committed zip file
* Update
3 years ago
Niranjana Binoy
d33b841fb8
Adding TokenListController to Metamask-Controller ( #11515 )
3 years ago
Dan J Miller
62729c94a1
Retrieve state after async action before updating state in _setSwapsQuoteRefreshTime ( #11538 )
3 years ago
Dan J Miller
ee925d0186
Retrieve state after async action before updating state in _setSwapsQuoteRefreshTime ( #11538 )
3 years ago
kumavis
9f4820ee98
Build - refactor for bundle factoring and swappable runtime ( #11080 )
...
* wip
* build - breakout sentry-install bundle
* deps - move new build sys deps to published versions
* chore: lint fix
* clean - remove unused file
* clean - remove unsused package script
* lavamoat - update build system policy
* build - render html to all platforms
* development - improve sourcemap debugger output
* deps - update lavapack
* lint - fix
* deps - update lavapack for bugfix
* deps - update lavapack for bugfix
* deps - bump lavapack for line ending normalization
* sourcemap explorer - disable boundary validation
* ci - reset normal ci flow
* build - re-enable minification on prod
* build - remove noisy log about html dest
* build - update terser and remove gulp wrapper for sourcemap fix
* Revert "sourcemap explorer - disable boundary validation"
This reverts commit 94112209ed880a6ebf4ee2ded411e59db6908162.
* build - reenable react-devtools in dev mode
* wip
* build - breakout sentry-install bundle
* deps - move new build sys deps to published versions
* chore: lint fix
* clean - remove unused file
* clean - remove unsused package script
* lavamoat - update build system policy
* build - render html to all platforms
* development - improve sourcemap debugger output
* deps - update lavapack
* lint - fix
* deps - update lavapack for bugfix
* deps - update lavapack for bugfix
* deps - bump lavapack for line ending normalization
* sourcemap explorer - disable boundary validation
* ci - reset normal ci flow
* build - re-enable minification on prod
* build - remove noisy log about html dest
* build - update terser and remove gulp wrapper for sourcemap fix
* Revert "sourcemap explorer - disable boundary validation"
This reverts commit 94112209ed880a6ebf4ee2ded411e59db6908162.
* build - reenable react-devtools in dev mode
* Updating lockfile
* lint fix
* build/dev - patch watchifys incompatible binary stats output
* ui - add comment about conditional import
* build - improve comment
* Update development/stream-flat-map.js
Co-authored-by: Brad Decker <git@braddecker.dev>
* Outputting all bundle file links (metamaskbot)
Co-authored-by: ryanml <ryanlanese@gmail.com>
Co-authored-by: Brad Decker <git@braddecker.dev>
3 years ago
muji
aef1cd2450
Use ESM imports in migrations index. ( #11443 )
...
So that spack does not complain about mixing CommonJs and ESM.
3 years ago
Brad Decker
12e7089363
moving some properties to identifiable payload ( #11506 )
3 years ago
ryanml
609ef9a09c
Converting gas params for tx metrics to decimal GWEI ( #11482 )
3 years ago
ryanml
0df928efa9
Using current time in place of block timestamp for completion time metric ( #11483 )
3 years ago
Brad Decker
2edd44e1c5
moving some properties to identifiable payload ( #11506 )
3 years ago
ryanml
07601f4a90
Setting tx param type before signing transactions ( #11497 )
...
Fixes MetaMask/metamask-extension#11491
3 years ago
ryanml
e88c069398
Converting gas params for tx metrics to decimal GWEI ( #11482 )
3 years ago
ryanml
bf4cdb0b5c
Using current time in place of block timestamp for completion time metric ( #11483 )
3 years ago
Alex Donesky
1117e7b1fe
use ERC721 interface id instead of ERC721 metadata interface ID for identifying ERC721 tokens ( #11495 )
3 years ago
Daniel
54a6588628
Swaps: Add conditional routing to new APIs based on a feature flag ( #11470 )
3 years ago
Daniel
d438439661
Swaps: Add conditional routing to new APIs based on a feature flag ( #11470 )
3 years ago
Brad Decker
68dfc98f40
wire up gasFeeController ( #11421 )
3 years ago
Brad Decker
64adfe7b11
update speedup and cancel to make room for EIP-1559 ( #11407 )
...
* prepare for EIP1559 gas fields in speedup/cancel
* Update ui/components/app/gas-customization/gas-modal-page-container/gas-modal-page-container.container.js
3 years ago
周宇盛 Yusheng Zhou
cbe1d09396
✏️ fix typo of middleware imported from eth-json-rpc-middleware ( #11455 )
3 years ago
Brad Decker
da9fb4636b
move conversion utils to shared folder ( #11451 )
3 years ago
Dan J Miller
2da9acd325
Add some metrics events to the 3box controller ( #11447 )
3 years ago
Dan J Miller
e5d54afe80
Ensure transaction controller correctly estimates gas for special custom networks ( #11441 )
3 years ago
Alex Donesky
85f17831a2
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>
3 years ago
Dan J Miller
7163c56f3e
Add some metrics events to the 3box controller ( #11447 )
3 years ago
Dan J Miller
932444c355
Ensure transaction controller correctly estimates gas for special custom networks ( #11441 )
3 years ago
Brad Decker
27c140355e
Switch hardfork in getCommonConfiguration when EIP-1559 support is detected ( #11385 )
3 years ago
Brad Decker
4e0bfbc463
add eip-1559 fields to event schema ( #11408 )
...
* add eip-1559 fields to event schema
* add gas_limit to all
3 years ago
Brad Decker
8f371e4f87
add eip-1559 fields to event schema ( #11408 )
...
* add eip-1559 fields to event schema
* add gas_limit to all
3 years ago
ryanml
a1e141fbe1
Updating address error ( #11389 )
3 years ago
ryanml
b1f469d1e2
Removing obsolete client-side transaction metrics events ( #11329 )
...
* Removing metametrics send count tracking
* Removing client side Transaction Completed and Canceled events
3 years ago
ryanml
9a6b619740
Adding metric events for Approved, Rejected, and Submitted to the TxController ( #11358 )
3 years ago
ryanml
077ee16ec2
Add 'Transaction Added' metric event to TransactionController ( #11341 )
3 years ago
Brad Decker
4ba565e719
track dapp suggested gas fees ( #11410 )
3 years ago
Brad Decker
55502f212d
update txParams normalization and validation. ( #11406 )
3 years ago
ryanml
3aae36754f
Updating address error ( #11389 )
3 years ago
Brad Decker
bc4a9b16d0
add account eip1559 detection support ( #11380 )
...
* add account eip1559 detection support
* add constants for keyring types
3 years ago
Brad Decker
b6f514e293
remove EIP-1559 fields from txParams before calling estimateGas ( #11368 )
3 years ago