Skip to content

Commit

Permalink
Merge pull request #605 from beethovenxfi/hf/fantom_rpc
Browse files Browse the repository at this point in the history
change fantom fantom_rpc
  • Loading branch information
franzns authored Dec 18, 2023
2 parents b177bb7 + f029c27 commit 4407fc5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/network/fantom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 4407fc5

Please sign in to comment.