Skip to content

Commit

Permalink
fix: Determinism of fallback transformer (#3100)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirasistant authored Oct 11, 2023
1 parent c48251e commit 12daad1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion acvm-repo/acvm/src/compiler/transformers/fallback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ impl FallbackTransformer {
}

Ok((
Circuit { current_witness_index: witness_idx, opcodes: acir_supported_opcodes, ..acir },
Circuit {
current_witness_index: witness_idx - 1,
opcodes: acir_supported_opcodes,
..acir
},
new_opcode_positions,
))
}
Expand Down

0 comments on commit 12daad1

Please sign in to comment.