From 0eaad87ccebcacb9dd9ffd4ed058c0bed93f376e Mon Sep 17 00:00:00 2001 From: Bruno C Date: Wed, 8 Mar 2023 19:20:06 -0500 Subject: [PATCH] Increased gas limit --- src/asset-swapper/constants.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/asset-swapper/constants.ts b/src/asset-swapper/constants.ts index ea69242e2..d6e19789e 100644 --- a/src/asset-swapper/constants.ts +++ b/src/asset-swapper/constants.ts @@ -45,7 +45,8 @@ const DEFAULT_SWAP_QUOTER_OPTS: SwapQuoterOpts = { chainId: ChainId.Mainnet, orderRefreshIntervalMs: 10000, // 10 seconds ...DEFAULT_ORDER_PRUNER_OPTS, - samplerGasLimit: 500e6, + // https://docs.alchemy.com/reference/gas-limits-for-eth_call-and-eth_estimategas + samplerGasLimit: 550e6, zeroExGasApiUrl: ZERO_EX_GAS_API_URL, rfqt: { integratorsWhitelist: [],