Commit c859d03
authored
Add TransactionManager to handle stalled tx (#767)
* Replace stuck pending transactions instead of queuing new nonce
* Integrate transaction_gas_wrapper into TransactionManager
* Review fix
* Handle pending tx timeout and centralize estimate_gas
* Add test for pending tx receipt timeout
* Skip replacement when pending tx is at fee ceiling
* Skip replacement when fee bump cannot clear node threshold
* Add Fees unit tests and rename to_tx_params
* Detect fee-too-low rejections via Web3RPCError message
* Match Erigon replacement rejection message
* Decrease EXECUTION_TRANSACTION_TIMEOUT default to 60 sec
* Simplify default-gas escalation branch1 parent 9c163d6 commit c859d03
14 files changed
Lines changed: 754 additions & 167 deletions
File tree
- src
- common
- tests
- config
- exits
- harvest
- meta_vault
- tests
- reward_splitter
- tests
- validators
- withdrawals
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | | - | |
417 | | - | |
| 416 | + | |
418 | 417 | | |
419 | 418 | | |
420 | 419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | | - | |
9 | | - | |
| 6 | + | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
16 | | - | |
| 13 | + | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
| |||
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 49 | | |
83 | 50 | | |
84 | 51 | | |
85 | | - | |
| 52 | + | |
86 | 53 | | |
87 | 54 | | |
88 | 55 | | |
| |||
99 | 66 | | |
100 | 67 | | |
101 | 68 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 69 | + | |
110 | 70 | | |
111 | 71 | | |
112 | 72 | | |
| |||
0 commit comments