Skip to content

Commit

Permalink
Merge pull request #311 from delta-hq/stargate-rpc-change
Browse files Browse the repository at this point in the history
[linea] changing to private rpc for stargate
  • Loading branch information
0xroll authored Oct 31, 2024
2 parents 085765a + c99aabf commit a77d147
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion adapters/stargate/src/sdk/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ export const POSITIONS_V2_SUBGRAPH_URL =

export const client = createPublicClient({
chain: linea,
transport: http("https://rpc.linea.build"),
transport: http(`https://linea-mainnet.infura.io/v3/${process.env.OPENBLOCK_LINEA_INFURA_API_KEY}`, {
retryCount: 5,
timeout: 60_000,
}),
});

0 comments on commit a77d147

Please sign in to comment.