diff --git a/src/cli/config/options.ts b/src/cli/config/options.ts index e7685b1b..3cff51fc 100644 --- a/src/cli/config/options.ts +++ b/src/cli/config/options.ts @@ -101,8 +101,11 @@ export const bundlerOptions: CliCommandOptions = { default: "20000000" }, "max-bundle-count": { + // Cap is enforced in src/mempool/mempool.ts:725-773 (getBundles loop): + // it limits how many bundles `getBundles()` returns per iteration, + // not how many UserOperations end up inside a single bundle. description: - "Maximum number of UserOperations to include in a bundle. If not set, no limit is applied.", + "Maximum number of bundles produced per getBundles iteration (caps loop output, not per-bundle UserOp count)", type: "number", require: false }, diff --git a/src/rpc/methods/eth_sendUserOperation.ts b/src/rpc/methods/eth_sendUserOperation.ts index 9d8bea63..920e5eb8 100644 --- a/src/rpc/methods/eth_sendUserOperation.ts +++ b/src/rpc/methods/eth_sendUserOperation.ts @@ -222,7 +222,6 @@ export const ethSendUserOperationHandler = createMethodHandler({ method: "eth_sendUserOperation", schema: sendUserOperationSchema, handler: async ({ rpcHandler, params, apiVersion }) => { - console.log("=== eth_sendUserOperation called ===") const [userOp, entryPoint] = params let status: "added" | "queued" | "rejected" = "rejected"