rename TODOs

This commit is contained in:
Mark Mackey
2025-10-23 09:59:06 -05:00
parent 76b0330b4c
commit ea95246f8b
3 changed files with 18 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ use types::{
Hash256, SignedExecutionPayloadEnvelope, Slot,
};
// TODO(gloas): don't use this redefinition..
// TODO(EIP-7732): don't use this redefinition..
macro_rules! envelope_verify {
($condition: expr, $result: expr) => {
if !$condition {
@@ -118,7 +118,7 @@ pub fn envelope_processing<E: EthSpec>(
) -> Result<(), EnvelopeProcessingError> {
if verify_signatures.is_true() {
// Verify Signed Envelope Signature
// TODO(gloas): there is probably a more efficient way to do this..
// TODO(EIP-7732): there is probably a more efficient way to do this..
if !signed_envelope.verify_signature_with_state(&state, spec)? {
return Err(EnvelopeProcessingError::BadSignature);
}

View File

@@ -95,7 +95,7 @@ impl<E: EthSpec> SignedExecutionPayloadEnvelope<E> {
///
/// The `parent_state` is the post-state of the beacon block with
/// block_root = self.message.beacon_block_root
/// todo(gloas): maybe delete this function later
/// TODO(EIP-7732): maybe delete this function later
pub fn verify_signature_with_state(
&self,
parent_state: &BeaconState<E>,