Skip to content

Commit

Permalink
logging so we don't think the thread is dead
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakuhito committed May 17, 2024
1 parent e7d77b4 commit 42e70d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/followers/eth_follower.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ async def messageListener(self):
while event_block_number + self.sign_min_height > eth_block_number:
await asyncio.sleep(5)
eth_block_number = web3.eth.block_number
logging.info(f"{self.chain_id.decode()} message listener: Waiting for block {event_block_number + self.sign_min_height} to confirm message; current block: {eth_block_number}")
else:
# L2 - https://jumpcrypto.com/writing/bridging-and-finality-op-and-arb/
# in short, since we're trusting the sequencer anyway, we can also trust:
Expand Down

0 comments on commit 42e70d4

Please sign in to comment.