Log value of local payload when proposing (#13381)

This commit is contained in:
Potuz 2023-12-27 11:43:32 -03:00 committed by GitHub
parent e80db9554d
commit 0e8b37c317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,6 +173,10 @@ func (vs *Server) getLocalPayload(ctx context.Context, blk interfaces.ReadOnlyBe
}
bundleCache.add(slot, bundle)
warnIfFeeRecipientDiffers(payload, val.FeeRecipient)
localValueGwei, err := payload.ValueInGwei()
if err == nil {
log.WithField("value", localValueGwei).Debug("received execution payload from local engine")
}
return payload, overrideBuilder, nil
}