simplify DI -- no need for the special key for builtin actor loading
This commit is contained in:
parent
1f7c89d5d8
commit
93f1fac76b
@ -71,7 +71,6 @@ var (
|
|||||||
ConnGaterKey = special{12} // libp2p option
|
ConnGaterKey = special{12} // libp2p option
|
||||||
DAGStoreKey = special{13} // constructor returns multiple values
|
DAGStoreKey = special{13} // constructor returns multiple values
|
||||||
ResourceManagerKey = special{14} // Libp2p option
|
ResourceManagerKey = special{14} // Libp2p option
|
||||||
BuiltinActorsKey = special{15} // builtin actors bundle loading
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type invoke int
|
type invoke int
|
||||||
|
@ -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(BuiltinActorsKey, modules.LoadBultinActors),
|
Override(new(dtypes.BuiltinActorsLoaded), modules.LoadBultinActors),
|
||||||
|
|
||||||
// Consensus settings
|
// Consensus settings
|
||||||
Override(new(dtypes.DrandSchedule), modules.BuiltinDrandConfig),
|
Override(new(dtypes.DrandSchedule), modules.BuiltinDrandConfig),
|
||||||
|
Loading…
Reference in New Issue
Block a user