Commit Graph

37 Commits

Author SHA1 Message Date
Serg 57aa950a2f
Typing (#4)
* type definitions

* remove Object.assign(), use BigNumber

* path custom ethers provider to constructor. test

* providers test

* using gas-price-oracle v0.5.0

* manager params provider type

* provider type fix

* update deps

* maxPriorityFee param, tests fix

* fix: cancel/replace

* fix: gasParams check

* fix: handleRpcError with web3 provider

Co-authored-by: Danil Kovtonyuk <danx.kov@gmail.com>
2022-07-14 15:39:17 +10:00
Ayanami f43f8088e5 Fixed TypeError bug 2022-06-28 17:55:33 +10:00
Ayanami 32a712e1db Customizable ethers provider 2022-06-28 17:45:07 +10:00
Danil Kovtonyuk cdce2334e4
revert estimate priority fee 2022-05-25 16:07:43 +10:00
Danil Kovtonyuk c1c6079745 fix: use eth_maxPriorityFeePerGas 2022-05-23 20:28:36 +10:00
Danil Kovtonyuk eaaa54b7f9 fix: configure EIP-1559 feature 2022-05-23 20:28:36 +10:00
Danil Kovtonyuk 6adf89472e fix: estimate priority fee
- fix: predefined errors
2022-05-23 20:28:36 +10:00
poma c6652baa7c
inline _estimateFees() 2021-09-03 16:09:26 +03:00
Danil Kovtonyuk a8e504054e fix: review 2021-09-03 22:58:13 +10:00
Danil Kovtonyuk 23e2e01172 feat: add EIP-1559 support 2021-09-03 22:58:13 +10:00
Danil Kovtonyuk 72a665a19a add gasPriceOracleConfig 2021-06-03 16:16:31 +03:00
Roman Storm f6a4e93a23
fix mutex 2021-02-16 22:08:12 -08:00
Roman Storm af7c597af9
Merge branch 'master' of github.com:tornadocash/tx-manager 2021-02-16 21:48:51 -08:00
Roman Storm 221dce3d73
add MAX_GAS_PRICE 2021-02-16 21:48:44 -08:00
poma 8d4bab7fc2
handle bump gas price error 2021-02-17 08:40:14 +03:00
poma af65d78be9
fix await 2021-02-17 08:39:50 +03:00
Roman Storm bc0b369095
fix gas price bump 2021-02-16 20:01:30 -08:00
Alexey Pertsev e1620e15c1
Block gas limit (#1)
update gas-price-oracle dep, add BLOCK_GAS_LIMIT const
2020-12-24 08:39:07 +03:00
poma 414fb28a5e
more general fix for tx error 2020-11-26 10:34:40 +03:00
Alexey 780df01b43 _handleSendError fix 2020-11-25 22:36:51 +01:00
Alexey c5e4d76dc5 new 'nonce to low' error; remove console.log 2020-11-25 21:33:34 +01:00
Alexey 8cb2bb0fbe THROW_ON_REVERT feature 2020-11-19 20:33:58 +03:00
Alexey 6bb265d3b9 fix: throw error if transaction execution was failed 2020-11-19 14:37:18 +03:00
Alexey b940fad5e0 remove an anoying console.log 2020-10-30 11:56:24 +03:00
poma 62bcd2aa95
fix gas price 2020-10-20 09:28:59 +03:00
poma 1eec6aa329
simplify min and max 2020-10-17 14:37:22 +03:00
poma fcdaa2d52c
remove web3-utils 2020-10-17 05:22:55 +03:00
poma adf328f81c
switch from web3 to ethers 2020-10-16 21:44:09 +03:00
poma 49f48299f5
make estimateGas optional 2020-10-15 02:29:59 +03:00
poma cdc6429a27
prettier 2020-10-02 13:04:09 +03:00
poma b030ac0244
prettier 2020-10-02 13:02:39 +03:00
poma 22335a3043
prettier 2020-10-02 12:59:26 +03:00
poma 60d34f8817
prettier 2020-10-02 12:57:06 +03:00
poma 8ed25df485
prettier 2020-10-02 12:51:36 +03:00
Alexey df118be318 prettier 2020-10-02 12:14:40 +03:00
poma 0df2926992
gas 2020-10-02 12:10:21 +03:00
poma 37c56553d1
initial 2020-10-01 07:56:47 +03:00