Proposer: log graffiti (#6954)

* Proposer: log graffiti
* Merge refs/heads/master into log-graffiti
This commit is contained in:
terence tsao 2020-08-10 12:17:59 -07:00 committed by GitHub
parent cbc27e0f2e
commit ceb11f432e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,6 +107,7 @@ func (v *validator) ProposeBlock(ctx context.Context, slot uint64, pubKey [48]by
"blockRoot": blkRoot, "blockRoot": blkRoot,
"numAttestations": len(b.Body.Attestations), "numAttestations": len(b.Body.Attestations),
"numDeposits": len(b.Body.Deposits), "numDeposits": len(b.Body.Deposits),
"graffiti": string(b.Body.Graffiti),
}).Info("Submitted new block") }).Info("Submitted new block")
if v.emitAccountMetrics { if v.emitAccountMetrics {