Skip to content

Commit

Permalink
refactor: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdefinitelyahuman committed Aug 25, 2020
1 parent 3ab706b commit cc8c9a2
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions vvm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,22 +115,6 @@ def compile_files(
)


def _parse_compiler_output(stdoutdata: str) -> Dict:
output = json.loads(stdoutdata)

contracts = output.get("contracts", {})
sources = output.get("sources", {})

for path_str, data in contracts.items():
if "abi" in data:
data["abi"] = json.loads(data["abi"])
key = path_str.rsplit(":", maxsplit=1)[0]
if "AST" in sources.get(key, {}):
data["ast"] = sources[key]["AST"]

return contracts


def _compile(
base_path: Union[str, Path, None],
vyper_binary: Union[str, Path, None],
Expand Down

0 comments on commit cc8c9a2

Please sign in to comment.