Skip to content

Commit

Permalink
Add docstrings 2
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise committed Oct 1, 2024
1 parent 6f07fb2 commit 46d1488
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/common/startup_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ async def startup_checks() -> None:


async def _check_consensus_nodes_network() -> None:
"""
Checks that consensus node network is the same as settings.network
"""
chain_id_to_network = get_chain_id_to_network_dict()
for consensus_endpoint in settings.consensus_endpoints:
consensus_client = get_consensus_client([consensus_endpoint])
Expand All @@ -277,6 +280,9 @@ async def _check_consensus_nodes_network() -> None:


async def _check_execution_nodes_network() -> None:
"""
Checks that execution node network is the same as settings.network
"""
chain_id_to_network = get_chain_id_to_network_dict()
for execution_endpoint in settings.execution_endpoints:
execution_client = get_execution_client(
Expand Down

0 comments on commit 46d1488

Please sign in to comment.