Finish Modifications to get_attesting_indices()

This commit is contained in:
Mark Mackey
2024-09-11 16:18:35 -05:00
parent 330863d970
commit 4c9e12cfb6
14 changed files with 143 additions and 72 deletions

View File

@@ -39,7 +39,7 @@ pub fn run<E: EthSpec>(matches: &ArgMatches) -> Result<(), String> {
attesting_indices_base::get_indexed_attestation(committee.committee, &att)
}
Attestation::Electra(att) => {
attesting_indices_electra::get_indexed_attestation_from_state(&state, &att)
attesting_indices_electra::get_indexed_attestation_from_state(&state, &att, spec)
}
})
.collect::<Result<Vec<_>, _>>()