Skip to content

Commit

Permalink
Update vyper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Aug 16, 2024
1 parent 93c161a commit 88227c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions brownie/project/compiler/vyper.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def set_vyper_version(version: Union[str, Version]) -> str:
if isinstance(version, str):
version = Version(version)
if version != Version(vyper.__version__):
raise Exception(version)
try:
vvm.set_vyper_version(version, silent=True)
except vvm.exceptions.VyperNotInstalled:
Expand Down

0 comments on commit 88227c3

Please sign in to comment.