Skip to content

Commit

Permalink
boom
Browse files Browse the repository at this point in the history
  • Loading branch information
jtguibas committed Aug 30, 2023
1 parent 79666e0 commit e79ae73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plonky2x/src/frontend/eth/beacon/generators/balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ impl<F: RichField + Extendable<D>, const D: usize> SimpleGenerator<F, D>
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
}

Expand Down
3 changes: 3 additions & 0 deletions plonky2x/src/frontend/eth/beacon/generators/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ impl<F: RichField + Extendable<D>, const D: usize> SimpleGenerator<F, D>
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
}

Expand Down

0 comments on commit e79ae73

Please sign in to comment.