Submit ptc votes that we produce to the ptc op pool (#9231)

We are not submitting ptc votes that we produce to our lcoal ptc op pool. So when we are the block producer we don't include our own ptc votes!


  


Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
This commit is contained in:
Eitan Seri-Levi
2026-04-30 08:43:14 +02:00
committed by GitHub
parent 8d77b1c08d
commit 728356ad03
2 changed files with 23 additions and 0 deletions

View File

@@ -629,6 +629,13 @@ fn publish_payload_attestation_messages<T: BeaconChainTypes>(
"Payload attestation invalid for fork choice"
);
}
if let Err(e) = chain.add_payload_attestation_to_pool(&verified) {
warn!(
reason = ?e,
"Failed to add payload attestation to pool"
);
}
}
Err(PayloadAttestationError::PriorPayloadAttestationMessageKnown { .. }) => {
num_already_known += 1;