File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 6
6
import { ERC4337EthersSigner } from "@thirdweb-dev/wallets/dist/declarations/src/evm/connectors/smart-wallet/lib/erc4337-signer" ;
7
7
import { ethers } from "ethers" ;
8
8
import { BigNumber } from "ethers/lib/ethers" ;
9
+ import { formatUnits } from "ethers/lib/utils" ;
9
10
import { RpcResponse } from "viem/_types/utils/rpc" ;
10
11
import { prisma } from "../../db/client" ;
11
12
import { getConfiguration } from "../../db/configuration/getConfiguration" ;
@@ -188,6 +189,21 @@ export const processTx = async () => {
188
189
const nonce = startNonce . add ( sentTxCount ) ;
189
190
190
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
+
191
207
const txRequest = await signer . populateTransaction ( {
192
208
to : tx . toAddress ! ,
193
209
from : tx . fromAddress ! ,
You can’t perform that action at this time.
0 commit comments