mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
add slot to Proposed new beacon block (#2302)
This commit is contained in:
parent
cc730d17af
commit
a1e4199e3a
@ -139,9 +139,10 @@ func (v *validator) ProposeBlock(ctx context.Context, slot uint64, idx string) {
|
||||
trace.Int64Attribute("numAttestations", int64(len(block.Body.Attestations))),
|
||||
)
|
||||
log.WithFields(logrus.Fields{
|
||||
"slot": block.Slot - params.BeaconConfig().GenesisSlot,
|
||||
"blockRoot": fmt.Sprintf("%#x", blkResp.BlockRootHash32),
|
||||
"validator": truncatedPk,
|
||||
"numAttestations": len(block.Body.Attestations),
|
||||
"numDeposits": len(block.Body.Deposits),
|
||||
"validator": truncatedPk,
|
||||
}).Info("Proposed new beacon block")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user