mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Validator: Add trace span information for AttestationRecord save requests (#11742)
* Add additional span information when saving attestation records * Remove keymanager.sign span. It's very noisy and not a helpful data point. Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -200,9 +200,6 @@ func (km *Keymanager) FetchValidatingPrivateKeys(ctx context.Context) ([][32]byt
|
||||
|
||||
// Sign signs a message using a validator key.
|
||||
func (_ *Keymanager) Sign(ctx context.Context, req *validatorpb.SignRequest) (bls.Signature, error) {
|
||||
ctx, span := trace.StartSpan(ctx, "keymanager.Sign")
|
||||
defer span.End()
|
||||
|
||||
publicKey := req.PublicKey
|
||||
if publicKey == nil {
|
||||
return nil, errors.New("nil public key in request")
|
||||
|
||||
Reference in New Issue
Block a user