diff --git a/src/rpc/rpcHandler.ts b/src/rpc/rpcHandler.ts index 57f2f2bd..6d6aa04c 100644 --- a/src/rpc/rpcHandler.ts +++ b/src/rpc/rpcHandler.ts @@ -83,7 +83,7 @@ import { slice, toFunctionSelector } from "viem" -import { base, baseSepolia, hedera, optimism } from "viem/chains" +import { base, baseSepolia, optimism } from "viem/chains" import type { NonceQueuer } from "./nonceQueuer" export interface IRpcEndpoint { @@ -424,7 +424,7 @@ export class RpcHandler implements IRpcEndpoint { userOperation.verificationGasLimit = 5_000_000n } - if (this.chainId === hedera.id) { + if (this.chainType === "hedera") { // The eth_call gasLimit is set to 12_500_000 on Hedera. userOperation.verificationGasLimit = 5_000_000n userOperation.callGasLimit = 4_500_000n