Skip to content

Commit

Permalink
changing response message
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilkumar1612 committed Feb 4, 2025
1 parent 6f64b2a commit 977caa5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/executor/src/modules/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,8 @@ export class Eth {
);
}
await this.userOpValidationService.validateGasFee(userOp);
const validationResult = await this.userOpValidationService
.simulateValidation(userOp, entryPoint)
.catch(() => {
throw new RpcError(
"Internal error occurred while validating userOp",
RpcErrorCodes.INTERNAL_ERROR
);
});
const validationResult =
await this.userOpValidationService.simulateValidation(userOp, entryPoint);
// TODO: fetch aggregator
this.logger.debug(
"Opcode validation successful. Trying saving in mempool..."
Expand Down

0 comments on commit 977caa5

Please sign in to comment.