1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/app/pages/send
Mark Stacey 165666b315
Remove unnecessary tx meta properties (#8489)
* Remove `estimatedGas` property from `txMeta`

The `estimatedGas` property was a cache of the gas value estimated for
a transaction when the default gas limit was set. This property wasn't
used anywhere. It may have been useful for debugging purposes, but the
same gas estimate is already stored on the `history` property so it
should be present in state logs regardless.

* Remove `gasLimitSpecified` txMeta property

The `gasLimitSpecified` property of `txMeta` wasn't used for anything.
It might have been useful for debugging purposes, but whether or not
the gas limit was specified can also be determined from looking at the
transaction history, so it's not a huge loss.

* Remove `gasPriceSpecified` txMeta property

The `gasPriceSpecified` property of `txMeta` wasn't used for anything.
It might have been useful for debugging purposes, but whether or not
the gas price was specified can also be determined from looking at the
transaction history, so it's not a huge loss.

* Remove `simpleSend` txMeta property

The `simpleSend` property of `txMeta` was used to ensure a buffer was
not added to the gas limit during gas estimation for simple send
transactions. It was made redundant by #8484, which accomplishes this
without the use of this property.
2020-05-01 08:44:05 -03:00
..
account-list-item Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
send-content Remove unused parameters (#8216) 2020-03-19 14:32:38 -03:00
send-footer Return Promise from addToAddressBook thunk (#8450) 2020-04-29 01:59:49 -03:00
send-header Update sinon and proxyquire (#8027) 2020-02-11 17:03:32 -03:30
tests Remove unnecessary tx meta properties (#8489) 2020-05-01 08:44:05 -03:00
index.js Add token selection to the send screen (#6445) 2019-04-17 16:45:13 -02:30
send.component.js Prevent accidental use of globals (#8340) 2020-04-15 14:23:27 -03:00
send.constants.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
send.container.js Fix selectors that use metamask.send.from state (#8182) 2020-03-11 15:40:35 -03:00
send.scss Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
send.selectors.js Fix selectors that use metamask.send.from state (#8182) 2020-03-11 15:40:35 -03:00
send.utils.js Promisify gas estimation (#8387) 2020-04-23 15:01:38 -03:00