mezoAgent 0.2.3__tar.gz → 0.2.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {mezoagent-0.2.3 → mezoagent-0.2.4}/PKG-INFO +1 -1
- {mezoagent-0.2.3 → mezoagent-0.2.4}/mezoAgent.egg-info/PKG-INFO +1 -1
- {mezoagent-0.2.3 → mezoagent-0.2.4}/mezo_agent/transaction.py +2 -2
- {mezoagent-0.2.3 → mezoagent-0.2.4}/setup.py +1 -1
- {mezoagent-0.2.3 → mezoagent-0.2.4}/README.md +0 -0
- {mezoagent-0.2.3 → mezoagent-0.2.4}/mezoAgent.egg-info/SOURCES.txt +0 -0
- {mezoagent-0.2.3 → mezoagent-0.2.4}/mezoAgent.egg-info/dependency_links.txt +0 -0
- {mezoagent-0.2.3 → mezoagent-0.2.4}/mezoAgent.egg-info/requires.txt +0 -0
- {mezoagent-0.2.3 → mezoagent-0.2.4}/mezoAgent.egg-info/top_level.txt +0 -0
- {mezoagent-0.2.3 → mezoagent-0.2.4}/mezo_agent/__init__.py +0 -0
- {mezoagent-0.2.3 → mezoagent-0.2.4}/mezo_agent/config.py +0 -0
- {mezoagent-0.2.3 → mezoagent-0.2.4}/mezo_agent/parsing.py +0 -0
- {mezoagent-0.2.3 → mezoagent-0.2.4}/setup.cfg +0 -0
@@ -31,7 +31,7 @@ def mezo_agent_transaction_btc(transaction_prompt: str) -> str:
|
|
31
31
|
return f"❌ Insufficient BTC balance! You have {sender_balance_btc} BTC but need {amount} BTC."
|
32
32
|
|
33
33
|
# Fetch nonce and gas price
|
34
|
-
nonce = web3_instance.eth.get_transaction_count(sender_address)
|
34
|
+
nonce = web3_instance.eth.get_transaction_count(sender_address, 'pending')
|
35
35
|
gas_price = web3_instance.eth.gas_price
|
36
36
|
gas_limit = web3_instance.eth.estimate_gas({"to": recipient, "value": amount_wei, "from": sender_address})
|
37
37
|
|
@@ -77,7 +77,7 @@ def mezo_agent_musd_transaction(transaction_prompt: str) -> str:
|
|
77
77
|
|
78
78
|
try:
|
79
79
|
# Fetch nonce and gas price for the sender
|
80
|
-
nonce = web3_instance.eth.get_transaction_count(sender_address)
|
80
|
+
nonce = web3_instance.eth.get_transaction_count(sender_address, 'pending')
|
81
81
|
gas_price = web3_instance.eth.gas_price
|
82
82
|
|
83
83
|
# Estimate gas required for the token transfer
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|