mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
beacon/engine: remove RequestsHash in EPE
This commit is contained in:
parent
92dc664cf2
commit
b67f40b625
1 changed files with 0 additions and 10 deletions
|
|
@ -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"`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue