From 24cfe0bcc10ec9418054c8def5cf4eeaa3ed0164 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Fri, 7 Jun 2024 14:49:51 -0700 Subject: [PATCH] fix[tool]: star option in `outputSelection` (#4094) 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. --- 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