Skip to content

Commit

Permalink
🐛 Fix _get_storage_layout_from_explorer helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
michprev committed Jan 30, 2024
1 parent 96d6602 commit 980db5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wake/development/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,9 @@ def _get_storage_layout_from_explorer(
compiler = SolidityCompiler(compilation_config)

graph, _ = compiler.build_graph(
sources.keys(), sources, True # pyright: ignore reportGeneralTypeIssues
sources.keys(),
{k: v.encode("utf-8") for k, v in sources.items()},
True, # pyright: ignore reportGeneralTypeIssues
)
compilation_units = compiler.build_compilation_units_maximize(graph)
compilation_units = compiler.merge_compilation_units(compilation_units, graph)
Expand Down

0 comments on commit 980db5b

Please sign in to comment.