mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
Some more TODOs
This commit is contained in:
@@ -44,6 +44,8 @@ impl<T: BeaconChainTypes> IntoExecutionPendingEnvelope<T> for GossipVerifiedEnve
|
||||
let envelope = &signed_envelope.message;
|
||||
let payload = &envelope.payload;
|
||||
|
||||
// TODO(gloas)
|
||||
|
||||
// Verify the execution payload is valid
|
||||
let payload_notifier = PayloadNotifier::new(
|
||||
chain.clone(),
|
||||
|
||||
@@ -29,6 +29,7 @@ impl<T: BeaconChainTypes> PayloadNotifier<T> {
|
||||
let payload_verification_status = {
|
||||
let payload_message = &envelope.message;
|
||||
|
||||
// TODO(gloas) re-asses if optimistic syncing works similarly post-gloas
|
||||
match notify_execution_layer {
|
||||
NotifyExecutionLayer::No if chain.config.optimistic_finalized_sync => {
|
||||
let new_payload_request = Self::build_new_payload_request(&envelope, &block)?;
|
||||
|
||||
@@ -3272,7 +3272,8 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
|
||||
Span::current().record("beacon_block_root", beacon_block_root.to_string());
|
||||
|
||||
// TODO(gloas) in process_gossip_block here we check_and_insert on the duplicate cache
|
||||
// before calling gossip_verified_block
|
||||
// before calling gossip_verified_block. We need this to ensure we dont try to execute the
|
||||
// payload multiple times.
|
||||
|
||||
self.process_gossip_verified_execution_payload_envelope(
|
||||
peer_id,
|
||||
|
||||
Reference in New Issue
Block a user