Fill state attestations (#13121)

This commit is contained in:
Radosław Kapka 2023-10-26 17:35:01 +02:00 committed by GitHub
parent 5de8ec4600
commit 3d78a52980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -922,7 +922,7 @@ func PendingAttestationFromConsensus(a *eth.PendingAttestation) (*PendingAttesta
return &PendingAttestation{
AggregationBits: hexutil.Encode(a.AggregationBits),
Data: nil,
Data: shared.AttestationDataFromConsensus(a.Data),
InclusionDelay: fmt.Sprintf("%d", a.InclusionDelay),
ProposerIndex: fmt.Sprintf("%d", a.ProposerIndex),
}, nil