Skip to content

Commit

Permalink
fix: use ankr for mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed Dec 23, 2024
1 parent 49df4b8 commit fa68cb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/network/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ const network = getSubsquidNetwork();
export const rainbowConfig = getDefaultConfig({
appName: `Subsquid Network ${upperFirst(network)}`,
projectId: process.env.WALLET_CONNECT_PROJECT_ID || '',
chains: network === NetworkName.Mainnet ? [arbitrum, mainnet] : [arbitrumSepolia, sepolia],
chains:
network === NetworkName.Mainnet
? [arbitrum, { ...mainnet, rpcUrls: { default: { http: ['https://rpc.ankr.com/eth'] } } }]
: [arbitrumSepolia, sepolia],
syncConnectedChain: true,
});

0 comments on commit fa68cb4

Please sign in to comment.