From c43c7889392614aede09a23160e7fd6ca6268712 Mon Sep 17 00:00:00 2001 From: Mike Shultz Date: Thu, 5 Sep 2024 12:21:44 -0600 Subject: [PATCH] fix: block rpc-sepolia.rockx.com as it appears to be down --- evmchains/chains.py | 8 +++----- scripts/update.py | 4 +++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/evmchains/chains.py b/evmchains/chains.py index 9af880a..538b5d5 100644 --- a/evmchains/chains.py +++ b/evmchains/chains.py @@ -1,5 +1,5 @@ # This file is auto-generated by scripts/update.py -# 2024-07-03 20:26:21.491217 +# 2024-09-05 18:21:01.387852 # Do not edit this file directly. from typing import Any, Dict @@ -528,13 +528,11 @@ "rpc": [ "https://rpc.sepolia.org", "https://rpc2.sepolia.org", - "https://rpc-sepolia.rockx.com", "https://rpc.sepolia.ethpandaops.io", "https://sepolia.infura.io/v3/${INFURA_API_KEY}", "https://sepolia.gateway.tenderly.co", "https://ethereum-sepolia-rpc.publicnode.com", "https://sepolia.drpc.org", - "https://rpc-sepolia.rockx.com", ], "shortName": "sep", "slip44": 1, @@ -892,7 +890,7 @@ "icon": "polygon", "infoURL": "https://polygon.technology/", "name": "Polygon Mainnet", - "nativeCurrency": {"decimals": 18, "name": "MATIC", "symbol": "MATIC"}, + "nativeCurrency": {"decimals": 18, "name": "POL", "symbol": "POL"}, "networkId": 137, "rpc": [ "https://polygon-rpc.com/", @@ -905,7 +903,7 @@ "https://polygon.gateway.tenderly.co", "https://polygon.drpc.org", ], - "shortName": "matic", + "shortName": "pol", "slip44": 966, }, "mumbai": { diff --git a/scripts/update.py b/scripts/update.py index 1d68f34..23c31a4 100644 --- a/scripts/update.py +++ b/scripts/update.py @@ -17,7 +17,9 @@ CHAIN_CONST_FILE = Path(__file__).parent.parent / "evmchains" / "chains.py" BLACKLIST_STRINGS = [ # 2024-01-19: Node appears to be broken. Returning errors on simple requests. - "rpc.blocknative.com" + "rpc.blocknative.com", + # 2024-09-05: Node returning 504s for days. + "rpc-sepolia.rockx.com", ] # Mapping of Ape ecosystem:network to chain IDs. These are the chains that we will be fetching.