consensus/clique: reject block access list hash in clique header signing

This commit is contained in:
Weixie Cui 2026-04-11 02:48:45 +08:00
parent deda47f6a1
commit cc1078dda6

View file

@ -697,6 +697,9 @@ func encodeSigHeader(w io.Writer, header *types.Header) {
if header.ParentBeaconRoot != nil {
panic("unexpected parent beacon root value in clique")
}
if header.BlockAccessListHash != nil {
panic("unexpected block access list hash value in clique")
}
if header.SlotNumber != nil {
panic("unexpected slot number value in clique")
}