diff --git a/src/hdp.cairo b/src/hdp.cairo index a4742cd8..1fc4e8f6 100644 --- a/src/hdp.cairo +++ b/src/hdp.cairo @@ -208,7 +208,7 @@ func run{ dictionary["results_root"] = '0x' + (hex(ids.results_root.high * 2 ** 128 + ids.results_root.low)[2:].zfill(64)) results = list() for i in range(ids.results_len): - results.append(memory[ids.results.address_ + i]) + results.append('0x' + (hex(memory[ids.results.address_ + i])[2:].zfill(64))) dictionary["results"] = results with open(cairo_run_output_path, 'w') as json_file: json.dump(dictionary, json_file)