Skip to content

Commit

Permalink
fix: change average gas requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya-Solulab committed Oct 16, 2024
1 parent bb86226 commit 7b883fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suggest_funding_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def analyze_and_report_gas_costs(gas_costs: dict, balance_info: Any, chain_id: i
transactions = gas_costs.get(chain_id, [])
average_gas_price = _calculate_average_gas_price(chain_rpc)
if not transactions:
average_gas_used = 2_000_000
average_gas_used = 2_00_000
else:
total_gas_used = sum(Decimal(tx["gas_used"]) for tx in transactions)
average_gas_used = total_gas_used / Decimal(len(transactions))
Expand Down

0 comments on commit 7b883fd

Please sign in to comment.