From 1d8e4841800ef0c28a7e7d354bd147b0bda38a85 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 10 Oct 2024 23:45:36 +0200 Subject: [PATCH] core/types: add block accessor for requestsHash --- core/types/block.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/types/block.go b/core/types/block.go index 42f8c6fd04..f20fc7d778 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -402,7 +402,8 @@ func (b *Block) BaseFee() *big.Int { return new(big.Int).Set(b.header.BaseFee) } -func (b *Block) BeaconRoot() *common.Hash { return b.header.ParentBeaconRoot } +func (b *Block) BeaconRoot() *common.Hash { return b.header.ParentBeaconRoot } +func (b *Block) RequestsHash() *common.Hash { return b.header.RequestsHash } func (b *Block) ExcessBlobGas() *uint64 { var excessBlobGas *uint64