Skip to content

Commit

Permalink
gas_diff_stats.py: Order rows in a deterministic way (by file path)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameel committed Feb 21, 2024
1 parent 43274fd commit b88d690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gas_diff_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def stat(old, new):
if table:
print("<details><summary>Click for a table of gas differences</summary>\n")
table_header = ["File name", "IR optimized", "Legacy optimized", "Legacy"]
print(tabulate(table, headers=table_header, tablefmt="github"))
print(tabulate(sorted(table), headers=table_header, tablefmt="github"))
print("</details>")
else:
print("No differences found.")
Expand Down

0 comments on commit b88d690

Please sign in to comment.