@@ -157,7 +157,7 @@ fn load_snapshot<T: BeaconChainTypes>(
157157 } ;
158158 drop ( fork_choice_read_lock) ;
159159
160- // TODO(gloas ): add metrics here
160+ // TODO(EIP-7732 ): add metrics here
161161
162162 let result = {
163163 // Load the parent block's state from the database, returning an error if it is not found.
@@ -167,9 +167,9 @@ fn load_snapshot<T: BeaconChainTypes>(
167167 // prior to the finalized slot (which is invalid and inaccessible in our DB schema).
168168 let ( parent_state_root, state) = chain
169169 . store
170- // TODO(gloas ): the state doesn't need to be advanced here because we're applying an envelope
171- // but this function does use a lot of caches that could be more efficient. Is there
172- // a better way to do this?
170+ // TODO(EIP-7732 ): the state doesn't need to be advanced here because we're applying an envelope
171+ // but this function does use a lot of caches that could be more efficient. Is there
172+ // a better way to do this?
173173 . get_advanced_hot_state (
174174 beacon_block_root,
175175 proto_beacon_block. slot ,
@@ -225,7 +225,7 @@ impl<T: BeaconChainTypes> GossipVerifiedEnvelope<T> {
225225 let beacon_block_root = envelope. beacon_block_root ( ) ;
226226
227227 // check that we've seen the parent block of this envelope and that it passes validation
228- // TODO(gloas ): this check would fail if the block didn't pass validation right?
228+ // TODO(EIP-7732 ): this check would fail if the block didn't pass validation right?
229229 let fork_choice_read_lock = chain. canonical_head . fork_choice_read_lock ( ) ;
230230 let Some ( parent_proto_block) = fork_choice_read_lock. get_block ( & beacon_block_root) else {
231231 return Err ( EnvelopeError :: BlockRootUnknown {
@@ -234,12 +234,12 @@ impl<T: BeaconChainTypes> GossipVerifiedEnvelope<T> {
234234 } ;
235235 drop ( fork_choice_read_lock) ;
236236
237- // TODO(gloas ): check that we haven't seen another valid `SignedExecutionPayloadEnvelope`
238- // for this block root from this builder - envelope status table check
237+ // TODO(EIP-7732 ): check that we haven't seen another valid `SignedExecutionPayloadEnvelope`
238+ // for this block root from this builder - envelope status table check
239239
240- // TODO(gloas ): this should probably be obtained from the ProtoBlock instead of the DB
241- // but this means the ProtoBlock needs to include something like the ExecutionBid
242- // will need to answer this question later.
240+ // TODO(EIP-7732 ): this should probably be obtained from the ProtoBlock instead of the DB
241+ // but this means the ProtoBlock needs to include something like the ExecutionBid
242+ // will need to answer this question later.
243243 let parent_block = chain
244244 . get_full_block ( & beacon_block_root) ?
245245 . ok_or_else ( || {
@@ -252,7 +252,7 @@ impl<T: BeaconChainTypes> GossipVerifiedEnvelope<T> {
252252 . signed_execution_payload_bid ( ) ?
253253 . message ;
254254
255- // TODO(gloas ): Gossip rules for the beacon block contain the following:
255+ // TODO(EIP-7732 ): Gossip rules for the beacon block contain the following:
256256 // https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md#beacon_block
257257 // [IGNORE] The block is not from a future slot (with a MAXIMUM_GOSSIP_CLOCK_DISPARITY allowance)
258258 // [IGNORE] The block is from a slot greater than the latest finalized slot
@@ -282,9 +282,9 @@ impl<T: BeaconChainTypes> GossipVerifiedEnvelope<T> {
282282 } ) ;
283283 }
284284
285- // TODO(gloas ): check these assumptions.. exactly what the most efficient way to verify the signatures
286- // in this case isn't clear. There are questions about the proposer cache, the pubkey cache,
287- // and so on.
285+ // TODO(EIP-7732 ): check these assumptions.. exactly what the most efficient way to verify the signatures
286+ // in this case isn't clear. There are questions about the proposer cache, the pubkey cache,
287+ // and so on.
288288
289289 // get the fork from the cache so we can verify the signature
290290 let block_slot = envelope. slot ( ) ;
@@ -442,7 +442,7 @@ impl<T: BeaconChainTypes> IntoExecutionPendingEnvelope<T>
442442 chain : & Arc < BeaconChain < T > > ,
443443 notify_execution_layer : NotifyExecutionLayer ,
444444 ) -> Result < ExecutionPendingEnvelope < T > , EnvelopeError > {
445- // TODO(gloas ): figure out how this should be refactored..
445+ // TODO(EIP-7732 ): figure out how this should be refactored..
446446 GossipVerifiedEnvelope :: new ( self , chain) ?
447447 . into_execution_pending_envelope ( chain, notify_execution_layer)
448448 }
0 commit comments