Skip to content

Commit

Permalink
test: fix test tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 18, 2024
1 parent 84ca51e commit fe592de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/functional/geth/test_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import pytest
from ethpm_types import MethodABI
from ethpm_types.abi import ABIType
from evm_trace import CallTreeNode
from hexbytes import HexBytes

from ape.utils import run_in_tempdir
Expand Down Expand Up @@ -494,8 +495,8 @@ class TraceForTest(TransactionTrace):
def transaction(self) -> dict:
return transaction

def get_raw_calltree(self) -> dict:
return calltree
def get_calltree(self) -> CallTreeNode:
return CallTreeNode.model_validate(calltree)

@property
def root_method_abi(self) -> Optional[MethodABI]:
Expand Down

0 comments on commit fe592de

Please sign in to comment.