From 5edb051a4c0cab69a8d3ee082425cbd5aa5a9b0c Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Thu, 11 Jul 2024 14:31:41 -0400 Subject: [PATCH] fix: remove root_path kwarg --- brownie/project/compiler/vyper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/brownie/project/compiler/vyper.py b/brownie/project/compiler/vyper.py index 1dafedfe2..c890b38e6 100644 --- a/brownie/project/compiler/vyper.py +++ b/brownie/project/compiler/vyper.py @@ -236,8 +236,10 @@ def compile_from_input_json( outputs.remove("userdoc") outputs.remove("devdoc") if version == Version(vyper.__version__): + if allow_paths is not None: + raise NotImplementedError(allow_paths) try: - return vyper_json.compile_json(input_json, root_path=allow_paths) + return vyper_json.compile_json(input_json) except VyperException as exc: raise exc.with_traceback(None) else: