Skip to content

Commit

Permalink
validate during estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless0x committed Jan 27, 2025
1 parent bad5946 commit b9766a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rpc/rpcHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,8 @@ export class RpcHandler implements IRpcEndpoint {
)
}

await this.validateEip7702Auth(userOperation)

return await this.estimateGas({
apiVersion,
userOperation,
Expand Down

0 comments on commit b9766a6

Please sign in to comment.