lotus/build/actors
Steven Allen 89499bfd40 fvm: chore: update FVM
This:

1. Updates the builtin actors bundle (for actors v10).
2. Updates the event entry type to include the codec.
3. Removes the cbor encoding and zero trimming from event data.

I've chose to:

1. _Not_ add codec handling to the event filtering system for now.
2. _Skip_ events with unexpected codecs.

We don't actually _allow_ these events in the FVM right now, and it
simplifies the implementation.

However, I _am_ recording the codecs in the database so we don't have to
migrate it later.
2023-02-07 18:15:40 -08:00
..
pack.sh add bundle git tag from pack.sh into builtin_actors_gen 2023-02-07 02:23:23 +00:00
README.md feat: support overriding actor versions per-network 2022-06-22 10:47:04 -07:00
v8.tar.zst add bundle dev/20230114-pre-rc.2 2023-01-14 01:41:46 -05:00
v9.tar.zst add bundle dev/20230114-pre-rc.2 2023-01-14 01:41:46 -05:00
v10.tar.zst fvm: chore: update FVM 2023-02-07 18:15:40 -08:00

Bundles

This directory includes the actors bundles for each release. Each actor bundle is a zstd compressed tarfile containing one bundle per network type. These tarfiles are subsequently embedded in the lotus binary.

Updating

To update, run the ./pack.sh script. For example, the following will pack the builtin actors release dev/20220602 into the v8 tarfile.

./pack.sh v8 dev/20220602

This will:

  1. Download the actors bundles and pack them into the appropriate tarfile ($VERSION.tar.zst).
  2. Run make bundle-gen in the top-level directory to regenerate the bundle metadata file for all network versions (all *.tar.zst files in this directory).

Overriding

To build a bundle, but specify a different release/tag for a specific network, append $network=$alternative_release on the command line. For example:

./pack.sh v8 dev/20220602 mainnet=v8.0.0 calibrationnet=v8.0.0-rc.1