Closed TAdev0 closed 4 months ago
the hint is
//> n -= 1 //> ids.continue_copying = 1 if n > 0 else 0
n is a value stored in the scope.
n
Currently we do
newN := new(f.Element) newN = newN.Sub(n.(*f.Element), &utils.FeltOne) if err := ctx.ScopeManager.AssignVariable("n", newN); err != nil { return err }
this is not the expected behavior as we store a pointer to n, instead of n in scope
Hello @TAdev0! I worked on adding that hint, I think I have enough context to solve the issue, so I will be happy to help!
Hey @danielcdz , someone else is already working on it!
the hint is
n
is a value stored in the scope.Currently we do
this is not the expected behavior as we store a pointer to
n
, instead ofn
in scope