don't verify BLS signatures in produced blocks (#4184)

This commit is contained in:
tersec 2022-09-27 14:19:53 +00:00 committed by GitHub
parent 3c1caab107
commit df03d81e3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -532,7 +532,11 @@ proc makeBeaconBlockForHeadAndSlot*(
effectiveExecutionPayload, effectiveExecutionPayload,
noRollback, # Temporary state - no need for rollback noRollback, # Temporary state - no need for rollback
cache, cache,
verificationFlags = if skip_randao_verification_bool: {skipRandaoVerification} else: {}, verificationFlags =
if skip_randao_verification_bool:
{skipBlsValidation, skipRandaoVerification}
else:
{skipBlsValidation},
transactions_root = transactions_root =
if transactions_root.isSome: if transactions_root.isSome:
Opt.some transactions_root.get Opt.some transactions_root.get