cairo-lang
cairo-lang copied to clipboard
Missing hints used by bootloaders
It seems that some of the hints that the bootloaders use are missing
For example: https://github.com/starkware-libs/cairo-lang/blob/27a157d761ae49b242026bcbe5fca6e60c1e98bd/src/starkware/cairo/bootloaders/simple_bootloader/simple_bootloader.cairo#L19-L22
the error message indicates that some of the required hints used by bootloaders are missing. the hints in question are:
%builtins output pedersen range_check ecdsa bitwise ec_op keccak poseidon
you need to have the necessary declarations for these builtins in your code. relevant modules or files importing or defining these builtins must be included or properly referenced in your script.
from starkware.cairo.common.cairo_builtins import ( output, pedersen, range_check, ecdsa, bitwise, ec_op, keccak, poseidon )
I found out that there at least one more missing file Namely this line needs utils.py in simple_bootloader dir, for configure_fact_topologies & write_to_fact_topologies_file func Also needed for core functionalities like: load_program load_cairo_pie, prepare_output_runner, write_return_builtins get_task_fact_topology
tl;dr
cairo-lang/src/starkware/cairo/bootloaders/simple_bootloader/utils.py
is missing also