lotus/chain/vm
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
..
burn_test.go feat: Add additional test annotations (#8272) 2022-03-16 18:37:34 +01:00
burn.go disable gas burning for window post messages 2020-12-16 00:10:25 -05:00
cbor_gen.go Use new go-state-types accessors 2022-05-17 15:21:27 -04:00
fvm.go Revert "VM: Refactor pricelist to be based on network versions" 2022-05-30 15:25:33 -04:00
gas_v0_test.go feat: Add additional test annotations (#8272) 2022-03-16 18:37:34 +01:00
gas_v0.go Rename the Lotus VM to LegacyVM 2022-03-15 19:40:17 -04:00
gas.go Revert "VM: Refactor pricelist to be based on network versions" 2022-05-30 15:25:33 -04:00
invoker_test.go Merge pull request #8293 from filecoin-project/feat/fvm 2022-03-16 15:51:56 -04:00
invoker.go feat: refactor: actor bundling system (#8838) 2022-06-13 10:15:00 -07:00
mkactor.go Revert "VM: Refactor pricelist to be based on network versions" 2022-05-30 15:25:33 -04:00
runtime_test.go FVM: Support exectraces 2022-04-19 18:05:49 -04:00
runtime.go Drop actor meta shimming for testing 2022-06-08 13:41:30 -04:00
syscalls.go Use new go-state-types accessors 2022-05-17 15:21:27 -04:00
vm.go Revert "VM: Refactor pricelist to be based on network versions" 2022-05-30 15:25:33 -04:00
vmi.go feat: vm: drop nv14 support from the FVM 2022-05-23 09:50:54 -07:00