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: lp: support multiple SP IDs #11592

Merged
merged 5 commits into from
Feb 15, 2024
Merged

feat: lp: support multiple SP IDs #11592

merged 5 commits into from
Feb 15, 2024

Conversation

snadrus
Copy link
Collaborator

@snadrus snadrus commented Jan 23, 2024

Related Issues

Multi-Address support in Lotus-Provider will now offer different wallets per group of Miner IDs by expressing the same Address block as an array. A fallback singleton is provided as a migration path.

Proposed Changes

Additional Info

The issue for Multi-MinerID in Provider will be resolved

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
  • If the PR affects users (e.g., new feature, bug fix, system requirements change), update the CHANGELOG.md and add details to the UNRELEASED section.
  • New features have usage guidelines and / or documentation updates in
  • Tests exist for new functionality or change in behavior
  • CI is green

@snadrus snadrus requested a review from magik6k January 23, 2024 04:55
@snadrus snadrus requested a review from a team as a code owner January 23, 2024 04:55
@Stebalien
Copy link
Member

I'm not sure if I have enough context to actually review this. There's nothing obviously wrong with the code.

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.

Looks good, some small things to address.

Would be nice to do some manual testing with this if not done already

cmd/lotus-provider/deps/deps.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
"github.com/filecoin-project/lotus/chain/types"
)

type MultiAddressSelector struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is lotus-provider only right? In that case I'd move it to provider/[address.go]

@magik6k magik6k changed the title feat: multiaddr lp feat: lp: support multiple SP IDs Feb 15, 2024
@magik6k magik6k merged commit acdc198 into master Feb 15, 2024
88 checks passed
@magik6k magik6k deleted the snadrus/multiaddr branch February 15, 2024 17:01
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.

3 participants