adding PayloadAttestationMessage to RejectedPayloadAttestation

This commit is contained in:
hopinheimer
2026-04-18 01:13:00 -04:00
parent e0b9802569
commit ec111259c1
3 changed files with 15 additions and 12 deletions

View File

@@ -218,6 +218,8 @@ impl<E: EthSpec> VerifiedPayloadAttestationMessage<E> {
payload_attestation_message: PayloadAttestationMessage,
chain: &BeaconChain<T>,
) -> Result<Self, Error> {
// TODO(manas): i think we can have a shuffling cache. but this an interim solution
// can be discussed.
let head_snapshot = chain.head_snapshot();
let head_state = &head_snapshot.beacon_state;