Commit Graph

55 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
Danil Kovtonyuk
98c41bfdc8
fix: lint 2022-06-28 17:55:59 +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
142ce883b4
bump version 2022-05-25 16:09:25 +10:00
Danil Kovtonyuk
cdce2334e4
revert estimate priority fee 2022-05-25 16:07:43 +10:00
Danil Kovtonyuk
09c24e12c9 bump gas price oracle 2022-05-23 20:28:36 +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
Danil Kovtonyuk
b6ed5d2bc0
bump gas price oracle 2022-04-13 23:09:49 +10:00
Danil Kovtonyuk
b4ee1e5117
bump gas price oracle 2021-11-16 03:50:18 +10:00
Danil Kovtonyuk
56aa312829
bump gas price oracle 2021-11-16 01:56:29 +10:00
Danil Kovtonyuk
07dcb5d258
bump gas price oracle 2021-11-15 16:43:36 +10:00
Danil Kovtonyuk
4a17833462
bump gas price oracle 2021-10-19 00:39:35 +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
07752e0714
update gas price oracle 2021-08-25 22:35:05 +10:00
Danil Kovtonyuk
37f6faa42d
bump gas price oracle 2021-08-17 17:23:54 +10:00
Danil Kovtonyuk
9599788224 bump gas price oracle 2021-06-15 13:31:41 +03: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
1634e5fb16
update gas price oracle 2020-10-20 09:39:28 +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
715ad59273
fix repository 2020-10-17 05:29:46 +03:00
poma
c6344b40d5
add repository 2020-10-17 05:26:45 +03:00
poma
3b7d5ebd24
update version 2020-10-17 05:25:52 +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
b0e25e800f
fix package.json scripts 2020-10-15 02:30:51 +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
85e546beaa
prettier 2020-10-02 13:00:45 +03:00
poma
22335a3043
prettier 2020-10-02 12:59:26 +03:00
poma
60d34f8817
prettier 2020-10-02 12:57:06 +03:00