Commit 4ba6275b authored by Jesse's avatar Jesse Committed by GitHub

fix: add celo gas override (#4147)

fix: add celo gas override to circumvent 'out of gas' error from multicall
parent 17c7a9ee
...@@ -14,6 +14,8 @@ import { useQuoter } from './useContract' ...@@ -14,6 +14,8 @@ import { useQuoter } from './useContract'
const QUOTE_GAS_OVERRIDES: { [chainId: number]: number } = { const QUOTE_GAS_OVERRIDES: { [chainId: number]: number } = {
[SupportedChainId.ARBITRUM_ONE]: 25_000_000, [SupportedChainId.ARBITRUM_ONE]: 25_000_000,
[SupportedChainId.ARBITRUM_RINKEBY]: 25_000_000, [SupportedChainId.ARBITRUM_RINKEBY]: 25_000_000,
[SupportedChainId.CELO]: 50_000_000,
[SupportedChainId.CELO_ALFAJORES]: 50_000_000,
[SupportedChainId.POLYGON]: 40_000_000, [SupportedChainId.POLYGON]: 40_000_000,
[SupportedChainId.POLYGON_MUMBAI]: 40_000_000, [SupportedChainId.POLYGON_MUMBAI]: 40_000_000,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment