You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In acir_gen, each time we fetch an InternalVar using a NodeId and generate a cached_witness that cached_witness is not saved back into the internal_var_cache, so fetching the same InternalVar again using the same NodeId will not show the cached_witness.
Solution
One solution is to update the InternalVarCache whenever we generate a witness for an expression in an InternalVar
Alternatives considered
Additional context
The text was updated successfully, but these errors were encountered:
Problem
In
acir_gen
, each time we fetch anInternalVar
using aNodeId
and generate acached_witness
thatcached_witness
is not saved back into theinternal_var_cache
, so fetching the sameInternalVar
again using the sameNodeId
will not show thecached_witness
.Solution
InternalVarCache
whenever we generate a witness for an expression in anInternalVar
Alternatives considered
Additional context
The text was updated successfully, but these errors were encountered: