bundle

package
v1.39.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: Apache-2.0, MIT Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadBundle

func LoadBundle(ctx context.Context, bs blockstore.Blockstore, r io.Reader) (cid.Cid, error)

func LoadBundleFromFile

func LoadBundleFromFile(ctx context.Context, bs blockstore.Blockstore, path string) (cid.Cid, error)

func LoadBundles

func LoadBundles(ctx context.Context, bs blockstore.Blockstore, versions ...actorstypes.Version) error

LoadBundles loads the bundles for the specified actor versions into the passed blockstore, if and only if the bundle's manifest is not already present in the blockstore.

func LoadGenesisBundle added in v1.37.0

func LoadGenesisBundle(ctx context.Context, bs blockstore.Blockstore, genesis *types.BlockHeader) error

LoadGenesisBundle loads the bundle for the actors version the genesis state is based on, if that's a wasm bundle version (v8 or later). Legacy genesis states (v0 to v7, identity-hashed code CIDs) and code CIDs unknown to this build are left alone.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL