Skip to content

Commit fbcf74f

Browse files
authored
fix: tamper heavy-handedly to avoid PG test flake (#17740)
1 parent b871b25 commit fbcf74f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

barretenberg/cpp/src/barretenberg/stdlib/protogalaxy_verifier/protogalaxy_recursive_verifier.test.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,10 @@ class ProtogalaxyRecursiveTests : public testing::Test {
272272
// No tampering
273273
break;
274274
case InstanceTamperingMode::Wires:
275-
prover_inst->polynomials.w_l.at(1) += NativeFF(1);
275+
// Tamper with each row to ensure a non-trivial (non-skippable) value is effected
276+
for (auto& val : prover_inst->polynomials.w_l.coeffs()) {
277+
val += NativeFF(1);
278+
}
276279
run_oink();
277280
is_valid = check_accumulator_target_sum_manual(prover_inst);
278281
// Reset so that PG runs Oink on this instance

0 commit comments

Comments
 (0)