diff --git a/chain/gen/genesis/genesis.go b/chain/gen/genesis/genesis.go index 3035d3a11..0a9d58924 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) network.Version { - return network.Version1 + return build.NewestNetworkVersion } vmopt := vm.VMOpts{ diff --git a/chain/gen/genesis/miners.go b/chain/gen/genesis/miners.go index 4a352b7b7..b57608a5f 100644 --- a/chain/gen/genesis/miners.go +++ b/chain/gen/genesis/miners.go @@ -6,6 +6,8 @@ import ( "fmt" "math/rand" + "github.com/filecoin-project/lotus/build" + "github.com/filecoin-project/go-state-types/network" "github.com/filecoin-project/lotus/chain/state" @@ -64,7 +66,7 @@ func SetupStorageMiners(ctx context.Context, cs *store.ChainStore, sroot cid.Cid } nwv := func(context.Context, abi.ChainEpoch) network.Version { - return network.Version1 + return build.NewestNetworkVersion } vmopt := &vm.VMOpts{