1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/unit/app
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
..
controllers Remove unnecessary tx meta properties (#8489) 2020-05-01 08:44:05 -03:00
account-import-strategies.spec.js Update ESLint rules for test suite (#8023) 2020-02-11 13:21:13 -03:30
buy-eth-url.spec.js Update Wyre ETH purchase url (#8051) 2020-02-14 14:07:24 -08:00
cleanErrorStack.spec.js Update ESLint rules for test suite (#8023) 2020-02-11 13:21:13 -03:30
ComposableObservableStore.js Update ESLint rules for test suite (#8023) 2020-02-11 13:21:13 -03:30
fetch-with-timeout.test.js Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
message-manager-test.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
nodeify-test.js Update mocha version (#8028) 2020-02-12 14:47:36 -03:30
pending-balance-test.js Update ESLint rules for test suite (#8023) 2020-02-11 13:21:13 -03:30
personal-message-manager-test.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
seed-phrase-verifier-test.js Replace clone dependency with cloneDeep from lodash (#7926) 2020-01-29 13:14:33 -04:00
typed-message-manager.spec.js Update ESLint rules for test suite (#8023) 2020-02-11 13:21:13 -03:30
util-test.js Update ESLint rules for test suite (#8023) 2020-02-11 13:21:13 -03:30