Skip to content

Commit

Permalink
refactor: inc emit word
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jun 25, 2024
1 parent 9d0baa6 commit e0dd111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape_ethereum/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ def _call_to_str(call: dict, stylize: bool = False, verbose: bool = False) -> st
def _event_to_str(event: dict, stylize: bool = False) -> str:
name = event["name"]
arguments_str = _get_inputs_str(event.get("calldata"), stylize=stylize)
return f"{name}{arguments_str}"
return f"emit {name}{arguments_str}"


def _create_tree(call: dict, verbose: bool = False) -> Tree:
Expand Down

0 comments on commit e0dd111

Please sign in to comment.