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

feat: Check for allocation expiry when waiting to seal sectors #9878

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

geoff-vball
Copy link
Contributor

Related Issues

Closes #9368

Proposed Changes

Checks for allocation expirations to make sure we don't wait too long before sealing. This is slightly tricky because allocations are allowed to expire, the miner will just not get the increased power for the verified deal.

Additional Info

This could use some testing.

Checklist

Before you mark the PR ready for review, please make sure that:

  • Commits have a clear commit message.
  • PR title is in the form of of <PR type>: <area>: <change being made>
    • example: fix: mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, test
    • area, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps
  • New features have usage guidelines and / or documentation updates in
  • Tests exist for new functionality or change in behavior
  • CI is green

@geoff-vball geoff-vball requested a review from a team as a code owner December 15, 2022 01:30
@geoff-vball geoff-vball force-pushed the gstuart/check-allocation-expiry branch 3 times, most recently from 035c6a6 to 2b60448 Compare December 15, 2022 03:20
@geoff-vball
Copy link
Contributor Author

@geoff-vball geoff-vball marked this pull request as draft December 15, 2022 05:58
@magik6k
Copy link
Contributor

magik6k commented Jan 4, 2023

Will need rebase after #9941 is merged

@geoff-vball geoff-vball force-pushed the gstuart/check-allocation-expiry branch 4 times, most recently from 17153ea to 510dfef Compare January 11, 2023 21:23
@geoff-vball geoff-vball force-pushed the gstuart/check-allocation-expiry branch from 510dfef to 12a06de Compare January 11, 2023 21:24
@geoff-vball geoff-vball marked this pull request as ready for review January 11, 2023 21:25
@geoff-vball
Copy link
Contributor Author

@magik6k I've fixed the test that was failing here and it's ready for another look.

@magik6k magik6k merged commit a0771b1 into master Jan 27, 2023
@magik6k magik6k deleted the gstuart/check-allocation-expiry branch January 27, 2023 12:05
@jennijuju jennijuju added this to the Network v18 milestone Feb 4, 2023
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.

update dealSafeSealEpoch to check again allocation expiration as well
3 participants