don't clobber test bundles during migration

This commit is contained in:
vyzo
2022-05-25 19:16:11 +03:00
parent 8323ff77b6
commit bb0e3a6cb0
6 changed files with 13 additions and 5 deletions
+3
View File
@@ -136,6 +136,9 @@ func LoadBuiltinActorsTesting(lc fx.Lifecycle, mctx helpers.MetricsCtx, bs dtype
testingBundleMx.Lock()
defer testingBundleMx.Unlock()
// don't clobber the bundle during migration
build.NetworkBundle = netw
const basePath = "/tmp/lotus-testing"
for av, bd := range build.BuiltinActorReleases {
switch {