From af7e9344a9d4538b814c7d495d62c816394a4a92 Mon Sep 17 00:00:00 2001 From: Daniel Schiavini Date: Wed, 31 Jan 2024 20:13:43 +0100 Subject: [PATCH] Fix imports --- scripts/deployment_utils.py | 2 +- tests/fixtures/deployments.py | 2 +- tests/fixtures/functions.py | 2 +- tests/utils.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/deployment_utils.py b/scripts/deployment_utils.py index e894cd6..67fac8d 100644 --- a/scripts/deployment_utils.py +++ b/scripts/deployment_utils.py @@ -2,8 +2,8 @@ from os import environ, path import boa +from boa.contracts.vyper.vyper_contract import VyperContract from boa.network import NetworkEnv -from boa.vyper.contract import VyperContract from eth_account import Account from rich.console import Console as RichConsole diff --git a/tests/fixtures/deployments.py b/tests/fixtures/deployments.py index 576d712..38710ff 100644 --- a/tests/fixtures/deployments.py +++ b/tests/fixtures/deployments.py @@ -1,6 +1,6 @@ import boa import pytest -from boa.vyper.contract import VyperContract +from boa.contracts.vyper.vyper_contract import VyperContract from scripts.deployment_utils import get_deployed_contract from tests.utils import deploy_contract diff --git a/tests/fixtures/functions.py b/tests/fixtures/functions.py index 904a0c1..1018bdb 100644 --- a/tests/fixtures/functions.py +++ b/tests/fixtures/functions.py @@ -1,7 +1,7 @@ from typing import Callable import pytest -from boa.vyper.contract import VyperContract +from boa.contracts.vyper.vyper_contract import VyperContract from scripts.deployment_utils import get_deployed_contract diff --git a/tests/utils.py b/tests/utils.py index f8d6a55..940e239 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -2,7 +2,7 @@ from typing import Union import boa -from boa.vyper.contract import VyperContract +from boa.contracts.vyper.vyper_contract import VyperContract from eth.codecs.abi.exceptions import DecodeError as ABIDecodeError from eth_account.signers.local import LocalAccount