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 this snippet we're either compiling the program from scratch or returning a cached artifact. This will then be unconditionally fed into nargo::ops::transform.
This is fine when nargo::ops::transform is a noop on a cached artifact but it seems that MergeOptimizer is not fully optimizing programs on the first instance so when we run the cached program through it again it can further optimize the program resulting in a different bytecode being executed compared to what's saved on disk.
The text was updated successfully, but these errors were encountered:
In this snippet we're either compiling the program from scratch or returning a cached artifact. This will then be unconditionally fed into
nargo::ops::transform
.noir/tooling/nargo_cli/src/cli/compile_cmd.rs
Lines 182 to 199 in 4ff3081
This is fine when
nargo::ops::transform
is a noop on a cached artifact but it seems thatMergeOptimizer
is not fully optimizing programs on the first instance so when we run the cached program through it again it can further optimize the program resulting in a different bytecode being executed compared to what's saved on disk.The text was updated successfully, but these errors were encountered: