mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
EIP7549 get_attestation_indices (#5657)
* get attesting indices electra impl * fmt * get tests to pass * fmt * fix some beacon chain tests * fmt * fix slasher test * fmt got me again * fix more tests * fix tests
This commit is contained in:
@@ -3285,6 +3285,7 @@ impl ApiTester {
|
||||
.unwrap()
|
||||
.data;
|
||||
|
||||
// TODO(electra) make fork-agnostic
|
||||
let mut attestation = Attestation::Base(AttestationBase {
|
||||
aggregation_bits: BitList::with_capacity(duty.committee_length as usize).unwrap(),
|
||||
data: attestation_data,
|
||||
@@ -3303,7 +3304,7 @@ impl ApiTester {
|
||||
|
||||
SignedAggregateAndProof::from_aggregate(
|
||||
i as u64,
|
||||
attestation,
|
||||
attestation.to_ref(),
|
||||
Some(proof),
|
||||
&kp.sk,
|
||||
&fork,
|
||||
|
||||
Reference in New Issue
Block a user