From 60489d29445d83c626a2604c13ba1ac621717af7 Mon Sep 17 00:00:00 2001 From: Kristof Gazso Date: Sat, 18 Nov 2023 17:31:14 +0300 Subject: [PATCH] fix alfajores gas limit issues --- packages/rpc/src/rpcHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rpc/src/rpcHandler.ts b/packages/rpc/src/rpcHandler.ts index fb0a916b..c734ad2a 100644 --- a/packages/rpc/src/rpcHandler.ts +++ b/packages/rpc/src/rpcHandler.ts @@ -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 }