From 5ebb532b86d20eeb73b85cf81b73a4f2d716d7d2 Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Thu, 14 Aug 2025 14:00:47 +0900 Subject: [PATCH] Stop trying to pull the AACI from the build directly --- src/gd_v_devman.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gd_v_devman.erl b/src/gd_v_devman.erl index a5dad28..3c4d1a6 100644 --- a/src/gd_v_devman.erl +++ b/src/gd_v_devman.erl @@ -837,7 +837,8 @@ 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 := AACI}} -> + {ok, Build} -> + AACI = hz:prepare_aaci(Build), {Defs = #{functions := Funs}, ConIfaces} = find_main(AACI), Callable = maps:remove("init", Funs), FunDefs = {maps:put(functions, Callable, Defs), ConIfaces},