diff --git a/api/v1/electra/blindedbeaconblockbody_json.go b/api/v1/electra/blindedbeaconblockbody_json.go index 2e88f071..cabf568d 100644 --- a/api/v1/electra/blindedbeaconblockbody_json.go +++ b/api/v1/electra/blindedbeaconblockbody_json.go @@ -189,6 +189,10 @@ func (b *BlindedBeaconBlockBody) unpack(data *blindedBeaconBlockBodyJSON) error } copy(b.BlobKZGCommitments[i][:], data) } + if data.ExecutionRequests == nil { + return errors.New("execution requests missing") + } + b.ExecutionRequests = data.ExecutionRequests return nil }