load actor bundle at startup and initialize the manifest CID from the loaded file

This commit is contained in:
vyzo
2022-04-14 19:29:22 +03:00
parent c3fb3301ab
commit f26d19ed7d
5 changed files with 58 additions and 4 deletions
+7
View File
@@ -48,6 +48,13 @@ var ChainNode = Options(
// Full node or lite node
// TODO: Fix offline mode
// FVM: builtin actor bundle loading
// Note: this has to load before the upgrade schedule, so that we can patch in the
// right manifest cid.
// This restriction will be lifted once we have the final actors v8 bundle and we know
// the manifest cid.
Override(BuiltinActorsKey, modules.LoadBultinActors),
// Consensus settings
Override(new(dtypes.DrandSchedule), modules.BuiltinDrandConfig),
Override(new(stmgr.UpgradeSchedule), filcns.DefaultUpgradeSchedule()),