From 2ecde986bfaa0a747fcbcc29cddff0f9cb4aa98e Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Fri, 15 Aug 2025 13:24:39 +0900 Subject: [PATCH] WIP --- src/gd_v_devman.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gd_v_devman.erl b/src/gd_v_devman.erl index 3c4d1a6..adec361 100644 --- a/src/gd_v_devman.erl +++ b/src/gd_v_devman.erl @@ -837,9 +837,9 @@ open_hash3(State, Address, Source) -> % TODO: Compile on load and verify the deployed hash for validity. Options = sophia_options(), case so_compiler:from_string(Source, Options) of - {ok, Build} -> - AACI = hz:prepare_aaci(Build), - {Defs = #{functions := Funs}, ConIfaces} = find_main(AACI), + {ok, Build = #{aci := ACI}} -> +% AACI = hz:prepare_aaci(ACI), + {Defs = #{functions := Funs}, ConIfaces} = find_main(ACI), Callable = maps:remove("init", Funs), FunDefs = {maps:put(functions, Callable, Defs), ConIfaces}, ok = tell(info, "Compilation Succeeded!~n~tp~n~n~tp", [Build, FunDefs]),