Check as_int
calls using to_bigint
instead of to_signed_felt
in hint implementationss
#1190
Labels
as_int
calls using to_bigint
instead of to_signed_felt
in hint implementationss
#1190
In a previous iteration, the logic of the function
as_int
was implemented in the felt library under theto_bigint
method. Later on, theto_bigint
was changed to be just a simple type conversion, and theas_int
logic was moved to theto_signed_felt
method. Nevertheless, some hints are still usingto_bigint
when they should be usingto_signed_felt
(example #1189).All hints using
as_int
in their python code should be checked to make sure we usingto_signed_felt
on their implementationThe text was updated successfully, but these errors were encountered: