From 1d6f69302e91174ab7e6cea1b55cff301f9213b0 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Fri, 3 Nov 2023 19:09:08 -0500 Subject: [PATCH] fix: use pydantic compat --- ape_foundry/provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ape_foundry/provider.py b/ape_foundry/provider.py index 7d18fe4..5cd6496 100644 --- a/ape_foundry/provider.py +++ b/ape_foundry/provider.py @@ -8,6 +8,7 @@ from subprocess import PIPE, call from typing import Any, Dict, Iterator, List, Literal, Optional, Tuple, Union, cast +from ape._pydantic_compat import root_validator from ape.api import ( BlockAPI, ForkedNetworkAPI, @@ -44,7 +45,6 @@ from evm_trace import CallType, ParityTraceList from evm_trace import TraceFrame as EvmTraceFrame from evm_trace import get_calltree_from_geth_trace, get_calltree_from_parity_trace -from pydantic import root_validator from web3 import HTTPProvider, Web3 from web3.exceptions import ContractCustomError from web3.exceptions import ContractLogicError as Web3ContractLogicError