Skip to content

Commit

Permalink
fix: bump pyevm to 0.10 range (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Apr 15, 2024
1 parent 68b0527 commit aea3f46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
include_package_data=True,
install_requires=[
"pydantic>=2.5.2,<3",
"py-evm>=0.7.0a4,<0.9", # NOTE: We support both 0.7 and 0.8.
"py-evm>=0.10.0b6,<0.11",
"eth-utils>=2.3.1,<3",
"msgspec>=0.8",
"eth-pydantic-types>=0.1.0a5",
Expand Down

0 comments on commit aea3f46

Please sign in to comment.