From 0c0e99d93386540a951c8621fcbbd88433e171af Mon Sep 17 00:00:00 2001 From: mUniKeS Date: Mon, 28 Jul 2025 17:33:29 +0200 Subject: [PATCH] change FUND: 310000 to FUND: 500000, because when interact with the contract Tornado.Cash: L1 Helper (0xCa0840578f57fE71599D29375e16783424023357) the function wrapAndRelayTokens() require 500.000 gas limit aprox., more than 310,000. --- constants/variables.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/constants/variables.ts b/constants/variables.ts index dd33fa2..114fd2d 100644 --- a/constants/variables.ts +++ b/constants/variables.ts @@ -61,9 +61,8 @@ const BG_ZERO = BigNumber.from(numbers.ZERO) const FIELD_SIZE = BigNumber.from('21888242871839275222246405745257275088548364400416034343698204186575808495617') const operationGasLimits: { [key in string]: number } = { - // 291019 - estimate gas - // using estimate gas + 20k gas - FUND: 310000, + // aprox. 378212 + FUND: 500000, TRANSFER: 2200000, // bump 10% 2000000 WITHDRAW: 2200000, } as const -- 2.45.2