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
1 changed files with 5 additions and 1 deletions

View File

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