diff --git a/chain/gen/genesis/genesis.go b/chain/gen/genesis/genesis.go index 80c49efa1..ac22b5b19 100644 --- a/chain/gen/genesis/genesis.go +++ b/chain/gen/genesis/genesis.go @@ -407,7 +407,7 @@ func VerifyPreSealedData(ctx context.Context, cs *store.ChainStore, stateroot ci var sum abi.PaddedPieceSize nwv := func(context.Context, abi.ChainEpoch) runtime.NetworkVersion { - return runtime.NetworkVersion0 + return runtime.NetworkVersion1 } vmopt := vm.VMOpts{ diff --git a/chain/gen/genesis/miners.go b/chain/gen/genesis/miners.go index 98fa3d72b..d8441c66c 100644 --- a/chain/gen/genesis/miners.go +++ b/chain/gen/genesis/miners.go @@ -62,7 +62,7 @@ func SetupStorageMiners(ctx context.Context, cs *store.ChainStore, sroot cid.Cid } nwv := func(context.Context, abi.ChainEpoch) runtime.NetworkVersion { - return runtime.NetworkVersion0 + return runtime.NetworkVersion1 } vmopt := &vm.VMOpts{ diff --git a/chain/stmgr/stmgr.go b/chain/stmgr/stmgr.go index 660d4c6a4..5679991ae 100644 --- a/chain/stmgr/stmgr.go +++ b/chain/stmgr/stmgr.go @@ -1125,7 +1125,11 @@ func (sm *StateManager) GetCirculatingSupply(ctx context.Context, height abi.Cha } func (sm *StateManager) GetNtwkVersion(ctx context.Context, height abi.ChainEpoch) runtime.NetworkVersion { - if build.UpgradeBreezeHeight == 0 || height <= build.UpgradeBreezeHeight { + if build.UpgradeBreezeHeight == 0 { + return runtime.NetworkVersion1 + } + + if height <= build.UpgradeBreezeHeight { return runtime.NetworkVersion0 }