Skip to content

Commit

Permalink
increase txblaster timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nibty committed Mar 29, 2024
1 parent 4c13861 commit b59c628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/networksimulator/txblaster.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def generate_accounts(self, num_accounts: int, menmonic: str, fund_value: int):
tx_hashes.append(tx_hash)
accounts.append(acc)
for tx_hash in tx_hashes:
self.web3.eth.wait_for_transaction_receipt(tx_hash)
self.web3.eth.wait_for_transaction_receipt(tx_hash, timeout=60000)
return accounts

def run_transactions(self, private_key, args):
Expand Down Expand Up @@ -104,7 +104,7 @@ def run_transactions(self, private_key, args):
continue

start_time = time()
self.web3.eth.wait_for_transaction_receipt(tx_hash)
self.web3.eth.wait_for_transaction_receipt(tx_hash, timeout=60000)
logging.info("tx confirmed tx_receipt=%s time=%f", tx_hash.hex(), time() - start_time)

def sig_int(self, signum, frame):
Expand Down

0 comments on commit b59c628

Please sign in to comment.