13 Commits

Author SHA1 Message Date
673c3ffd13 chore: types: buildconstants split post-cleanup (#12245)
* chore: s/CidMustParse/cid.MustParse/g
* chore: fix sloppy init duplication
* chore: move the policy init() to the core namespace
* chore: remove unused proxies for policy.DealDurationBounds
2024-07-16 19:08:40 +10:00
452d1bfa41 chore: actors: pull in the latest v14 bundles 2024-06-25 12:05:18 +04:00
26d3fd2ecc chore: lint: fix lint errors with new linting config
Ref: https://github.com/filecoin-project/lotus/issues/11967
2024-05-13 14:52:09 +10:00
f41435d285 feat: bundle: only write git tags for newly packed bundles 2023-02-17 14:17:30 -05:00
4dedced175 lintfix 2023-02-17 11:52:40 -07:00
dbcf30470f clean up comment remove print 2023-02-17 11:16:40 -07:00
0f6cbf1be2 include the version that pack is running on for filtering the build gen metadata 2023-02-16 14:01:45 -07:00
ea03e1b6e7 only override the correct version for bundle gen 2023-02-16 13:10:25 -07:00
16b7d4525f lintfix 2023-02-16 10:40:16 -07:00
3e678f2abc support network name overrides in pack to build releases 2023-02-16 10:33:47 -07:00
83bce7c94f disable adding git tags to bundle metadata 2023-02-10 17:58:57 -05:00
ea82f554be add bundle git tag from pack.sh into builtin_actors_gen 2023-02-07 02:23:23 +00:00
30981d0fdd 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
2022-06-13 10:15:00 -07:00