beacon/engine: remove RequestsHash in EPE

This commit is contained in:
Felix Lange 2024-10-09 12:15:50 +02:00
parent 92dc664cf2
commit b67f40b625

View file

@ -112,16 +112,6 @@ type ExecutionPayloadEnvelope struct {
Witness *hexutil.Bytes `json:"witness"` 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 { type BlobsBundleV1 struct {
Commitments []hexutil.Bytes `json:"commitments"` Commitments []hexutil.Bytes `json:"commitments"`
Proofs []hexutil.Bytes `json:"proofs"` Proofs []hexutil.Bytes `json:"proofs"`