internal/ethapi: add balHash to block results (#34652)

This commit is contained in:
cui 2026-05-12 20:49:33 +08:00 committed by GitHub
parent 726d657a4a
commit 91f8e7cd9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -996,6 +996,9 @@ func RPCMarshalHeader(head *types.Header) map[string]interface{} {
if head.RequestsHash != nil {
result["requestsHash"] = head.RequestsHash
}
if head.BlockAccessListHash != nil {
result["balHash"] = head.BlockAccessListHash
}
if head.SlotNumber != nil {
result["slotNumber"] = hexutil.Uint64(*head.SlotNumber)
}