From aea3f46b2d91fd4c80951f09ec2f93d2da4e1842 Mon Sep 17 00:00:00 2001 From: antazoey Date: Mon, 15 Apr 2024 12:37:20 -0600 Subject: [PATCH] fix: bump pyevm to 0.10 range (#63) --- evm_trace/vmtrace.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/evm_trace/vmtrace.py b/evm_trace/vmtrace.py index 951a914..7b6d84b 100644 --- a/evm_trace/vmtrace.py +++ b/evm_trace/vmtrace.py @@ -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: diff --git a/setup.py b/setup.py index e01cb8d..d5f62be 100644 --- a/setup.py +++ b/setup.py @@ -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",