Skip to content

Commit

Permalink
print node version
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Jan 16, 2025
1 parent 637be3b commit 8a14da4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dipdup/datasources/substrate_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ async def run(self) -> None:
await asyncio.sleep(self._http_config.polling_interval)

async def initialize(self) -> None:
version_info = await self._interface.rpc_request('system_version', [])
self._logger.info('running version %s', version_info['result'])

level = await self.get_head_level()
self.set_sync_level(None, level)

Expand Down

0 comments on commit 8a14da4

Please sign in to comment.