From 050bbc90ce19c5289ce6e882492ff4a6b513d498 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Wed, 5 Jun 2024 08:35:39 -0400 Subject: [PATCH] fix[tool]: star option in outputSelection vyper will accept either `"*"` or `["*"]` as `outputSelection`, but some verifiers expect it to always be a list. make `solc_json` output choose the common formatting. --- vyper/compiler/output_bundle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vyper/compiler/output_bundle.py b/vyper/compiler/output_bundle.py index b93ecbd015..92494e3a70 100644 --- a/vyper/compiler/output_bundle.py +++ b/vyper/compiler/output_bundle.py @@ -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