Skip to content

Commit

Permalink
Merge branch 'main' into rust-extf-mul
Browse files Browse the repository at this point in the history
  • Loading branch information
raugfer committed Aug 20, 2024
2 parents 094f105 + c32b347 commit e00a665
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hydra/garaga/hints/ecip.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ def zk_ecip_hint(
field_type = get_field_type_from_ec_point(Bs[0])
field = get_base_field(c_id.value, field_type)

q, a_num, a_den, b_num, b_den = garaga_rs.zk_ecip_hint(pts, scalars, c_id.value)
q, a_num, a_den, b_num, b_den = garaga_rs.zk_ecip_hint(
pts, list(scalars), c_id.value
)

a_num = [field(int(f, 16)) for f in a_num] if len(a_num) > 0 else [field.zero()]
a_den = [field(int(f, 16)) for f in a_den] if len(a_den) > 0 else [field.one()]
Expand Down

0 comments on commit e00a665

Please sign in to comment.