lotus/build
Steven Allen 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
..
actors feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
bootstrap Merge branch 'release/v1.15.3' into jen/mergev1153to16 2022-05-31 16:33:18 -04:00
genesis Merge pull request #8754 from filecoin-project/jen/backport 2022-05-30 13:22:59 -04:00
openrpc Implement function to migrate actors with only code changes 2022-06-10 15:52:32 -04:00
proof-params build: add empty sector update params 2022-02-08 10:41:18 -05:00
bootstrap.go use go:embed 2021-06-02 12:16:09 +02:00
builtin_actors_gen.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
builtin_actors_test.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
builtin_actors.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
clock.go first pass, ready for review 2020-08-03 12:20:04 -03:00
drand.go Drand: add cloudflare. Use HTTP for PL nodes. 2020-10-12 19:15:56 +02:00
flags.go provide an option to disable loading of built-in assets. 2020-06-22 19:42:04 +01:00
forks.go squash forks and use correct amt library everywhere 2020-02-04 18:26:42 -08:00
genesis.go use go:embed 2021-06-02 12:16:09 +02:00
isnearupgrade.go Add the missing file 2020-12-19 22:10:45 +01:00
limits.go alerting: Address review 2021-08-26 16:09:18 +02:00
openrpc_test.go feat: gateway: OpenRPC support 2022-05-27 17:03:56 +02:00
openrpc.go feat: gateway: OpenRPC support 2022-05-27 17:03:56 +02:00
panic_reporter.go fix: undo hasty changes 2021-09-28 11:30:35 -04:00
parameters.go build: Use go embed for srs-inner-product.json 2021-06-02 15:12:26 +02:00
params_2k.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
params_butterfly.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
params_calibnet.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
params_debug.go feat: expose ChainGetPath on the gateway 2021-08-30 16:43:21 -07:00
params_interop.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
params_mainnet.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
params_shared_funcs.go Override testnetnet to mainnet in indexer ingest topic 2022-02-11 19:52:19 +00:00
params_shared_vals.go Implement FIP-0031 2022-04-14 19:28:16 +03:00
params_testground.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
testing_flags.go sync tests passing, still no vm integration 2019-11-22 10:41:09 -06:00
tools.go feat: expose ChainGetPath on the gateway 2021-08-30 16:43:21 -07:00
version.go Merge branch 'feat/nv16' 2022-06-03 14:01:49 -04:00