Merge pull request #8660 from filecoin-project/fix/issue-8659

[nv16] use network bundle names consistent with the network name
This commit is contained in:
vyzo
2022-05-17 22:13:02 +03:00
committed by GitHub
4 changed files with 19 additions and 10 deletions
+1 -4
View File
@@ -25,10 +25,7 @@ func LoadBuiltinActors(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRe
// We can't put it as a dep in inputs causes a stack overflow in DI from circular dependency
// So we pass it through ldflags instead
netw := build.NetworkBundle
if netw == "" {
netw = "mainnet"
}
netw := build.GetNetworkBundle()
for av, bd := range build.BuiltinActorReleases {
// first check to see if we know this release