Skip to content

Commit

Permalink
fix[tool]: star option in outputSelection (#4094)
Browse files Browse the repository at this point in the history
vyper will accept either `"*"` or `["*"]` for `outputSelection`, but
some verifiers expect it to always be a list. make `solc_json` output
choose the common formatting.
  • Loading branch information
charles-cooper committed Jun 7, 2024
1 parent 1f6b943 commit 24cfe0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/compiler/output_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def write_integrity(self, integrity_sum: str):

def write_compilation_target(self, targets: list[str]):
for target in targets:
self._output["settings"]["outputSelection"][target] = "*"
self._output["settings"]["outputSelection"][target] = ["*"]

def write_version(self, version):
self._output["compiler_version"] = version
Expand Down

0 comments on commit 24cfe0b

Please sign in to comment.