Merge pull request #8722 from filecoin-project/fix/nv16-testing-bundle
[nv16] don't clobber test bundles during migration
This commit is contained in:
commit
3e2df74e8b
@ -16,7 +16,8 @@ import (
|
||||
|
||||
const BootstrappersFile = ""
|
||||
const GenesisFile = ""
|
||||
const NetworkBundle = "devnet"
|
||||
|
||||
var NetworkBundle = "devnet"
|
||||
|
||||
const GenesisNetworkVersion = network.Version15
|
||||
|
||||
|
@ -18,7 +18,8 @@ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
|
||||
|
||||
const GenesisNetworkVersion = network.Version14
|
||||
|
||||
const NetworkBundle = "butterflynet"
|
||||
var NetworkBundle = "butterflynet"
|
||||
|
||||
const BootstrappersFile = "butterflynet.pi"
|
||||
const GenesisFile = "butterflynet.car"
|
||||
|
||||
|
@ -18,7 +18,8 @@ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
|
||||
|
||||
const GenesisNetworkVersion = network.Version0
|
||||
|
||||
const NetworkBundle = "calibrationnet"
|
||||
var NetworkBundle = "calibrationnet"
|
||||
|
||||
const BootstrappersFile = "calibnet.pi"
|
||||
const GenesisFile = "calibnet.car"
|
||||
|
||||
|
@ -15,7 +15,8 @@ import (
|
||||
"github.com/ipfs/go-cid"
|
||||
)
|
||||
|
||||
const NetworkBundle = "caterpillarnet"
|
||||
var NetworkBundle = "caterpillarnet"
|
||||
|
||||
const BootstrappersFile = "interopnet.pi"
|
||||
const GenesisFile = "interopnet.car"
|
||||
|
||||
|
@ -19,7 +19,8 @@ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
|
||||
UpgradeSmokeHeight: DrandMainnet,
|
||||
}
|
||||
|
||||
const NetworkBundle = "mainnet"
|
||||
var NetworkBundle = "mainnet"
|
||||
|
||||
const GenesisNetworkVersion = network.Version0
|
||||
|
||||
const BootstrappersFile = "mainnet.pi"
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user