Log more ComputeVRF() inputs as per Why's request

This commit is contained in:
Peter Rabbitson 2021-05-05 20:39:16 +02:00
parent 14f6d170b2
commit 3b0fc01e82

View File

@ -636,7 +636,10 @@ func IsRoundWinner(ctx context.Context, ts *types.TipSet, round abi.ChainEpoch,
ep.WinCount = j
log.Infow("completed winAttemptVRF",
"VRFb64", b64.EncodeToString(vrfout),
"beaconRound", brand.Round,
"beaconDataB64", b64.EncodeToString(brand.Data),
"electionRandB64", b64.EncodeToString(electionRand),
"vrfB64", b64.EncodeToString(vrfout),
"winCount", j,
)