don't log specific engine/builder block values

This commit is contained in:
Jenkins 2024-03-18 16:09:58 +02:00
parent 99fbf9d342
commit 0d23971dfd
1 changed files with 5 additions and 7 deletions

View File

@ -305,7 +305,7 @@ proc collectBids(
elif usePayloadBuilder: elif usePayloadBuilder:
notice "Payload builder error", notice "Payload builder error",
slot, head = shortLog(head), validator = shortLog(validator_pubkey), slot, head = shortLog(head), validator = shortLog(validator_pubkey),
err = payloadBuilderBidFut.value().error() err = ""
Opt.none(BuilderBid[SBBB]) Opt.none(BuilderBid[SBBB])
else: else:
# Effectively the same case, but without the log message # Effectively the same case, but without the log message
@ -323,7 +323,7 @@ proc collectBids(
else: else:
notice "Engine block building error", notice "Engine block building error",
slot, head = shortLog(head), validator = shortLog(validator_pubkey), slot, head = shortLog(head), validator = shortLog(validator_pubkey),
err = engineBlockFut.value.error() err = ""
Opt.none(EngineBid) Opt.none(EngineBid)
else: else:
notice "Engine block building failed", notice "Engine block building failed",
@ -375,13 +375,11 @@ proc proposeBlockAux(
info "Compared engine and builder block bids", info "Compared engine and builder block bids",
localBlockValueBoost, localBlockValueBoost,
useBuilderBlock, useBuilderBlock,
builderBlockValue = builderBlockValue = "",
toString(collectedBids.builderBid.value().blockValue, 10), engineBlockValue = ""
engineBlockValue =
toString(collectedBids.engineBid.value().blockValue, 10)
else: else:
info "Did not receive expected builder bid; using engine block", info "Did not receive expected builder bid; using engine block",
engineBlockValue = collectedBids.engineBid.value().blockValue engineBlockValue = ""
else: else:
# Similar three cases: builder bid expected and absent, builder bid # Similar three cases: builder bid expected and absent, builder bid
# expected and present, and builder bid not expected. However, only # expected and present, and builder bid not expected. However, only