Skip to content

Commit

Permalink
Move balance check after EL node check (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise authored Oct 17, 2023
1 parent ed96815 commit c840348
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/common/startup_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,6 @@ async def wait_for_deposit_data_file() -> None:
async def startup_checks():
validate_settings()

logger.info('Checking hot wallet balance %s...', hot_wallet.address)

await check_hot_wallet_balance()

logger.info('Checking connection to database...')
db_client.create_db_dir()
with db_client.get_db_connection() as conn:
Expand All @@ -187,6 +183,9 @@ async def startup_checks():
logger.info('Checking connection to execution nodes...')
await wait_for_execution_node()

logger.info('Checking hot wallet balance %s...', hot_wallet.address)
await check_hot_wallet_balance()

logger.info('Checking connection to ipfs nodes...')
healthy_ipfs_endpoint = []
for endpoint in settings.ipfs_fetch_endpoints:
Expand Down

0 comments on commit c840348

Please sign in to comment.