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

chore: backport: 8838 & 8769 #8847

Merged
merged 2 commits into from
Jun 13, 2022
Merged

chore: backport: 8838 & 8769 #8847

merged 2 commits into from
Jun 13, 2022

Commits on Jun 13, 2022

  1. only enable rcmgr by default in full nodes

    opt-in with envvar for other nodes, as there are still some issues
    with markets related protocols
    vyzo authored and jennijuju committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    d4d5ce3 View commit details
    Browse the repository at this point in the history
  2. feat: refactor: actor bundling system (#8838)

    1. Include the builtin-actors in the lotus source tree.
    2. Embed the bundle on build instead of downloading at runtime.
    3. Avoid reading the bundle whenever possible by including bundle
       metadata (the bundle CID, the actor CIDs, etc.).
    4. Remove everything related to dependency injection.
        1. We're no longer downloading the bundle, so doing anything ahead
           of time doesn't really help.
        2. We register the manifests on init because, unfortunately, they're
           global.
        3. We explicitly load the current actors bundle in the genesis
           state-tree method.
        4. For testing, we just change the in-use bundle with a bit of a
           hack. It's not great, but using dependency injection doesn't make
           any sense either because, again, the manifest information is
           global.
        5. Remove the bundle.toml file. Bundles may be overridden by
           specifying an override path in the parameters file, or an
           environment variable.
    
    fixes #8701
    Stebalien committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    ddc9425 View commit details
    Browse the repository at this point in the history