Skip to content

Commit

Permalink
bring back VyperContract name
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Sep 11, 2024
1 parent 5ce6bfb commit 572ef3f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions boa/interpret.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,13 @@ def compiler_data(
search_paths = get_search_paths(_search_path)
input_bundle = FilesystemInputBundle(search_paths)

if contract_name is None:
contract_name = "VyperContract"
path = Path(contract_name)

if filename is None:
filename = "<unknown>"
path = Path(filename)

resolved_path = path.resolve(strict=False)
resolved_path = Path(filename).resolve(strict=False)

file_input = FileInput(
contents=source_code,
Expand Down

0 comments on commit 572ef3f

Please sign in to comment.