From e79ae732d61cdbe48f176cac59c2596a6cc42091 Mon Sep 17 00:00:00 2001 From: John Guibas Date: Wed, 30 Aug 2023 16:46:30 -0700 Subject: [PATCH] boom --- plonky2x/src/frontend/eth/beacon/generators/balance.rs | 3 +++ plonky2x/src/frontend/eth/beacon/generators/validator.rs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/plonky2x/src/frontend/eth/beacon/generators/balance.rs b/plonky2x/src/frontend/eth/beacon/generators/balance.rs index 72b81b771..d35540fab 100644 --- a/plonky2x/src/frontend/eth/beacon/generators/balance.rs +++ b/plonky2x/src/frontend/eth/beacon/generators/balance.rs @@ -59,6 +59,9 @@ impl, const D: usize> SimpleGenerator let mut targets = Vec::new(); targets.extend(self.block_root.targets()); targets.extend(self.validators_root.targets()); + if self.dynamic_idx.is_some() { + targets.extend(self.dynamic_idx.unwrap().targets()); + } targets } diff --git a/plonky2x/src/frontend/eth/beacon/generators/validator.rs b/plonky2x/src/frontend/eth/beacon/generators/validator.rs index 0e57e76a3..2b795cec8 100644 --- a/plonky2x/src/frontend/eth/beacon/generators/validator.rs +++ b/plonky2x/src/frontend/eth/beacon/generators/validator.rs @@ -59,6 +59,9 @@ impl, const D: usize> SimpleGenerator let mut targets = Vec::new(); targets.extend(self.block_root.targets()); targets.extend(self.validators_root.targets()); + if self.dynamic_idx.is_some() { + targets.extend(self.dynamic_idx.unwrap().targets()); + } targets }