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 bug in miner extend sector expiration #989

Merged
merged 3 commits into from
Feb 5, 2021
Merged

Conversation

austinabell
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • related to v7 upgrade, I misread the go logic and didn't realize there was an implicit inserting of a default. Logic copied here:
					prevEpochPartitions, ok := partitionsByNewEpoch[decl.NewExpiration]
					partitionsByNewEpoch[decl.NewExpiration] = append(prevEpochPartitions, decl.Partition)
					if !ok {
						epochsToReschedule = append(epochsToReschedule, decl.NewExpiration)
					}

Also the updating of sectors and deadlines was not updated, and I'm not sure how this wasn't hit before.

Reference issue to close (if applicable)

Closes

Other information and links

@austinabell austinabell merged commit 11d059a into main Feb 5, 2021
@austinabell austinabell deleted the austin/minerfix branch February 5, 2021 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants