Skip to content

Commit

Permalink
retrofit new features
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSulpiride committed Sep 14, 2023
1 parent 17744b3 commit 83bf607
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 683 deletions.
1 change: 1 addition & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"api": "^0.0.44",
"db": "^0.0.44",
"executor": "^0.0.44",
"node": "*",
"find-up": "5.0.0",
"got": "12.5.3",
"js-yaml": "4.1.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/src/cmds/node/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@ export async function nodeHandler(args: IGlobalArgs): Promise<void> {
networks: configOptions.networks,
testingMode: params.testingMode,
unsafeMode: params.unsafeMode,
redirectRpc: params.redirectRpc,
});
} catch (err) {
logger.info("Config file not found. Proceeding with env vars...");
config = new Config({
networks: {},
testingMode: false,
unsafeMode: false,
redirectRpc: params.redirectRpc,
});
}

Expand Down
2 changes: 2 additions & 0 deletions packages/cli/src/cmds/standalone/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@ export async function bundlerHandler(
networks: configOptions.networks,
testingMode,
unsafeMode,
redirectRpc,
});
} catch (err) {
logger.debug("Config file not found. Proceeding with env vars...");
config = new Config({
networks: {},
testingMode,
unsafeMode,
redirectRpc,
});
}

Expand Down
86 changes: 0 additions & 86 deletions packages/cli/src/cmds/start/handler.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/executor/src/services/BundlingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ export class BundlingService {
await this.userOpValidationService.simulateValidation(
entry.userOp,
entry.entryPoint,
false /* not estimating gas */,
entry.hash
);
} catch (e: any) {
Expand Down
Loading

0 comments on commit 83bf607

Please sign in to comment.