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. #5
@ -61,9 +61,8 @@ const BG_ZERO = BigNumber.from(numbers.ZERO)
|
|||||||
const FIELD_SIZE = BigNumber.from('21888242871839275222246405745257275088548364400416034343698204186575808495617')
|
const FIELD_SIZE = BigNumber.from('21888242871839275222246405745257275088548364400416034343698204186575808495617')
|
||||||
|
|
||||||
const operationGasLimits: { [key in string]: number } = {
|
const operationGasLimits: { [key in string]: number } = {
|
||||||
// 291019 - estimate gas
|
// aprox. 378212
|
||||||
// using estimate gas + 20k gas
|
FUND: 500000,
|
||||||
FUND: 310000,
|
|
||||||
TRANSFER: 2200000, // bump 10% 2000000
|
TRANSFER: 2200000, // bump 10% 2000000
|
||||||
WITHDRAW: 2200000,
|
WITHDRAW: 2200000,
|
||||||
} as const
|
} as const
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user