Skip to content

Commit

Permalink
Merge pull request #196 from lidofinance/feat/remove-fallback-rpcs
Browse files Browse the repository at this point in the history
feat(Config): remove fallback rpcs
  • Loading branch information
AnnaSila authored Oct 7, 2024
2 parents a625994 + 88ede46 commit 67102f0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
const basePath = process.env.BASE_PATH || ''
const publicMainnetRPCs = [
'https://api.noderpc.xyz/rpc-mainnet/public',
'https://ethereum.publicnode.com',
'https://nodes.mewapi.io/rpc/eth',
]

const rpcUrls_1 =
(process.env.EL_RPC_URLS_1 && process.env.EL_RPC_URLS_1.split(',')) || publicMainnetRPCs
(process.env.EL_RPC_URLS_1 && process.env.EL_RPC_URLS_1.split(','))
const rpcUrls_5 =
process.env.EL_RPC_URLS_5 && process.env.EL_RPC_URLS_5.split(',')
const rpcUrls_17000 =
Expand Down

0 comments on commit 67102f0

Please sign in to comment.