From 431e34485beca83769a86c1f16fbf0e19fd66eab Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Thu, 25 Jul 2024 14:46:30 +0900 Subject: [PATCH] Log about inter node delay --- eth_defi/confirmation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eth_defi/confirmation.py b/eth_defi/confirmation.py index 0356d70a..7b003322 100644 --- a/eth_defi/confirmation.py +++ b/eth_defi/confirmation.py @@ -614,6 +614,10 @@ def wait_and_broadcast_multiple_nodes( if len(txs) >= 2: # https://github.com/ethereum/go-ethereum/issues/26890 + logger.info( + "Broadcasting multiple transactions, using inter node delay %s to sleep to ensure poor-quality nodes like Alchemy work", + inter_node_delay + ) time.sleep(inter_node_delay.total_seconds()) while len(unconfirmed_txs) > 0: