Skip to content

Commit

Permalink
Merge pull request #309 from vfat-io/env
Browse files Browse the repository at this point in the history
use env
  • Loading branch information
0xroll authored Oct 29, 2024
2 parents 062790f + 9a3c547 commit 9d8a654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adapters/vfat/src/sdk/nile/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const 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,
}),
Expand Down
2 changes: 1 addition & 1 deletion adapters/vfat/src/sdk/pancake/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export const VFAT_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}`),
});

0 comments on commit 9d8a654

Please sign in to comment.