mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 04:01:51 +00:00
Attestation superstruct changes for EIP 7549 (#5644)
* update * experiment * superstruct changes * revert * superstruct changes * fix tests * indexed attestation * indexed attestation superstruct * updated TODOs
This commit is contained in:
@@ -34,7 +34,7 @@ pub fn run<E: EthSpec>(matches: &ArgMatches) -> Result<(), String> {
|
||||
let indexed_attestations = attestations
|
||||
.into_iter()
|
||||
.map(|att| {
|
||||
let committee = state.get_beacon_committee(att.data.slot, att.data.index)?;
|
||||
let committee = state.get_beacon_committee(att.data().slot, att.data().index)?;
|
||||
get_indexed_attestation(committee.committee, &att)
|
||||
})
|
||||
.collect::<Result<Vec<_>, _>>()
|
||||
|
||||
Reference in New Issue
Block a user