Skip to content

Commit cc8c9a2

Browse files
refactor: remove dead code
1 parent 3ab706b commit cc8c9a2

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

vvm/main.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -115,22 +115,6 @@ def compile_files(
115115
)
116116

117117

118-
def _parse_compiler_output(stdoutdata: str) -> Dict:
119-
output = json.loads(stdoutdata)
120-
121-
contracts = output.get("contracts", {})
122-
sources = output.get("sources", {})
123-
124-
for path_str, data in contracts.items():
125-
if "abi" in data:
126-
data["abi"] = json.loads(data["abi"])
127-
key = path_str.rsplit(":", maxsplit=1)[0]
128-
if "AST" in sources.get(key, {}):
129-
data["ast"] = sources[key]["AST"]
130-
131-
return contracts
132-
133-
134118
def _compile(
135119
base_path: Union[str, Path, None],
136120
vyper_binary: Union[str, Path, None],

0 commit comments

Comments
 (0)