Skip to content

Commit

Permalink
feat: use minimal box
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 22, 2022
1 parent 5390236 commit 43f8d6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ape/utils/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from evm_trace.display import TreeRepresentation
from evm_trace.gas import merge_reports
from hexbytes import HexBytes
from rich.box import MINIMAL as BOX_TYPE
from rich.table import Table
from rich.tree import Tree

Expand Down Expand Up @@ -291,7 +292,7 @@ def parse_as_gas_report(self, call: CallTreeNode) -> List[Table]:

for contract_id, method_calls in report.items():
title = f"{contract_id} Gas"
table = Table(title=title)
table = Table(title=title, box=BOX_TYPE)
table.add_column("Method")
table.add_column("Times called")
table.add_column("Min.")
Expand Down

0 comments on commit 43f8d6a

Please sign in to comment.