From d558dd6f4a43851728529c4d9305de5be5a5e142 Mon Sep 17 00:00:00 2001 From: jh <0xroll.onchain@gmail.com> Date: Sat, 2 Nov 2024 19:32:06 +0800 Subject: [PATCH] change rpc to default --- adapters/stargate/src/sdk/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/stargate/src/sdk/config.ts b/adapters/stargate/src/sdk/config.ts index 1578e272..78c44ed4 100644 --- a/adapters/stargate/src/sdk/config.ts +++ b/adapters/stargate/src/sdk/config.ts @@ -8,7 +8,7 @@ export const POSITIONS_V2_SUBGRAPH_URL = export const client = createPublicClient({ chain: linea, - transport: http(`https://linea-mainnet.infura.io/v3/${process.env.OPENBLOCK_LINEA_INFURA_API_KEY}`, { + transport: http(`https://rpc.linea.build`, { retryCount: 5, timeout: 60_000, }),