migration

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0, MIT Imports: 20 Imported by: 0

README

We are not even at v9 yet, so there is no v10 migration yet; to be added later.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEAMActor

func CreateEAMActor(m *manifest.Manifest, head cid.Cid) (*builtin.ActorV5, error)

func MigrateStateTree

func MigrateStateTree(ctx context.Context, store cbor.IpldStore, newManifestCID cid.Cid, actorsRootIn cid.Cid, priorEpoch abi.ChainEpoch, cfg migration.Config, log migration.Logger, cache migration.MigrationCache) (cid.Cid, error)

MigrateStateTree Migrates the filecoin state tree starting from the global state tree and upgrading all actor state. The store must support concurrent writes (even if the configured worker count is 1).

Types

This section is empty.

Jump to

Keyboard shortcuts

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