File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -189,21 +189,6 @@ export const processTx = async () => {
189
189
const nonce = startNonce . add ( sentTxCount ) ;
190
190
191
191
try {
192
- logger . worker . info (
193
- `maxFeePerGas ${
194
- gasOverrides . maxFeePerGas !== undefined
195
- ? formatUnits ( gasOverrides . maxFeePerGas , "gwei" )
196
- : undefined
197
- } `,
198
- ) ;
199
- logger . worker . info (
200
- `maxPriorityFeePerGas ${
201
- gasOverrides . maxPriorityFeePerGas !== undefined
202
- ? formatUnits ( gasOverrides . maxPriorityFeePerGas , "gwei" )
203
- : undefined
204
- } `,
205
- ) ;
206
-
207
192
const txRequest = await signer . populateTransaction ( {
208
193
to : tx . toAddress ! ,
209
194
from : tx . fromAddress ! ,
@@ -212,6 +197,23 @@ export const processTx = async () => {
212
197
nonce,
213
198
...gasOverrides ,
214
199
} ) ;
200
+
201
+ logger . worker . info (
202
+ `[Transaction] [${ tx . queueId } ] Using maxFeePerGas ${
203
+ txRequest . maxFeePerGas !== undefined
204
+ ? formatUnits ( txRequest . maxFeePerGas , "gwei" )
205
+ : undefined
206
+ } , maxPriorityFeePerGas ${
207
+ txRequest . maxPriorityFeePerGas !== undefined
208
+ ? formatUnits ( txRequest . maxPriorityFeePerGas , "gwei" )
209
+ : undefined
210
+ } , gasPrice ${
211
+ txRequest . gasPrice !== undefined
212
+ ? formatUnits ( txRequest . gasPrice , "gwei" )
213
+ : undefined
214
+ } `,
215
+ ) ;
216
+
215
217
const signature = await signer . signTransaction ( txRequest ) ;
216
218
217
219
logger . worker . info (
You can’t perform that action at this time.
0 commit comments