Skip to content

Commit

Permalink
fix: mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Apr 15, 2024
1 parent c41c7d7 commit 523797e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evm_trace/vmtrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ def to_trace_frames(
pc=op.pc,
op=op.op,
depth=depth,
stack=[to_int(val) for _, val in stack.values],
stack=[to_int(val) for val in stack.values],
memory=read_memory(0, len(memory)),
storage=storage.copy(),
)

if op.op in ["CALL", "DELEGATECALL", "STATICCALL"]:
call_address = Address.__eth_pydantic_validate__(stack.values[-2][1])
call_address = Address.__eth_pydantic_validate__(stack.values[-2])

if op.ex:
if op.ex.mem:
Expand Down

0 comments on commit 523797e

Please sign in to comment.