Skip to content

Commit

Permalink
rename env var
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless0x committed Jan 24, 2025
1 parent b087b8c commit 5160b47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cli/config/bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const bundlerArgsSchema = z.object({
})

export const executorArgsSchema = z.object({
"resubmit-timeout": z.number().int().min(0).default(15_000),
"resubmit-stuck-timeout": z.number().int().min(0).default(15_000),
"refilling-wallets": z.boolean().default(true),
"aa95-gas-multiplier": z.string().transform((val) => BigInt(val)),
"refill-helper-contract": addressSchema.optional(),
Expand Down
2 changes: 1 addition & 1 deletion src/cli/config/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export const gasEstimationOptions: CliCommandOptions<IGasEstimationArgsInput> =
}

export const executorOptions: CliCommandOptions<IExecutorArgsInput> = {
"resubmit-timeout": {
"resubmit-stuck-timeout": {
description:
"Amount of time before retrying a failed userOperation (in ms)",
type: "number",
Expand Down
2 changes: 1 addition & 1 deletion src/executor/executorManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ export class ExecutorManager {
transactionInfos2.map(async (txInfo) => {
if (
Date.now() - txInfo.lastReplaced <
this.config.resubmitTimeout
this.config.resubmitStuckTimeout
) {
return
}
Expand Down

0 comments on commit 5160b47

Please sign in to comment.