Skip to content

Commit d9a9326

Browse files
committed
feat: improve debug logging in attemptBundle method to enhance visibility of mempool count and max size during execution
1 parent ec98f76 commit d9a9326

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/bundler/src/modules/ExecutionManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ export class ExecutionManager {
8383
* @param force
8484
*/
8585
async attemptBundle (force = true): Promise<SendBundleReturn | undefined> {
86-
debug('attemptBundle force=', force, 'count=', this.mempoolManager.count(), 'max=', this.maxMempoolSize)
8786
if (force || this.mempoolManager.count() >= this.maxMempoolSize) {
87+
debug('attemptBundle force=', force, 'count=', this.mempoolManager.count(), 'max=', this.maxMempoolSize)
8888
const ret = await this.bundleManager.sendNextBundle()
8989
if (this.maxMempoolSize === 0) {
9090
// in "auto-bundling" mode (which implies auto-mining) also flush mempool from included UserOps

0 commit comments

Comments
 (0)