Use newest network version in genesiss setup stuff
This commit is contained in:
parent
0c6785521c
commit
b115330166
@ -407,7 +407,7 @@ func VerifyPreSealedData(ctx context.Context, cs *store.ChainStore, stateroot ci
|
|||||||
var sum abi.PaddedPieceSize
|
var sum abi.PaddedPieceSize
|
||||||
|
|
||||||
nwv := func(context.Context, abi.ChainEpoch) network.Version {
|
nwv := func(context.Context, abi.ChainEpoch) network.Version {
|
||||||
return network.Version1
|
return build.NewestNetworkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
vmopt := vm.VMOpts{
|
vmopt := vm.VMOpts{
|
||||||
|
@ -6,6 +6,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
|
||||||
|
"github.com/filecoin-project/lotus/build"
|
||||||
|
|
||||||
"github.com/filecoin-project/go-state-types/network"
|
"github.com/filecoin-project/go-state-types/network"
|
||||||
|
|
||||||
"github.com/filecoin-project/lotus/chain/state"
|
"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 {
|
nwv := func(context.Context, abi.ChainEpoch) network.Version {
|
||||||
return network.Version1
|
return build.NewestNetworkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
vmopt := &vm.VMOpts{
|
vmopt := &vm.VMOpts{
|
||||||
|
Loading…
Reference in New Issue
Block a user