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

sealing pipeline: Remove useless storage adapter code #9142

Merged
merged 4 commits into from
Aug 14, 2022

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Aug 9, 2022

Related Issues

Fixing this tech debt will make working on issues #9012 much easier.

Proposed Changes

Remove useless proxy code in storage/miner.go / storage/miner_sealing.go; Call the pipeline directly.

Additional Info

Checklist

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

  • All commits have a clear commit message.
  • The 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, INTERFACE BREAKING CHANGE, CONSENSUS BREAKING, build, chore, ci, docs,perf, refactor, revert, style, test
    • area: api, chain, state, vm, data transfer, market, mempool, message, block production, multisig, networking, paychan, proving, sealing, wallet, deps
  • This PR has tests for new functionality or change in behaviour
  • If new user-facing features are introduced, clear usage guidelines and / or documentation updates should be included in https://lotus.filecoin.io or Discussion Tutorials.
  • CI is green

@magik6k magik6k requested a review from a team as a code owner August 9, 2022 11:43
@magik6k magik6k force-pushed the chore/untangle-fsm branch 2 times, most recently from 581394a to a4a50fb Compare August 9, 2022 11:56
}

if !has {
return errors.New("key for worker not found in local wallet")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we use errors instead of xerrors here?

@magik6k magik6k force-pushed the chore/untangle-fsm branch from a4a50fb to 7720872 Compare August 14, 2022 16:50
@magik6k magik6k merged commit 2e29b46 into master Aug 14, 2022
@magik6k magik6k deleted the chore/untangle-fsm branch August 14, 2022 19:50
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.

2 participants