From 0ef2024201d502cb4c4b0927d570c315edd3d04e Mon Sep 17 00:00:00 2001 From: ChefJoJo <94336009+chef-jojo@users.noreply.github.com> Date: Sun, 30 Jul 2023 01:16:12 +0800 Subject: [PATCH] chore: zkevm nodereal (#7449) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### 🤖 Generated by Copilot at 01784a1 ### Summary 🚀🔗🧩 Uncommented code in `nodes.ts` to enable the use of `getNodeRealUrlV2` function. This function connects to the Polygon ZK-EVM network, a new layer 2 solution for scaling Ethereum. > _`getNodeRealUrlV2`_ > _Connects to Polygon ZK-EVM_ > _Faster web app - spring_ ### Walkthrough * Enable the use of `getNodeRealUrlV2` function to connect to Polygon ZK-EVM network ([link](https://github.com/pancakeswap/pancake-frontend/pull/7449/files?diff=unified&w=0#diff-17218d64565ce12e09953351575126053d6b30541c3605f7ee38a34374a7daecL62-R62)) --- apps/web/src/config/nodes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/config/nodes.ts b/apps/web/src/config/nodes.ts index 90054ce069638..7e9720114867d 100644 --- a/apps/web/src/config/nodes.ts +++ b/apps/web/src/config/nodes.ts @@ -59,7 +59,7 @@ export const PUBLIC_NODES = { [ChainId.ARBITRUM_ONE]: arbitrum.rpcUrls.public.http, [ChainId.ARBITRUM_GOERLI]: arbitrumGoerli.rpcUrls.public.http, [ChainId.POLYGON_ZKEVM]: [ - // getNodeRealUrlV2(ChainId.POLYGON_ZKEVM, process.env.NEXT_PUBLIC_NODE_REAL_API_ETH), + getNodeRealUrlV2(ChainId.POLYGON_ZKEVM, process.env.NEXT_PUBLIC_NODE_REAL_API_ETH), ...POLYGON_ZKEVM_NODES, ], [ChainId.POLYGON_ZKEVM_TESTNET]: [