Skip to content

Commit

Permalink
fix alfajores gas limit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofgazso committed Nov 18, 2023
1 parent c72223c commit 60489d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rpc/src/rpcHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export class RpcHandler implements IRpcEndpoint {
userOperation.verificationGasLimit = 10_000_000n
userOperation.callGasLimit = 10_000_000n

if (this.chainId === 84531 || this.chainId === 8453) {
if (this.chainId === 84531 || this.chainId === 8453 || this.chainId === chains.celoAlfajores.id) {
userOperation.verificationGasLimit = 1_000_000n
userOperation.callGasLimit = 1_000_000n
}
Expand Down

0 comments on commit 60489d2

Please sign in to comment.