File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -606,7 +606,7 @@ def run(
606606
607607 timer = NamedTimer ("time" )
608608 timer .create_subtimer ("paths" )
609- sevm .status . start ()
609+ sevm .status_start ()
610610
611611 exs = sevm .run (
612612 Exec (
Original file line number Diff line number Diff line change 1515 TypeVar ,
1616)
1717
18+ import rich
1819import xxhash
1920from eth_hash .auto import keccak
2021from rich .status import Status
@@ -1718,6 +1719,11 @@ def __init__(self, options: HalmosConfig) -> None:
17181719 is_generic = self .options .storage_layout == "generic"
17191720 self .storage_model = GenericStorage if is_generic else SolidityStorage
17201721
1722+ def status_start (self ) -> None :
1723+ # clear any remaining live display before starting a new instance
1724+ rich .get_console ().clear_live ()
1725+ self .status .start ()
1726+
17211727 def div_xy_y (self , w1 : Word , w2 : Word ) -> Word :
17221728 # return the number of bits required to represent the given value. default = 256
17231729 def bitsize (w : Word ) -> int :
You can’t perform that action at this time.
0 commit comments