diff --git a/beacon_chain/validators/beacon_validators.nim b/beacon_chain/validators/beacon_validators.nim index 7face4f0d..c4ddbaa9d 100644 --- a/beacon_chain/validators/beacon_validators.nim +++ b/beacon_chain/validators/beacon_validators.nim @@ -665,6 +665,12 @@ proc constructSignableBlindedBlock[T: deneb_mev.SignedBlindedBeaconBlockContents assign(blindedBlock.message.body.blob_kzg_commitments, bbb.commitments) + info "FOO8", + htr_ePHC = + hash_tree_root(executionPayloadHeaderContents.execution_payload_header), + htr_bbEPH = + hash_tree_root(blindedBlock.message.body.execution_payload_header) + let blockRoot = hash_tree_root(blindedBlock.message) if blindedBlockContents.signed_blinded_blob_sidecars.setLen(bbb.proofs.len): @@ -756,6 +762,11 @@ proc blindedBlockCheckSlashingAndSign[ .slashingProtection .registerBlock(validator_index, validator.pubkey, slot, signingRoot) + info "Signing blinded Deneb block", + blockRoot = shortLog(blockRoot), blckShort = shortLog(nonsignedBlindedBlock), + signingRoot = shortLog(signingRoot), validator = validator.pubkey, + slot, validator_index, genesis_validators_root, fork + if notSlashable.isErr: warn "Slashing protection activated for MEV block", blockRoot = shortLog(blockRoot), blck = shortLog(nonsignedBlindedBlock), @@ -856,7 +867,7 @@ proc getBlindedBlockParts[ shimExecutionPayload.executionPayload, executionPayloadHeader.get.blindedBlckPart, getFieldNames(EPH)) elif EPH is deneb_mev.ExecutionPayloadHeaderAndBlindedBlobsBundle: - type PayloadType = deneb.ExecutionPayloadForSigning + type PayloadType = deneb.ExecutionPayloadForSigning # has blob, etc, which builder api codepath ignores? template actualEPH: untyped = executionPayloadHeader.get.blindedBlckPart.execution_payload_header let