Skip to content

Commit

Permalink
Bump number of retries when deploying contract
Browse files Browse the repository at this point in the history
  • Loading branch information
mksh committed Mar 7, 2024
1 parent a38ed25 commit 7a5e97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth_possim/contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
logger = logging.getLogger(__name__)

def wait_for_transaction_receipt(w3: web3.Web3, signed_txn_hash: HexStr) -> TxReceipt:
for _ in range(1, 10):
for _ in range(1, 100):
try:
tx_receipt = w3.eth.wait_for_transaction_receipt(signed_txn_hash)
return tx_receipt
Expand Down

0 comments on commit 7a5e97f

Please sign in to comment.