Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Feb 5, 2025
1 parent 4ed0ca0 commit 51b8e19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bundler/src/runBundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export async function runBundler (argv: string[], overrideExit = true): Promise<
entryPoint
} = await connectContracts(wallet, !config.rip7560)

if (entryPoint != null && entryPoint.address != null && entryPoint.address !== config.entryPoint && [1337, 31337].includes(chainId)) {
if (entryPoint != null && entryPoint?.address !== config.entryPoint && [1337, 31337].includes(chainId)) {
console.log('NOTICE: overriding config entrypoint: ', { entryPoint: entryPoint.address })
config.entryPoint = entryPoint.address
config.senderCreator = await entryPoint.senderCreator()
Expand Down
2 changes: 1 addition & 1 deletion packages/bundler/test/BundlerServer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('BundleServer', function () {
try {
entryPoint = await deployEntryPoint(provider)
} catch (e) {
throw new Error('Failed to deploy entry point - no RPC node?\n' + e)
throw new Error(`Failed to deploy entry point - no RPC node?\n ${e as string}`)
}

const config: BundlerConfig = {
Expand Down

0 comments on commit 51b8e19

Please sign in to comment.