Gloas PayloadAttestation gossip verification (#9145)

Co-Authored-By: hopinheimer <knmanas6@gmail.com>

Co-Authored-By: hopinheimer <48147533+hopinheimer@users.noreply.github.com>

Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>

Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
This commit is contained in:
hopinheimer
2026-04-27 05:51:20 -04:00
committed by GitHub
parent fae7941b2d
commit 6ab48a76f0
11 changed files with 1014 additions and 16 deletions

View File

@@ -1351,7 +1351,7 @@ where
let ptc_indices: Vec<usize> = attestation
.attesting_indices
.iter()
.filter_map(|vi| ptc.iter().position(|&p| p == *vi as usize))
.filter_map(|validator_index| ptc.iter().position(|&p| p == *validator_index as usize))
.collect();
// Check that all the attesters are in the PTC