fix TODO for proof type, now that we have the testing bundle
This commit is contained in:
parent
b60d795a5d
commit
5ceaeafa6e
@ -406,16 +406,8 @@ func (n *Ensemble) Start() *Ensemble {
|
|||||||
// this is a miner created after genesis, so it won't have a preseal.
|
// this is a miner created after genesis, so it won't have a preseal.
|
||||||
// we need to create it on chain.
|
// we need to create it on chain.
|
||||||
|
|
||||||
// we get the proof type for the requested sector size, for
|
proofType, err := miner.WindowPoStProofTypeFromSectorSize(m.options.sectorSize)
|
||||||
// the current network version.
|
require.NoError(n.t, err)
|
||||||
// nv, err := m.FullNode.FullNode.StateNetworkVersion(ctx, types.EmptyTSK)
|
|
||||||
// require.NoError(n.t, err)
|
|
||||||
|
|
||||||
// TODO this doesn't currently work with the FVM -- we need to specify policy somehow
|
|
||||||
// proofType, err := miner.WindowPoStProofTypeFromSectorSize(m.options.sectorSize)
|
|
||||||
// require.NoError(n.t, err)
|
|
||||||
// so do this instead, which works:
|
|
||||||
proofType := abi.RegisteredPoStProof_StackedDrgWindow64GiBV1
|
|
||||||
|
|
||||||
params, aerr := actors.SerializeParams(&power3.CreateMinerParams{
|
params, aerr := actors.SerializeParams(&power3.CreateMinerParams{
|
||||||
Owner: m.OwnerKey.Address,
|
Owner: m.OwnerKey.Address,
|
||||||
|
Loading…
Reference in New Issue
Block a user