frankiebee
00fca4f1f2
remove unused variable
7 years ago
frankiebee
00bd5b143f
rename tx-utils.js -> tx-gas-utils.js
7 years ago
frankiebee
4c554f32ec
remove #buildEthTxFromParams
7 years ago
kumavis
b4052cd5e6
tx utils - detect estimateGas err and set simulationFailed
7 years ago
frankiebee
a13643bdb5
fix class names
7 years ago
frankiebee
caee2a9e35
move util functions to util.js
7 years ago
kumavis
da16f39626
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
7 years ago
frankiebee
340dbe75fc
use async with #publishTransaction
7 years ago
frankiebee
b80c7e417b
move newUnapprovedTransaction to transactions.js
7 years ago
frankiebee
25bc15ba17
lint fixes
7 years ago
frankiebee
3a4726018e
fix addTxDefaults
7 years ago
frankiebee
432f516ab0
make addUnapprovedTransaction async function and use promise based ethQuery
7 years ago
frankiebee
7eccf5905a
make publishTransaction and signTransaction async methods
7 years ago
frankiebee
231ad48564
Use txParams
7 years ago
Dan Finlay
c7b9e3fb18
Improve insufficient balance checking in retry loop
7 years ago
Kevin Serrano
2b7d842498
Update gasblocklimit params with every block.
8 years ago
Kevin Serrano
82cbfaa826
Convert gasLimit to not use muln in BN
8 years ago
Kevin Serrano
26fd016b63
Add new blockGasLimit property to txMeta object.
8 years ago
frankiebee
f87ea49b5a
Create a network controller to manage switcing networks an updating the provider
8 years ago
Thomas Huang
6bdb4c8728
Fix linting warnings
8 years ago
kumavis
ff49e5e5cf
tx-utils - gas buffer ceiling at 90% of block gas limit
8 years ago
kumavis
1495240969
tx manager - adjust new tx flow and txMeta decorations
8 years ago
Dan Finlay
2cab2f767c
Remove gas limit param
...
Fixes #1256 by removing redundant param.
8 years ago
kumavis
92b8443824
tx-utils - add encoding utils
8 years ago
kumavis
c063fab993
tx-utils - stricter naming type-based convention
8 years ago
kumavis
17b805c76e
tx-utils - clean and comment
8 years ago
Jared Pereira
4916331c53
change BN.mul to BN.muln
8 years ago
Jared Pereira
4256e631a6
remove constant buffer and add multiplier
8 years ago
Dan Finlay
da88481560
Remove gasMultiplier txMeta param
...
This was used by the custom gas slider on the `send` screen, and it was used to modify the gas value before sending it out, breaking our new custom gas field logic.
Removed it and the logic that referred to this now-outdated parameter.
8 years ago
Dan Finlay
2e16e1eb94
Fixed bug that made send screen sometimes transition to account detail
8 years ago
Dan Finlay
0584988688
Move sigUtil and keyrings to external modules
...
These external modules now have their own test coverage and build enforcement. This allowed me to somewhat more easily add good tests around our personalSign strategy (held now in [eth-sig-util](https://github.com/flyswatter/eth-sig-util ), and allow each of the keyrings to import that, etc.
8 years ago
Frankie
580d93188c
Satisfy review needs:
...
removed unnecessary this.query = opts.query from constructor
Created a tx error state for errors in approveTransaction
validateTxParams has been moved to tx-utils
removed "value" arg from _setTxStatus
8 years ago
kumavis
29e83d71a8
background - handle tx finalization in controllers instead of provider-engine
8 years ago
Dan Finlay
21e2e4efd8
Remove erroneous OOG estimation logic.
8 years ago
Frances Pangilinan
6e78494846
First pass at revision requests
8 years ago
Frances Pangilinan
090935f90a
Create a TxManager
8 years ago