Apply RFCs for #3569.

Co-authored-by: David Núñez <david@nucypher.com>
pull/3569/head
derekpierre 2024-12-18 10:25:57 -05:00
parent 9494ede171
commit 779a4534f7
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
Added plumbing to support EVM condition evaluation on "any" (major) EVM chain outside of Ethereum and Polygon - only enabled on `lynx` testnet for now.
Added plumbing to support EVM condition evaluation on "any" (major) EVM chain outside of Ethereum and Polygon - only enabled on ``lynx`` testnet for now.

View File

@ -138,7 +138,7 @@ def rpc_endpoint_health_check(endpoint: str, max_drift_seconds: int = 60) -> boo
@cache
def get_default_rpc_endpoints(domain: TACoDomain) -> Dict[int, List[str]]:
"""
Fetches the default RPC endpoints for various chains
For a given domain, fetches the default RPC endpoints for various chains
from the nucypher/chainlist repository.
"""
url = CHAINLIST_URL_TEMPLATE.format(domain=domain.name)
@ -163,7 +163,6 @@ def get_default_rpc_endpoints(domain: TACoDomain) -> Dict[int, List[str]]:
def get_healthy_default_rpc_endpoints(domain: TACoDomain) -> Dict[int, List[str]]:
"""Returns a mapping of chain id to healthy RPC endpoints for a given domain."""
endpoints = get_default_rpc_endpoints(domain)
if not domain.is_testnet: