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

Conversation

jennijuju
Copy link
Member

opt-in with envvar for other nodes, as there are still some issues
with markets related protocols

Related Issues

Proposed Changes

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

vyzo and others added 2 commits June 13, 2022 12:16
opt-in with envvar for other nodes, as there are still some issues
with markets related protocols
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
@jennijuju jennijuju changed the title chore: backport: rcmgr opt-in on non full node chore: backport: 8838 & 8769 Jun 13, 2022
@jennijuju jennijuju marked this pull request as ready for review June 13, 2022 21:28
@jennijuju jennijuju requested a review from a team as a code owner June 13, 2022 21:28
@arajasek arajasek merged commit 1d821ed into release/v1.16.0 Jun 13, 2022
@arajasek arajasek deleted the jen/v16prep branch June 13, 2022 23:06
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.

4 participants