This commit is contained in:
vyzo 2022-05-12 09:47:27 +03:00
parent de9ee7b334
commit da8bda3248
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ var ChainNode = Options(
// right manifest cid. // right manifest cid.
// This restriction will be lifted once we have the final actors v8 bundle and we know // This restriction will be lifted once we have the final actors v8 bundle and we know
// the manifest cid. // the manifest cid.
Override(new(dtypes.BuiltinActorsLoaded), modules.LoadBultinActors), Override(new(dtypes.BuiltinActorsLoaded), modules.LoadBuiltinActors),
// Consensus settings // Consensus settings
Override(new(dtypes.DrandSchedule), modules.BuiltinDrandConfig), Override(new(dtypes.DrandSchedule), modules.BuiltinDrandConfig),

View File

@ -53,7 +53,7 @@ var MinerNode = Options(
Override(new(*storage.AddressSelector), modules.AddressSelector(nil)), Override(new(*storage.AddressSelector), modules.AddressSelector(nil)),
// builtin actors manifest // builtin actors manifest
Override(new(dtypes.BuiltinActorsLoaded), modules.LoadBultinActors), Override(new(dtypes.BuiltinActorsLoaded), modules.LoadBuiltinActors),
Override(new(dtypes.UniversalBlockstore), modules.MemoryBlockstore), Override(new(dtypes.UniversalBlockstore), modules.MemoryBlockstore),
) )

View File

@ -19,7 +19,7 @@ import (
cbor "github.com/ipfs/go-ipld-cbor" cbor "github.com/ipfs/go-ipld-cbor"
) )
func LoadBultinActors(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo, bs dtypes.UniversalBlockstore, ds dtypes.MetadataDS) (result dtypes.BuiltinActorsLoaded, err error) { func LoadBuiltinActors(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo, bs dtypes.UniversalBlockstore, ds dtypes.MetadataDS) (result dtypes.BuiltinActorsLoaded, err error) {
ctx := helpers.LifecycleCtx(mctx, lc) ctx := helpers.LifecycleCtx(mctx, lc)
// TODO how to properly get the network name? // TODO how to properly get the network name?