Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logging around mineOne #6310

Merged
merged 5 commits into from
May 24, 2021
Merged

Fix logging around mineOne #6310

merged 5 commits into from
May 24, 2021

Conversation

ribasushi
Copy link
Collaborator

Addresses #6260

- A nil MiningBaseInfo is *NOT* unexpected: it happens when one is in penalty
  https://github.com/filecoin-project/lotus/blob/v1.9.0/chain/stmgr/utils.go#L500-L502

- Remove the log from IsRoundWinner(): all we care about is the randbase epoch
Copy link
Contributor

@magik6k magik6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linter complains

@jennijuju
Copy link
Member

jennijuju commented May 24, 2021

Thanks for the quick fix @ribasushi! We should get this in as soon as possible as it's confusing some people.

@jennijuju
Copy link
Member

This should get merged to master and also cherry-picked to the v1.10.0

@jennijuju jennijuju mentioned this pull request May 24, 2021
80 tasks
@jennijuju jennijuju linked an issue May 24, 2021 that may be closed by this pull request
@magik6k magik6k merged commit 216fa5c into master May 24, 2021
@magik6k magik6k deleted the chore/better_winning_log branch May 24, 2021 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Mining Issue] mineOne: unexpectedly nil MiningBaseInfo
3 participants