Skip to content

Commit

Permalink
Adopt latest changes to request hash computation
Browse files Browse the repository at this point in the history
The `requestType` of empty lists is no longer part of the requests hash.

- ethereum/EIPs#8989
  • Loading branch information
etan-status committed Nov 21, 2024
1 parent d5acf8e commit 34faa72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_chain/spec/helpers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ func computeRequestsHash(

let requestsHash = computeDigest:
template mixInRequests(requestType, requestList): untyped =
block:
if requestList.len > 0:
let hash = computeDigest:
bind h
h.update([requestType.byte])
Expand Down

0 comments on commit 34faa72

Please sign in to comment.