Skip to content

Sever remaining v8 actors dependencies #8674

@arajasek

Description

@arajasek

Checklist

  • This is not a new feature or an enhancement to the Filecoin protocol. If it is, please open an FIP issue.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not brainstorming ideas. If you have an idea you'd like to discuss, please open a new discussion on the lotus forum and select the category as Ideas.
  • I have a specific, actionable, and well motivated improvement to propose.

Lotus component

  • lotus daemon - chain sync
  • lotus miner - mining and block production
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt)
  • lotus miner/market - storage deal
  • lotus miner/market - retrieval deal
  • lotus miner/market - data transfer
  • lotus client
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

Improvement Suggestion

Currently Lotus has almost entirely removed references to v8 specs-actors (see #8534). There is one unfortunate dependence on v8 specs-actors for ActorNameByCode, which is used when setting up the registry. This is only needed for being able to decode params and return types based on actor code id and method numbers.

We can either:

  • architect around the synthetic CIDs in the registry, so that we can avoid this entirely
  • keep the current workaround in place, but move the actors exports to go-state-types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3P3: Might get resolvedkind/enhancementKind: Enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions