diff --git a/modules/network/fantom.ts b/modules/network/fantom.ts index 0a0d6fef..9d800ae3 100644 --- a/modules/network/fantom.ts +++ b/modules/network/fantom.ts @@ -95,7 +95,7 @@ const fantomNetworkData: NetworkData = { maxHourlyPriceHistoryNumDays: 100, }, rpcUrl: - (env.DEPLOYMENT_ENV as DeploymentEnv) === 'main' ? `https://rpc.fantom.network` : `https://rpc.fantom.network`, + (env.DEPLOYMENT_ENV as DeploymentEnv) === 'main' ? `https://rpc.ankr.com/fantom` : `https://rpc.fantom.network`, rpcMaxBlockRange: 1000, sanity: { projectId: '1g2ag2hb', @@ -347,7 +347,10 @@ export const fantomNetworkConfig: NetworkConfig = { new UserSyncReliquaryFarmBalanceService(fantomNetworkData.reliquary!.address), ], services: { - balancerSubgraphService: new BalancerSubgraphService(fantomNetworkData.subgraphs.balancer, fantomNetworkData.chain.id), + balancerSubgraphService: new BalancerSubgraphService( + fantomNetworkData.subgraphs.balancer, + fantomNetworkData.chain.id, + ), }, /* For sub-minute jobs we set the alarmEvaluationPeriod and alarmDatapointsToAlarm to 1 instead of the default 3.