Skip to content

Commit

Permalink
chore: Fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wryonik committed Oct 16, 2024
1 parent c1e1eb4 commit eece14e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/pages/api/submitProofToContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ export default async function handler(
};
console.log("JWT proof:", jwtProof);

const gas = 1000000n;
const gas = 1000000;

const { request } = await publicClient.simulateContract({
account,
address: contractAddress,
abi: contractABI,
functionName: "verifyEmailProof",
args: [jwtProof],
gas,
gas: BigInt(gas),
});
console.log("Contract request:", request);
const hash = await walletClient.writeContract(request);
Expand Down

0 comments on commit eece14e

Please sign in to comment.