Skip to content

wdPost sectorsForProof shouldn't load the whose sset #674

@magik6k

Description

@magik6k

Checklist

  • This is not a question or a support request. If you have any Curio related questions, please ask in the discussion forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • I have searched on the issue tracker and the discussion forum, and there is no existing related issue or discussion.
  • I am running the Latest release, or the most recent RC(release candidate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.

Curio component

  • PoRep Pipeline
  • Snap Deals
  • Market
  • IPNI provider
  • Curio UI
  • Other

Improvement Suggestion

sset, err := t.api.StateMinerSectors(ctx, maddr, &goodSectors, ts.Key())

This should only touch relevant sector infos, pretty dumb to load the entire sset there.

Probably we want to still rely on chain APIs around PoSt, this means that code gets to work even if curio is left not updated - i.e. not using lotus state accessors from lotus/chain/actors/builtin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions