From b67f40b62586369206d0f916f54ab4e7673bf0c6 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 9 Oct 2024 12:15:50 +0200 Subject: [PATCH] beacon/engine: remove RequestsHash in EPE --- beacon/engine/types.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/beacon/engine/types.go b/beacon/engine/types.go index cc8ac7ba31..31f5e6fc2a 100644 --- a/beacon/engine/types.go +++ b/beacon/engine/types.go @@ -112,16 +112,6 @@ type ExecutionPayloadEnvelope struct { Witness *hexutil.Bytes `json:"witness"` } -// RequestsHash computes the hash of the requests contained in the envelope or -// returns nil if the list of requests is also nil. -func (e *ExecutionPayloadEnvelope) RequestsHash() *common.Hash { - if e.Requests != nil { - h := types.CalcRequestsHash(e.Requests) - return &h - } - return nil -} - type BlobsBundleV1 struct { Commitments []hexutil.Bytes `json:"commitments"` Proofs []hexutil.Bytes `json:"proofs"`